/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ |
TranslateUtil.java | 14 import org.chromium.chrome.browser.infobar.InfoBar; 28 InfoBar infoBar) { 29 View view = infoBar.getContentWrapper().findViewById(R.id.infobar_message); 57 return verifyInfoBarText(infoBar, 61 public static boolean verifyInfoBarText(InfoBar infoBar, String text) { 62 View view = infoBar.getContentWrapper().findViewById(R.id.infobar_message);
|
/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...] |
translate_infobar_delegate.h | 50 // Factory method to create a translate infobar. |error_type| must be 51 // specified iff |infobar_type| == TRANSLATION_ERROR. For other infobar 59 // If |replace_existing_infobar| is true, the infobar is created and added to 60 // the infobar service for |web_contents|, replacing any other translate 61 // infobar already present there. Otherwise, the infobar will only be added 62 // if there is no other translate infobar already present. 107 // Returns true if the current infobar indicates an error (in which case it 111 // Returns what kind of background fading effect the infobar should use when 122 // infobar or pressing the "Don't translate" button [all...] |
/external/chromium_org/chrome/browser/custom_handlers/ |
register_protocol_handler_infobar_delegate.h | 15 // An InfoBar delegate that enables the user to allow or deny storing credit 19 // Creates a new register protocol handler infobar and delegate. Searches 20 // |infobar_service| for an existing infobar for the same |handler|; replaces 21 // it with the new infobar if found, otherwise adds the new infobar to
|
/external/chromium_org/chrome/browser/google/ |
google_url_tracker_infobar_delegate.h | 13 // This infobar is shown by the GoogleURLTracker when the Google base URL has 17 // Creates a Google URL tracker infobar and delegate and adds the infobar to 18 // |infobar_service|. Returns the infobar if it was successfully added. 19 static InfoBar* Create(InfoBarService* infobar_service,
|
/external/chromium_org/chrome/browser/infobars/ |
insecure_content_infobar_delegate.h | 19 // Depending on the |type| requested and whether an insecure content infobar 21 // an insecure content infobar and delegate and either adds the infobar to 22 // |infobar_service| or replaces the existing infobar. 27 DISPLAY_INFOBAR_SHOWN = 0, // Infobar was displayed.
|
/external/chromium_org/chrome/browser/plugins/ |
plugin_infobar_delegates.h | 47 // Infobar that's shown when a plug-in requires user authorization to run. 50 // Creates an unauthorized plugin infobar and delegate and adds the infobar to 79 // Infobar that's shown when a plug-in is out of date. 83 // Creates an outdated plugin infobar and delegate and adds the infobar to 113 // Replaces this infobar with one showing |message|. The new infobar will 124 // The main purpose for this class is to popup/close the infobar when there is 131 // Shows an infobar asking whether to install the plugin represented b [all...] |
/external/chromium_org/chrome/browser/ui/omnibox/ |
alternate_nav_infobar_delegate.h | 16 // Creates an alternate nav infobar and delegate and adds the infobar to the 17 // infobar service for |web_contents|. 33 // Returns an alternate nav infobar that owns |delegate|. 34 static scoped_ptr<InfoBar> CreateInfoBar(
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
extension_infobar_controller.h | 25 // The window containing this InfoBar. Weak. 28 // The InfoBar's button with the Extension's icon that launches the context 35 // Helper class to bridge C++ and ObjC functionality together for the infobar.
|
/external/chromium_org/chrome/browser/nacl_host/ |
nacl_infobar_delegate.h | 12 // Creates a NaCl infobar and delegate and adds the infobar to the infobar
|
/external/chromium_org/chrome/browser/ui/startup/ |
google_api_keys_infobar_delegate.h | 15 // An infobar that is run with a string and a "Learn More" link. 18 // If Google API keys are missing, creates a missing Google API Keys infobar 19 // and delegate and adds the infobar to |infobar_service|.
|
obsolete_os_infobar_delegate.h | 15 // An infobar that displays a message saying the system is obsolete, along with 19 // Creates an obsolete OS infobar and delegate and adds the infobar to
|
session_crashed_infobar_delegate.h | 13 // A delegate for the InfoBar shown when the previous session has crashed. 16 // If |browser| is not incognito, creates a session crashed infobar and 17 // delegate and adds the infobar to the InfoBarService for |browser|.
|
/external/chromium_org/chrome/browser/autofill/ |
autofill_cc_infobar_delegate.h | 26 // An InfoBar delegate that enables the user to allow or deny storing credit 30 // Creates an autofill credit card infobar and delegate and adds the infobar 66 // Weak reference. Owned by the AutofillManager that initiated this infobar. 69 // The callback to save credit card if the user accepts the infobar. 72 // Did the user ever explicitly accept or dismiss this infobar?
|
/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...] |
/external/chromium_org/chrome/browser/ui/views/infobars/ |
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/chrome/browser/tab_contents/ |
infobar_delegate.h | 16 class InfoBar; 23 // An interface implemented by objects wishing to control an InfoBar. 24 // Implementing this interface is not sufficient to use an InfoBar, since it 25 // does not map to a specific InfoBar type. Instead, you must implement either 27 // delegate for your own InfoBar variety. 33 // you need to consider the fact that more than one InfoBar instance can exist 35 // ever fully show one infobar (they don't stack). The dual-references occur 36 // because a second InfoBar can be added while the first one is in the process 40 // fatal consequences for the InfoBar that was in the process of opening (or is 47 // The type of the infobar. It controls its appearance, such as its backgroun [all...] |
/external/chromium/chrome/browser/ui/gtk/infobars/ |
infobar_container_gtk.h | 14 class InfoBar; 36 // the InfoBar's close button handler. 55 // toolbar or on the next infobar up). 58 // Adds an InfoBar for the specified delegate, in response to a notification 62 // Removes an InfoBar for the specified delegate, in response to a 63 // notification from the selected TabContents. The InfoBar's disappearance 69 void UpdateToolbarInfoBarState(InfoBar* infobar, bool animate);
|
link_infobar_gtk.h | 15 // An infobar that shows a string with an embedded link. 16 class LinkInfoBarGtk : public InfoBar {
|
translate_infobar_base_gtk.cc | 34 : InfoBar(delegate) { 73 InfoBar::GetTopColor(InfoBarDelegate::PAGE_ACTION_TYPE, r, g, b); 75 InfoBar::GetTopColor(InfoBarDelegate::WARNING_TYPE, r, g, b); 78 InfoBar::GetTopColor(InfoBarDelegate::PAGE_ACTION_TYPE, 82 InfoBar::GetTopColor(InfoBarDelegate::WARNING_TYPE, 98 InfoBar::GetBottomColor(InfoBarDelegate::PAGE_ACTION_TYPE, r, g, b); 100 InfoBar::GetBottomColor(InfoBarDelegate::WARNING_TYPE, r, g, b); 103 InfoBar::GetBottomColor(InfoBarDelegate::PAGE_ACTION_TYPE, 107 InfoBar::GetBottomColor(InfoBarDelegate::WARNING_TYPE, 221 InfoBar* TranslateInfoBarDelegate::CreateInfoBar() 222 TranslateInfoBarBase* infobar = NULL; local [all...] |
/external/chromium/chrome/browser/ui/views/infobars/ |
infobar.cc | 5 #include "chrome/browser/ui/views/infobars/infobar.h" 13 InfoBar::InfoBar(InfoBarDelegate* delegate) 26 InfoBar::~InfoBar() { 29 void InfoBar::Show(bool animate) { 38 void InfoBar::Hide(bool animate) { 48 void InfoBar::SetArrowTargetHeight(int height) { 58 void InfoBar::AnimationProgressed(const ui::Animation* animation) { 62 void InfoBar::RemoveInfoBar() [all...] |
infobar_view.h | 10 #include "chrome/browser/ui/views/infobars/infobar.h" 30 class InfoBarView : public InfoBar, 46 // Creates a label with the appropriate font and color for an infobar. 49 // Creates a link with the appropriate font and color for an infobar. 54 // Creates a menu button with an infobar-specific appearance. 60 // Creates a text button with an infobar-specific appearance. 91 // InfoBar: 113 // The optional icon at the left edge of the InfoBar. 116 // The close button at the right edge of the InfoBar. 119 // Tracks and stores the last focused view which is not the InfoBar or any o [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_infobar_delegate.h | 28 // Creates an extension infobar and delegate and adds the infobar to the 29 // infobar service for |web_contents|. 51 // Returns an extension infobar that owns |delegate|. 52 static scoped_ptr<InfoBar> CreateInfoBar( 70 // The extension host we are showing the InfoBar for. 71 // TODO(pkasting): Should this live on the InfoBar instead? 77 // The requested height of the infobar (in pixels).
|
/external/chromium_org/chrome/test/functional/ |
infobars.py | 52 """Verify the "plugin crashed" infobar.""" 69 # Dismiss the infobar 74 """Verify geolocation infobar properties. 76 Assumes that geolocation infobar is showing up in the given tab in the 91 """Verify geoLocation infobar.""" 96 # Accept, and verify that the infobar went away 125 for infobar in infobars: 126 if (('text' in infobar) and 127 infobar['text'].startswith('Shockwave Flash has crashed')): 132 """Verify plugin crash infobar shows up only on the tabs using plugin."" [all...] |
/external/chromium/chrome/browser/translate/ |
translate_infobar_delegate.h | 38 // Factory method to create a non-error translate infobar. 49 // Factory method to create an error translate infobar. 80 // Called by the InfoBar to notify that the original/target language has 85 // Returns true if the current infobar indicates an error (in which case it 89 // Returns what kind of background fading effect the infobar should use when 100 // infobar or pressing the "Don't translate" button. 112 // translate" infobar (when the user has accepted/declined the translation 117 // The following methods are called by the infobar that displays the status 124 // Called by the before translate infobar to figure-out if it should show 130 // Sets this infobar background animation based on the previous infobar shown [all...] |