/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
SubPanelListener.java | 4 package org.chromium.chrome.browser.infobar; 7 * A listener to interact with the different subpanels of the translate infobar. 13 * @param action one of the action types in {@code InfoBar}
|
AutoLoginProcessor.java | 5 package org.chromium.chrome.browser.infobar;
|
InfoBarListeners.java | 5 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... 17 void onInfoBarDismissed(InfoBar infoBar); 22 * Called whenever an infobar's confirm or cancel button is clicked. 25 ConfirmInfoBar infoBar, boolean confirm);
|
TranslateSubPanel.java | 5 package org.chromium.chrome.browser.infobar; 10 * Interface to group the different sub panels of the translate infobar.
|
InfoBarView.java | 5 package org.chromium.chrome.browser.infobar; 10 * Functions needed to display an InfoBar UI. 14 * Prepare the InfoBar for display and adding InfoBar-specific controls to the layout. 20 * Returns the message indicating what the InfoBar is informing or asking the user about.
|
/external/chromium/chrome/browser/ui/views/infobars/ |
infobar_container_view.h | 26 virtual void PlatformSpecificAddInfoBar(InfoBar* infobar) OVERRIDE; 27 virtual void PlatformSpecificRemoveInfoBar(InfoBar* infobar) OVERRIDE;
|
infobar_container.cc | 8 #include "chrome/browser/ui/views/infobars/infobar.h" 20 top_arrow_target_height_(InfoBar::kDefaultArrowTargetHeight) { 32 InfoBar* infobar = infobars_.front(); local 33 // NULL the container pointer first so that if the infobar is currently 36 // InfoBar::MaybeDelete() from calling RemoveInfoBar() a second time if the 37 // infobar happens to be at zero height (dunno if this can actually happen). 38 infobar->set_container(NULL); 39 RemoveInfoBar(infobar); 54 // OnInfoBarAnimated() for each infobar 71 InfoBar* infobar = *i; local 152 InfoBar* infobar = *i; local [all...] |
infobar_container_view.cc | 47 void InfoBarContainerView::PlatformSpecificAddInfoBar(InfoBar* infobar) { 48 AddChildView(static_cast<InfoBarView*>(infobar)); 51 void InfoBarContainerView::PlatformSpecificRemoveInfoBar(InfoBar* infobar) { 52 RemoveChildView(static_cast<InfoBarView*>(infobar));
|
infobar_container.h | 16 class InfoBar; 34 // 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 76 // will notify us back and cause us to close the InfoBar. This is called from 77 // the InfoBar's close button handler. 80 // Called by |infobar| to request that it be removed from the container, as it 81 // is about to delete itself. At this point, |infobar| should already b [all...] |
translate_infobar_base.cc | 22 InfoBar* TranslateInfoBarDelegate::CreateInfoBar() { 23 TranslateInfoBarBase* infobar = NULL; local 26 infobar = new BeforeTranslateInfoBar(this); 29 infobar = new AfterTranslateInfoBar(this); 33 infobar = new TranslateMessageInfoBar(this); 38 infobar_view_ = infobar; 39 return infobar;
|
/external/chromium/chrome/browser/translate/ |
translate_manager_browsertest.cc | 84 // Returns the translate infobar if there is 1 infobar and it is a translate 85 // infobar. 92 // If there is 1 infobar and it is a translate infobar, closes it and returns 95 InfoBarDelegate* infobar = GetTranslateInfoBar(); local 96 if (!infobar) 98 infobar->InfoBarDismissed(); // Simulates closing the infobar. 99 contents()->RemoveInfoBar(infobar); 128 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 285 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 353 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 390 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 489 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 512 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 684 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 713 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 756 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 813 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 941 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1012 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1099 TranslateInfoBarDelegate* infobar; local 1183 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local [all...] |
/external/chromium_org/chrome/browser/ui/android/infobars/ |
infobar_container_android.cc | 10 #include "chrome/browser/infobars/infobar.h" 37 void InfoBarContainerAndroid::PlatformSpecificAddInfoBar(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()); 73 InfoBar* old_infobar [all...] |
auto_login_infobar_delegate_android.cc | 11 #include "chrome/browser/infobars/infobar.h" 68 // Do not close the infobar on accept, it will be closed as part 86 if (!infobar()->owner()) 93 infobar()->RemoveSelf(); 102 if (!infobar()->owner()) 106 // infobar while we animate the current one closed. It would be better to use 109 infobar()->owner(), IDR_INFOBAR_WARNING, 111 infobar()->RemoveSelf(); 115 infobar()->RemoveSelf();
|
infobar_container_android.h | 42 virtual void PlatformSpecificAddInfoBar(InfoBar* infobar, 44 virtual void PlatformSpecificRemoveInfoBar(InfoBar* infobar) OVERRIDE; 45 virtual void PlatformSpecificReplaceInfoBar(InfoBar* old_infobar, 46 InfoBar* new_infobar) OVERRIDE; 52 // We're owned by the java infobar, need to use a weak ref so it can destroy
|
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
infobar_container_cocoa.h | 22 virtual void PlatformSpecificAddInfoBar(InfoBar* infobar, 24 virtual void PlatformSpecificRemoveInfoBar(InfoBar* infobar) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
infobar_container_view.h | 28 virtual void PlatformSpecificAddInfoBar(InfoBar* infobar, 30 virtual void PlatformSpecificRemoveInfoBar(InfoBar* infobar) OVERRIDE;
|
infobar_container_view.cc | 55 void InfoBarContainerView::PlatformSpecificAddInfoBar(InfoBar* infobar, 57 AddChildViewAt(static_cast<InfoBarView*>(infobar), 61 void InfoBarContainerView::PlatformSpecificRemoveInfoBar(InfoBar* infobar) { 62 RemoveChildView(static_cast<InfoBarView*>(infobar));
|
/external/chromium_org/chrome/browser/infobars/ |
infobar_service.cc | 8 #include "chrome/browser/infobars/infobar.h" 19 InfoBar* InfoBarService::AddInfoBar(scoped_ptr<InfoBar> infobar) { 20 DCHECK(infobar); 26 if ((*i)->delegate()->EqualsDelegate(infobar->delegate())) { 27 DCHECK_NE((*i)->delegate(), infobar->delegate()); 32 InfoBar* infobar_ptr = infobar.release(); 39 content::Details<InfoBar::AddedDetails>(infobar_ptr)) 98 InfoBar* infobar = infobars_[i - 1]; local [all...] |
infobar_container.cc | 13 #include "chrome/browser/infobars/infobar.h" 26 top_arrow_target_height_(InfoBar::kDefaultArrowTargetHeight) { 49 // OnInfoBarAnimated() for each infobar. 65 InfoBar* infobar = *i; local 66 next_infobar_y -= infobar->arrow_height(); 68 next_infobar_y += infobar->total_height(); 78 // line height, because the infobar arrow target heights are without-stroke. 80 std::max(height - InfoBar::kSeparatorLineHeight, 0), 81 InfoBar::kMaximumArrowTargetHeight) 152 InfoBar* infobar = infobars_.front(); local [all...] |
infobar_container.h | 16 class InfoBar; 33 // 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); [all...] |
/external/chromium_org/chrome/browser/translate/ |
translate_manager_browsertest.cc | 17 #include "chrome/browser/infobars/infobar.h" 151 // Returns the translate infobar if there is 1 infobar and it is a translate 152 // infobar. 159 // If there is 1 infobar and it is a translate infobar, closes it and returns 162 InfoBarDelegate* infobar = GetTranslateInfoBar(); local 163 if (!infobar) 165 infobar->InfoBarDismissed(); // Simulates closing the infobar 185 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 424 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 503 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 542 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 608 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 731 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 890 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 917 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 951 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1051 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1181 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1254 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1341 TranslateInfoBarDelegate* infobar; local 1428 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1479 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1521 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local 1565 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local [all...] |
/external/chromium_org/chrome/browser/ui/gtk/infobars/ |
infobar_container_gtk.h | 15 class InfoBar; 29 // drawing of infobar arrows on other widgets. 49 // the InfoBar's close button handler. 59 // Paints parts of infobars that aren't inside the infobar's widget. This 61 // toolbars. All infobars starting from |infobar| (NULL for the first) to the 65 InfoBarGtk* infobar); 69 virtual void PlatformSpecificAddInfoBar(InfoBar* infobar, 71 virtual void PlatformSpecificRemoveInfoBar(InfoBar* infobar) OVERRIDE [all...] |
/external/chromium/chrome/browser/ui/gtk/infobars/ |
infobar_container_gtk.cc | 28 // If |infobar_widget| matches |info_bar_delegate|, then close the infobar. 33 InfoBar* infobar = reinterpret_cast<InfoBar*>( local 36 if (!infobar) { 41 if (delegate == infobar->delegate()) 42 infobar->AnimateClose(); 45 // If |infobar_widget| matches |info_bar_delegate|, then close the infobar w/o 50 InfoBar* infobar = reinterpret_cast<InfoBar*> local 66 InfoBar* infobar = reinterpret_cast<InfoBar*>( local 179 InfoBar* infobar = delegate->CreateInfoBar(); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/ |
background.js | 6 * Handles requests sent by the content script. Shows an infobar. 10 // infobar. 11 var url = "infobar.html#" + request.count; 13 // Show the infobar on the tab where the request was sent.
|
/external/chromium_org/chrome/browser/media/ |
webrtc_browsertest_base.cc | 10 #include "chrome/browser/infobars/infobar.h" 80 InfoBar* infobar = GetUserMediaAndWaitForInfoBar(tab_contents, constraints); local 81 infobar->delegate()->AsConfirmInfoBarDelegate()->Accept(); 82 CloseInfoBarInTab(tab_contents, infobar); 98 InfoBar* infobar = GetUserMediaAndWaitForInfoBar(tab_contents, constraints); local 99 infobar->delegate()->AsConfirmInfoBarDelegate()->Cancel(); 100 CloseInfoBarInTab(tab_contents, infobar); 109 InfoBar* infobar local 172 InfoBar* infobar = details.ptr(); local [all...] |