/external/chromium/chrome/browser/ui/gtk/infobars/ |
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_org/chrome/browser/plugins/ |
plugin_infobar_delegates.cc | 11 #include "chrome/browser/infobars/infobar.h" 290 infobar()->RemoveSelf(); 297 // keep replacing infobar delegates infinitely). 298 if ((message_ == message) || !infobar()->owner()) 301 infobar(), installer(), plugin_metadata_->Clone(), false, message); 332 InfoBar* infobar, 337 DCHECK(infobar->owner()); 338 infobar->owner()->ReplaceInfoBar(infobar, [all...] |
/external/chromium_org/chrome/browser/translate/ |
translate_infobar_delegate.cc | 13 #include "chrome/browser/infobars/infobar.h" 49 // infobar, which is the case when the user started a translation from the 56 // Do not create the after translate infobar if we are auto translating. 66 // Find any existing translate infobar delegate. 67 InfoBar* old_infobar = NULL; 82 scoped_ptr<InfoBar> infobar(CreateInfoBar( 87 infobar_service->ReplaceInfoBar(old_infobar, infobar.Pass()); 89 infobar_service->AddInfoBar(infobar.Pass()); 109 infobar()->RemoveSelf() [all...] |
/external/chromium/chrome/browser/translate/ |
translate_manager.cc | 224 // infobar if the user already dismissed one in that case. 235 // current infobars. Since InitTranslation might add an infobar, it must 263 // Only add translate infobar if it doesn't exist; if it already exists, 264 // just update the state, the actual infobar would have received the same 387 // If there is already a translate infobar showing, don't show another one. 411 // feature; the user will get an infobar, so they can control whether the 459 TranslateInfoBarDelegate* infobar = TranslateInfoBarDelegate::CreateDelegate( local 462 if (!infobar) { 464 // not happen as we won't show a translate infobar or have the translate 469 ShowInfoBar(tab_contents, infobar); 558 TranslateInfoBarDelegate* infobar; local [all...] |
translate_manager.h | 55 // under options in the translate infobar. 80 // Convenience method to know if a tab is showing a translate infobar. 130 // Shows the after translate or error infobar depending on the details. 145 // Shows the specified translate |infobar| in the given |tab|. If a current 146 // translate infobar is showing, it just replaces it with the new one. 147 void ShowInfoBar(TabContents* tab, TranslateInfoBarDelegate* infobar);
|
/external/chromium_org/chrome/browser/content_settings/ |
permission_queue_controller.cc | 11 #include "chrome/browser/infobars/infobar.h" 54 InfoBar* infobar() { return infobar_; } function in class:PermissionQueueController::PendingInfoBarRequest 66 InfoBar* infobar_; 171 GetInfoBarService(id)->RemoveInfoBar(i->infobar()); 199 // The infobar that called us is i->infobar(), and its delegate is 205 // This infobar is for the same frame/embedder pair, but in a different 210 // We haven't created an infobar yet, just remove the pending request. 221 GetInfoBarService(i->id())->RemoveInfoBar(i->infobar()); 243 InfoBar* infobar = content::Details<InfoBar::RemovedDetails>(details)->first; local [all...] |
/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...] |
test_utils.py | 334 """Returns the index of the infobar of the given type. 338 infobar_type: The infobar type to look for. 343 Index of infobar for infobar type, or None if not found. 348 for infobar in infobar_list: 349 if infobar_type == infobar['type']: 350 return infobar_list.index(infobar) 354 """Wait for infobar type to appear and returns its index. 356 If the infobar never appears, an exception will be raised. 360 infobar_type: The infobar type to look for [all...] |
/external/chromium/chrome/browser/autofill/ |
autofill_browsertest.cc | 439 TranslateInfoBarDelegate* infobar = browser()->GetSelectedTabContents()-> local 442 ASSERT_TRUE(infobar != NULL); 443 EXPECT_EQ(TranslateInfoBarDelegate::BEFORE_TRANSLATE, infobar->type()); 446 infobar->Translate();
|
autofill_metrics_unittest.cc | 859 AutofillCCInfoBarDelegate* infobar; local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
TranslateAlwaysPanel.java | 4 package org.chromium.chrome.browser.infobar; 12 * Options panel shown in the after translate infobar. 40 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE); 42 mListener.onPanelClosed(InfoBar.ACTION_TYPE_TRANSLATE_SHOW_ORIGINAL);
|
TranslateNeverPanel.java | 4 package org.chromium.chrome.browser.infobar; 12 * Never panel shown in the translate infobar 45 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE);
|
AutoLoginAccountDelegate.java | 5 package org.chromium.chrome.browser.infobar; 46 Log.i("InfoBar", "auto-login failed because account is no longer valid");
|
AutoLoginDelegate.java | 5 package org.chromium.chrome.browser.infobar; 79 long infoBar = mAccountHelper.first; 82 nativeLoginDismiss(infoBar); 88 nativeLoginSuccess(infoBar, result); 90 nativeLoginFailed(infoBar);
|
ConfirmInfoBar.java | 5 package org.chromium.chrome.browser.infobar; 15 * An infobar that presents the user with 2 buttons (typically OK, Cancel). 61 // Construct text to be displayed on the infobar. 98 int action = isPrimaryButton ? InfoBar.ACTION_TYPE_OK : InfoBar.ACTION_TYPE_CANCEL;
|
/external/chromium_org/chrome/browser/geolocation/ |
chrome_geolocation_permission_context_unittest.cc | 21 #include "chrome/browser/infobars/infobar.h" 59 bool Contains(InfoBar* infobar) const; 65 std::set<InfoBar*> removed_infobars_; 82 content::Details<InfoBar::RemovedDetails>(details)->first); 85 bool ClosedInfoBarTracker::Contains(InfoBar* infobar) const { 86 return removed_infobars_.count(infobar) != 0; 261 InfoBar* infobar = infobar_service()->infobar_at(0) local 408 InfoBar* infobar = infobar_service()->infobar_at(0); local 434 InfoBar* infobar = infobar_service()->infobar_at(0); local 640 InfoBar* infobar = infobar_service()->infobar_at(0); local [all...] |
/external/chromium_org/chrome/browser/media/ |
webrtc_browsertest_base.h | 12 class InfoBar; 67 InfoBar* infobar) const; 68 InfoBar* GetUserMediaAndWaitForInfoBar(content::WebContents* tab_contents,
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ |
InfoBarUtil.java | 11 import org.chromium.chrome.browser.infobar.InfoBar; 19 * Finds, and optionally clicks, the button with the specified ID in the given InfoBar. 23 InfoBar infoBar, int buttonId, boolean click) { 24 View button = infoBar.getContentWrapper().findViewById(buttonId); 31 * Checks if the primary button exists on the InfoBar. 35 InfoBar infoBar) { 36 return findButton(test, infoBar, R.id.button_primary, false) [all...] |
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/google/ |
google_url_tracker_unittest.cc | 16 #include "chrome/browser/infobars/infobar.h" 34 // Creates a test infobar and delegate and returns the infobar. Unlike the 35 // parent class, this does not add the infobar to |infobar_service|, since 40 static InfoBar* Create(GoogleURLTrackerTest* test_harness, 202 void OnInfoBarClosed(scoped_ptr<InfoBar> infobar, 240 // object, we don't add the created infobar to it. Instead we will simulate 241 // any helper<->infobar interaction necessary. The returned object will be 243 InfoBar* CreateTestInfoBar(InfoBarService* infobar_service 777 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local 795 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local 813 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local [all...] |
google_url_tracker.cc | 16 #include "chrome/browser/infobars/infobar.h" 292 // Whether there's an existing infobar or not, we need to listen for the 293 // load to commit, so we can show and/or update the infobar when it does. 294 // (We may already be registered for this if there is an existing infobar 304 // yet have an infobar and we're already registered for this, or it has an 305 // infobar and the infobar's owner will handle tearing it down when the 313 // This is a new search on a tab where we already have an infobar. 318 // This is a non-search navigation on a tab with an infobar. If there was 324 // If this navigation actually commits, that will trigger the infobar' 352 InfoBar* infobar = infobar_creator_.Run(infobar_service, this, search_url); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/styles/ |
main.css | 132 /*** infobar ***/ 134 .infobar { 145 .infobar .status a { 149 .infobar .status ul { 157 .infobar .status li {
|
/external/chromium/chrome/browser/google/ |
google_url_tracker.cc | 32 InfoBarDelegate* infobar = new GoogleURLTrackerInfoBarDelegate(tab_contents, local 34 tab_contents->AddInfoBar(infobar); 35 return infobar;
|
/external/chromium_org/chrome/browser/ssl/ |
ssl_tab_helper.cc | 19 #include "chrome/browser/infobars/infobar.h" 45 // Creates an SSL cert result infobar and delegate. If |previous_infobar| is 46 // NULL, adds the infobar to |infobar_service|; otherwise, replaces 47 // |previous_infobar|. Returns the new infobar if it was successfully added. 49 static InfoBar* Create(InfoBarService* infobar_service, 50 InfoBar* previous_infobar, 74 InfoBar* SSLCertResultInfoBarDelegate::Create(InfoBarService* infobar_service, 75 InfoBar* previous_infobar, 78 scoped_ptr<InfoBar> infobar(ConfirmInfoBarDelegate::CreateInfoBar [all...] |
/external/chromium_org/chrome/browser/extensions/api/debugger/ |
debugger_api.cc | 29 #include "chrome/browser/infobars/infobar.h" 81 InfoBar* infobar); 116 InfoBar* infobar_; 144 // Creates an extension dev tools infobar and delegate and adds the infobar to 145 // the InfoBarService associated with |rvh|. Returns the infobar if it was 147 static InfoBar* Create(RenderViewHost* rvh, const std::string& client_name); 173 InfoBar* ExtensionDevToolsInfoBarDelegate::Create( 298 InfoBar* infobar 566 InfoBar* infobar = NULL; local [all...] |