/external/chromium_org/chrome/browser/custom_handlers/ |
register_protocol_handler_infobar_delegate.cc | 24 scoped_ptr<InfoBarDelegate> infobar( 34 infobar_service->ReplaceInfoBar(existing_delegate, infobar.Pass()); 39 infobar_service->AddInfoBar(infobar.Pass());
|
/external/chromium_org/chrome/browser/media/ |
media_stream_infobar_delegate.cc | 46 scoped_ptr<InfoBarDelegate> infobar( 52 infobar_service->ReplaceInfoBar(old_infobar, infobar.Pass()); 56 infobar_service->AddInfoBar(infobar.Pass()); 70 // Deny the request if the infobar was closed with the 'x' button, since
|
webrtc_browsertest_base.h | 50 MediaStreamInfoBarDelegate* infobar);
|
/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);
|
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/ui/views/infobars/ |
translate_language_menu_model.h | 17 // infobar. This menu has only one level (no submenus). 28 TranslateInfoBarBase* infobar,
|
/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" 51 InfoBarDelegate* infobar() { return infobar_; } function in class:PermissionQueueController::PendingInfoBarRequest 161 GetInfoBarService(id)->RemoveInfoBar(i->infobar()); 189 // The infobar that called us is i->infobar(), and it's currently in 195 // This infobar is for the same frame/embedder pair, but in a different 200 // We haven't created an infobar yet, just remove the pending request. 211 GetInfoBarService(i->id())->RemoveInfoBar(i->infobar()); 224 // We will receive this notification for all infobar closures, so we need to 225 // check whether this is the geolocation infobar we're tracking. Note that th 233 InfoBarDelegate* infobar = 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...] |
netflix.py | 83 for infobar in infobars: 84 if 'netflix' in infobar['text']: 85 # After storage infobar pops up, clicking the Ok button immediately 118 self._pyauto._HandleInfobars(err_msg='Netflix infobar did not show up') 172 self._HandleInfobars(err_msg='Netflix plugin access infobar did not show up') 179 self._HandleInfobars(err_msg='Netflix plugin access infobar did not show up') 189 self._HandleInfobars(err_msg='Netflix plugin access infobar did not show up')
|
/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/browser/ui/cocoa/infobars/ |
infobar_container_controller.h | 17 class InfoBar; 37 // The height of an infobar without the tip. 40 // The height of the infobar tip. 46 // Controller for the infobar container view, which is the superview 47 // of all the infobar views. This class owns zero or more 48 // InfoBarControllers, which manage the infobar views. This class 117 // Adds the given infobar. Takes ownership of |infobar|. 118 - (void)addInfoBar:(InfoBar*)infobar animate:(BOOL)animate [all...] |
/external/chromium_org/chrome/browser/google/ |
google_url_tracker_unittest.cc | 16 #include "chrome/browser/infobars/infobar.h" 35 // not add the infobar to |infobar_service|, since that "pointer" is really 203 void OnInfoBarClosed(scoped_ptr<InfoBarDelegate> infobar, 241 // object, we don't add the created infobar to it. Instead we will simulate 242 // any helper<->infobar interaction necessary. The returned object will be 266 void GoogleURLTrackerTest::OnInfoBarClosed(scoped_ptr<InfoBarDelegate> infobar, 269 InfoBarRemovedDetails removed_details(infobar.get(), false); 274 ASSERT_EQ(infobar, map_entry->infobar_delegate()); 279 // Second, simulate the infobar container closing the infobar in response 777 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local 795 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local 813 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local [all...] |
google_url_tracker.cc | 291 // Whether there's an existing infobar or not, we need to listen for the 292 // load to commit, so we can show and/or update the infobar when it does. 293 // (We may already be registered for this if there is an existing infobar 303 // yet have an infobar and we're already registered for this, or it has an 304 // infobar and the infobar's owner will handle tearing it down when the 312 // This is a new search on a tab where we already have an infobar. 317 // This is a non-search navigation on a tab with an infobar. If there was 323 // If this navigation actually commits, that will trigger the infobar's 324 // owner to expire the infobar if need be. If it doesn't commit, the 351 GoogleURLTrackerInfoBarDelegate* infobar = 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 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. 80 scoped_ptr<InfoBarDelegate> infobar( 83 infobar_service->ReplaceInfoBar(previous_infobar, infobar.Pass()) : 84 infobar_service->AddInfoBar(infobar.Pass()); 126 return false; // Hiding the infobar just as the dialog opens looks weird. 140 // Displays an infobar, replacing |infobar_| if it exists. 219 // Display an infobar with the error message [all...] |
/external/chromium_org/chrome/browser/plugins/ |
plugin_infobar_delegates.cc | 297 // keep replacing infobar delegates infinitely). 332 InfoBarDelegate* infobar, 337 DCHECK(infobar->owner()); 338 infobar->owner()->ReplaceInfoBar(infobar, scoped_ptr<InfoBarDelegate>( 340 infobar->owner(), installer, plugin_metadata.Pass(), 437 // keep replacing infobar delegates infinitely).
|
/external/chromium_org/chrome/browser/extensions/api/debugger/ |
debugger_api.cc | 28 #include "chrome/browser/infobars/infobar.h" 87 ExtensionDevToolsInfoBarDelegate* infobar); 150 // Creates an extension dev tools infobar delegate and adds it to the 308 ExtensionDevToolsInfoBarDelegate* infobar) 313 infobar_(infobar), 569 ExtensionDevToolsInfoBarDelegate* infobar = NULL; local 572 // Do not attach to the target if for any reason the infobar cannot be shown 574 infobar = ExtensionDevToolsInfoBarDelegate::Create( 576 if (!infobar) { 586 debuggee_, infobar); [all...] |
/external/chromium_org/chrome/browser/geolocation/ |
chrome_geolocation_permission_context_unittest.cc | 21 #include "chrome/browser/infobars/infobar.h" 59 bool Contains(InfoBarDelegate* infobar) const; 85 bool ClosedInfoBarTracker::Contains(InfoBarDelegate* infobar) const { 86 return removed_infobars_.count(infobar) != 0; 353 // Ensure only one infobar is created. 370 // Now we should have a new infobar for the second frame. 450 // Simulate the frame going away, ensure the infobar for this frame 451 // is removed and the next pending infobar is created. 526 // Now the infobar for the tab with the same origin should have gone. 531 // Destroy the infobar that has just been removed 616 InfoBarDelegate* infobar = infobar_service()->infobar_at(0); local [all...] |
/external/chromium_org/chrome/browser/translate/ |
translate_browsertest.cc | 57 // local test server. Note that this flag shows a confirm infobar in tests. 82 EXPECT_TRUE(false) << "infobar service is not available"; 88 // Check if the shown infobar is a confirm infobar coming from the 90 // This infobar appears in all tests of TranslateBrowserTest and can be 105 // Other infobar should not be shown. 130 // Check if there is no Translate infobar. 134 // Setup infobar observer. 135 content::WindowedNotificationObserver infobar( 149 // Wait for Chrome Translate infobar [all...] |
translate_infobar_delegate.cc | 62 // infobar, which is the case when the user started a translation from the 69 // Find any existing translate infobar delegate. 81 scoped_ptr<TranslateInfoBarDelegate> infobar( 86 // Do not create the after translate infobar if we are auto translating. 98 infobar_service->AddInfoBar(infobar.PassAs<InfoBarDelegate>()); 102 infobar.PassAs<InfoBarDelegate>()); 138 // translate infobar for that page again. (TranslateManager initiates 403 // The user closed the infobar without clicking the translate button. 418 // Note: we allow closing this infobar even if the main frame navigation
|