Searched refs:infobar (Results 1 - 25 of 110) sorted by relevance

12345

/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
H A DSubPanelListener.java4 package org.chromium.chrome.browser.infobar;
7 * A listener to interact with the different subpanels of the translate infobar.
H A DAutoLoginProcessor.java5 package org.chromium.chrome.browser.infobar;
H A DInfoBarListeners.java5 package org.chromium.chrome.browser.infobar;
8 * A collection of listeners for different infobar events.
13 * Called whenever an infobar is dismissed, either manually or as a side
14 * effect of a navigation, replacing the infobar...
22 * Called whenever an infobar's confirm or cancel button is clicked.
H A DInfoBarView.java5 package org.chromium.chrome.browser.infobar;
H A DTranslateSubPanel.java5 package org.chromium.chrome.browser.infobar;
10 * Interface to group the different sub panels of the translate infobar.
H A DMessageInfoBar.java5 package org.chromium.chrome.browser.infobar;
9 * A simple infobar that contains a message and a close icon on the right side.
18 * Creates an infobar with a message and a close button.
19 * @param title the text displayed in the infobar
26 * Creates an infobar with an icon, a message and a close button.
27 * @param listener A listener to be notified when the infobar is dismissed, or null.
28 * @param iconResourceId The icon to display in the infobar, or 0 if no icon should be shown.
29 * @param title The text to display in the infobar.
/external/chromium_org/components/infobars/core/
H A Dinfobar_manager.cc8 #include "components/infobars/core/infobar.h"
16 void InfoBarManager::Observer::OnInfoBarAdded(InfoBar* infobar) { argument
19 void InfoBarManager::Observer::OnInfoBarRemoved(InfoBar* infobar, argument
33 InfoBar* InfoBarManager::AddInfoBar(scoped_ptr<InfoBar> infobar) { argument
34 DCHECK(infobar);
40 if ((*i)->delegate()->EqualsDelegate(infobar->delegate())) {
41 DCHECK_NE((*i)->delegate(), infobar->delegate());
46 InfoBar* infobar_ptr = infobar.release();
55 void InfoBarManager::RemoveInfoBar(InfoBar* infobar) { argument
56 RemoveInfoBarInternal(infobar, tru
120 InfoBar* infobar = infobars_[i - 1]; local
126 NotifyInfoBarAdded(InfoBar* infobar) argument
130 NotifyInfoBarRemoved(InfoBar* infobar, bool animate) argument
135 RemoveInfoBarInternal(InfoBar* infobar, bool animate) argument
[all...]
H A Dinfobar_container.cc11 #include "components/infobars/core/infobar.h"
39 InfoBar* infobar = infobars_.front(); local
40 // Inform the infobar that it's hidden. If it was already closing, this
41 // deletes it. Otherwise, this ensures the infobar will be deleted if it's
43 infobar->Hide(false);
52 // OnInfoBarStateChanged() for each infobar.
69 InfoBar* infobar = *i; local
70 next_infobar_y -= infobar->arrow_height();
72 next_infobar_y += infobar->total_height();
82 // line height, because the infobar arro
96 RemoveInfoBar(InfoBar* infobar) argument
114 OnInfoBarAdded(InfoBar* infobar) argument
118 OnInfoBarRemoved(InfoBar* infobar, bool animate) argument
140 AddInfoBar(InfoBar* infobar, size_t position, bool animate, CallbackStatus callback_status) argument
[all...]
H A Dinfobar_manager.h26 // Observer class for infobar events.
29 virtual void OnInfoBarAdded(InfoBar* infobar);
30 virtual void OnInfoBarRemoved(InfoBar* infobar, bool animate);
44 // Adds the specified |infobar|, which already owns a delegate.
46 // If infobars are disabled for this tab or the tab already has an infobar
48 // InfoBarDelegate::EqualsDelegate(infobar->delegate()), |infobar| is deleted
51 // Returns the infobar if it was successfully added.
52 InfoBar* AddInfoBar(scoped_ptr<InfoBar> infobar);
54 // Removes the specified |infobar|
[all...]
H A Dinfobar_container.h33 // The delegate is notified each time the infobar container changes height,
59 // Called by the delegate when the distance between what the top infobar's
60 // "unspoofable" arrow would point to and the top infobar itself changes.
61 // This enables the top infobar to show a longer arrow (e.g. because of a
70 // Called when a contained infobar has animated or by some other means changed
75 // Called by |infobar| to request that it be removed from the container. At
76 // this point, |infobar| should already be hidden.
77 void RemoveInfoBar(InfoBar* infobar);
89 // once during an infobar's life (see comments on RemoveInfoBar() and
91 virtual void PlatformSpecificAddInfoBar(InfoBar* infobar,
[all...]
/external/chromium_org/chrome/browser/translate/
H A Dtranslate_manager_render_view_host_unittest.cc30 #include "components/infobars/core/infobar.h"
153 // Returns the translate infobar if there is 1 infobar and it is a translate
154 // infobar.
162 // If there is 1 infobar and it is a translate infobar, closes it and returns
165 infobars::InfoBarDelegate* infobar = GetTranslateInfoBar(); local
166 if (!infobar)
168 infobar->InfoBarDismissed(); // Simulates closing the infobar
189 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
416 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
499 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
541 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
615 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
748 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
941 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
972 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1014 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1124 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1280 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1357 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1448 translate::TranslateInfoBarDelegate* infobar; local
1540 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1588 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1631 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1674 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
[all...]
/external/chromium_org/chrome/browser/autofill/
H A Dautofill_cc_infobar_delegate_unittest.cc106 // Test that credit card infobar metrics are logged correctly.
111 // Accept the infobar.
113 scoped_ptr<ConfirmInfoBarDelegate> infobar(CreateDelegate(&metric_logger));
114 ASSERT_TRUE(infobar);
122 EXPECT_TRUE(infobar->Accept());
125 // Cancel the infobar.
127 scoped_ptr<ConfirmInfoBarDelegate> infobar(CreateDelegate(&metric_logger));
128 ASSERT_TRUE(infobar);
135 EXPECT_TRUE(infobar->Cancel());
138 // Dismiss the infobar
[all...]
/external/chromium_org/chrome/browser/ui/android/infobars/
H A Dinfobar_container_android.cc13 #include "components/infobars/core/infobar.h"
37 infobars::InfoBar* infobar,
39 DCHECK(infobar);
40 InfoBarAndroid* android_bar = static_cast<InfoBarAndroid*>(infobar);
45 NOTIMPLEMENTED() << "CLANK: infobar type "
46 << infobar->delegate()->GetInfoBarType();
50 if (infobar->delegate()->AsAutoLoginInfoBarDelegate()) {
53 infobar->delegate()->AsAutoLoginInfoBarDelegate());
80 infobars::InfoBar* infobar) {
81 InfoBarAndroid* android_infobar = static_cast<InfoBarAndroid*>(infobar);
36 PlatformSpecificAddInfoBar( infobars::InfoBar* infobar, size_t position) argument
79 PlatformSpecificRemoveInfoBar( infobars::InfoBar* infobar) argument
[all...]
H A Dauto_login_infobar_delegate_android.cc15 #include "components/infobars/core/infobar.h"
69 // Do not close the infobar on accept, it will be closed as part
89 if (!infobar()->owner())
95 InfoBarService::WebContentsFromInfoBar(infobar());
97 infobar()->RemoveSelf();
106 if (!infobar()->owner())
110 // infobar while we animate the current one closed. It would be better to use
113 InfoBarService::WebContentsFromInfoBar(infobar()));
118 infobar()->RemoveSelf();
122 infobar()
[all...]
H A Dinfobar_container_android.h42 virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
44 virtual void PlatformSpecificRemoveInfoBar(infobars::InfoBar* infobar)
54 // We're owned by the java infobar, need to use a weak ref so it can destroy
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DsourcesView.css100 .source-frame-infobar {
108 .source-frame-infobar-info {
112 .source-frame-infobar-warning,
113 .source-frame-infobar-error {
117 .source-frame-infobar {
119 -webkit-animation: source-frame-infobar-reveal 0.1s;
122 @-webkit-keyframes source-frame-infobar-reveal {
127 .source-frame-infobar-icon {
137 .source-frame-infobar-info .source-frame-infobar
[all...]
/external/chromium_org/chrome/browser/infobars/
H A Dinfobar_service.cc11 #include "components/infobars/core/infobar.h"
53 content::WebContents* InfoBarService::WebContentsFromInfoBar(InfoBar* infobar) { argument
54 if (!infobar || !infobar->owner())
57 static_cast<InfoBarService*>(infobar->owner());
77 void InfoBarService::NotifyInfoBarAdded(InfoBar* infobar) { argument
78 InfoBarManager::NotifyInfoBarAdded(infobar);
84 content::Details<InfoBar::AddedDetails>(infobar));
87 void InfoBarService::NotifyInfoBarRemoved(InfoBar* infobar, bool animate) { argument
88 InfoBarManager::NotifyInfoBarRemoved(infobar, animat
[all...]
H A Dinfobar_service.h25 // It manages the infobar notifications and responds to navigation events.
38 infobars::InfoBar* infobar);
56 // TODO(droger): Remove these functions once infobar notifications are
58 virtual void NotifyInfoBarAdded(infobars::InfoBar* infobar) OVERRIDE;
59 virtual void NotifyInfoBarRemoved(infobars::InfoBar* infobar,
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
H A Dinfobar_container_cocoa.h22 virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
25 infobars::InfoBar* infobar) OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/infobars/
H A Dinfobar_container_view.h28 virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
31 infobars::InfoBar* infobar) OVERRIDE;
H A Dinfobar_container_view.cc56 infobars::InfoBar* infobar,
58 AddChildViewAt(static_cast<InfoBarView*>(infobar),
63 infobars::InfoBar* infobar) {
64 RemoveChildView(static_cast<InfoBarView*>(infobar));
55 PlatformSpecificAddInfoBar( infobars::InfoBar* infobar, size_t position) argument
62 PlatformSpecificRemoveInfoBar( infobars::InfoBar* infobar) argument
/external/chromium_org/ui/accessibility/extensions/alt/
H A Dhide-images.css48 body[show-alt] .show-alt-infobar {
58 body:not([show-alt]) .show-alt-infobar {
68 .show-alt-infobar {
85 .show-alt-infobar .content {
89 .show-alt-infobar span {
93 .show-alt-infobar button.link-button {
109 .show-alt-infobar button.link-button:hover,
110 .show-alt-infobar button.link-button:focus {
116 .show-alt-infobar .controls {
122 .show-alt-infobar
[all...]
/external/chromium_org/components/google/core/browser/
H A Dgoogle_url_tracker_map_entry.cc8 #include "components/infobars/core/infobar.h"
31 // Transfer ownership of |navigation_helper_| to the infobar delegate as the
32 // infobar delegate has need of it after this object has been destroyed in
51 void GoogleURLTrackerMapEntry::OnInfoBarRemoved(infobars::InfoBar* infobar, argument
54 if (infobar->delegate() == infobar_delegate_) {
/external/chromium_org/chrome/browser/ui/android/content_settings/
H A Dpopup_blocked_infobar_delegate.cc15 #include "components/infobars/core/infobar.h"
26 scoped_ptr<infobars::InfoBar> infobar(ConfirmInfoBarDelegate::CreateInfoBar(
32 // See if there is an existing popup infobar already.
33 // TODO(dfalcantara) When triggering more than one popup the infobar
35 // This will be fixed once we have an in place replace infobar mechanism.
39 infobar_service->ReplaceInfoBar(existing_infobar, infobar.Pass());
44 infobar_service->AddInfoBar(infobar.Pass());
97 InfoBarService::WebContentsFromInfoBar(infobar());
/external/chromium_org/chrome/browser/ui/
H A Dhung_plugin_tab_helper.cc19 #include "components/infobars/core/infobar.h"
132 // Creates a hung plugin infobar and delegate and adds the infobar to
133 // |infobar_service|. Returns the infobar if it was successfully added.
214 // not we're currently showing the infobar.
223 // Possibly-null if we're not showing an infobar right now.
224 infobars::InfoBar* infobar; member in struct:HungPluginTabHelper::PluginState
226 // Time to delay before re-showing the infobar for a hung plugin. This is
230 // Handles calling the helper when the infobar should be re-shown.
249 infobar(NUL
328 infobars::InfoBar* infobar = local
[all...]

Completed in 603 milliseconds

12345