/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...] |
/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...] |
/external/chromium/chrome/browser/ui/views/infobars/ |
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;
|
confirm_infobar.cc | 14 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() {
|
extension_infobar.cc | 26 InfoBar* ExtensionInfoBarDelegate::CreateInfoBar() { 119 // When the infobar is closed, it animates to 0 vertical height. We'll 122 // infobar view).
|
/external/chromium_org/chrome/browser/geolocation/ |
geolocation_infobar_delegate.cc | 10 #include "chrome/browser/infobars/infobar.h" 65 InfoBar* GeolocationInfoBarDelegate::Create(
|
geolocation_browsertest.cc | 16 #include "chrome/browser/infobars/infobar.h" 130 // until the infobar has been displayed; otherwise it will block until the 144 InfoBar* infobar() { return infobar_; } function in class:__anon5021::GeolocationNotificationObserver 149 InfoBar* infobar_; 186 infobar_ = content::Details<InfoBar::AddedDetails>(details).ptr(); 201 // We're either waiting for just the infobar, or for both a javascript 231 // 1. Infobar is displayed when a geolocation is requested from an unauthorized 233 // 2. Denying the infobar triggers the correct error callback. 234 // 3. Allowing the infobar does not trigger an error, and allow a geoposition t [all...] |
/external/chromium_org/chrome/browser/google/ |
google_url_tracker_infobar_delegate.cc | 9 #include "chrome/browser/infobars/infobar.h" 21 InfoBar* GoogleURLTrackerInfoBarDelegate::Create( 63 infobar()->RemoveSelf();
|
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/chrome/browser/translate/ |
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...] |
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_org/chrome/browser/managed_mode/ |
managed_mode_navigation_observer.cc | 15 #include "chrome/browser/infobars/infobar.h" 84 // Creates a managed mode warning infobar and delegate and adds the infobar to 85 // |infobar_service|. Returns the infobar if it was successfully added. 86 static InfoBar* Create(InfoBarService* infobar_service); 105 InfoBar* ManagedModeWarningInfoBarDelegate::Create( 190 // If we shouldn't have a warn infobar remove it here.
|
/external/chromium_org/chrome/browser/ui/gtk/infobars/ |
extension_infobar_gtk.cc | 35 scoped_ptr<InfoBar> ExtensionInfoBarDelegate::CreateInfoBar( 37 return scoped_ptr<InfoBar>(new ExtensionInfoBarGtk(delegate.Pass())); 102 // Pad the bottom of the infobar by one pixel for the border. 189 // Get the Browser object this infobar is attached to. 238 // We also need to draw our infobar arrows over the renderer.
|
infobar_container_gtk.cc | 52 void InfoBarContainerGtk::PlatformSpecificAddInfoBar(InfoBar* infobar, 54 InfoBarGtk* infobar_gtk = static_cast<InfoBarGtk*>(infobar); 74 void InfoBarContainerGtk::PlatformSpecificRemoveInfoBar(InfoBar* infobar) { 75 InfoBarGtk* infobar_gtk = static_cast<InfoBarGtk*>(infobar); 79 std::find(infobars_gtk_.begin(), infobars_gtk_.end(), infobar); 96 InfoBarGtk* infobar) { 100 // For each infobar after |infobar| (or starting from the beginning if NULL) [all...] |
/external/chromium_org/chrome/browser/ui/views/infobars/ |
extension_infobar.cc | 33 scoped_ptr<InfoBar> ExtensionInfoBarDelegate::CreateInfoBar( 36 return scoped_ptr<InfoBar>(new ExtensionInfoBar(delegate.Pass(), browser)); 43 // The horizontal margin between the infobar icon and the Extension (HTML) view.
|
/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...] |
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/chrome/browser/google/ |
google_url_tracker_unittest.cc | 70 virtual InfoBar* CreateInfoBar(); 86 InfoBar* TestInfoBarDelegate::CreateInfoBar() { 257 TestInfoBarDelegate* infobar = static_cast<TestInfoBarDelegate*>( local 259 return infobar->new_google_url(); 263 TestInfoBarDelegate* infobar = static_cast<TestInfoBarDelegate*>( local 265 ASSERT_TRUE(infobar); 266 ASSERT_TRUE(infobar->google_url_tracker()); 267 infobar->google_url_tracker()->AcceptGoogleURL(infobar->new_google_url()); 271 TestInfoBarDelegate* infobar = static_cast<TestInfoBarDelegate*> local 279 InfoBarDelegate* infobar = g_browser_process->google_url_tracker()->infobar_; local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
browser_window_gtk.h | 180 // Toggles whether an infobar is showing. 182 void SetInfoBarShowing(InfoBar* bar, bool animate); 220 // Get the position where the infobar arrow should be anchored in 328 // Invalidate all the widgets that need to redraw when the infobar draw state 332 // Gets the size (width and height) of the infobar arrow. The size depends on 340 // Used to draw the infobar arrow and drop shadow. This is connected to 345 // Used to draw the infobar bits for the bookmark bar. When the bookmark 352 // because when the bookmark bar changes dimensions, the infobar arrow has to 517 // The model that tracks the paint state of the arrow for the infobar
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
TranslateLanguagePanel.java | 5 package org.chromium.chrome.browser.infobar; 27 * Language panel shown in the translate infobar. 91 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE);
|
InfoBarLayout.java | 5 package org.chromium.chrome.browser.infobar; 24 * Layout that can be used to arrange an InfoBar's View. 26 * - An icon representing the InfoBar's purpose on the left side. 107 * Constructs the layout for the specified InfoBar. 110 * @param backgroundType Type of InfoBar background being shown. 111 * @param iconResourceId ID of the icon to use for the InfoBar. 121 if (backgroundType == InfoBar.BACKGROUND_TYPE_INFO) { 169 // Vertically center the icon and close buttons of an unstretched InfoBar. If the InfoBar 183 // Add all of the other InfoBar specific controls [all...] |
/external/chromium_org/chrome/test/ppapi/ |
ppapi_test.cc | 15 #include "chrome/browser/infobars/infobar.h" 74 EXPECT_FALSE(expecting_infobar_) << "Missing an expected infobar"; 89 // It's not safe to remove the infobar here, since other observers (e.g. the 91 // do all necessary infobar manipulation as soon as this call stack returns. 110 InfoBar* infobar = infobar_service->infobar_at(0); local 112 infobar->delegate()->AsConfirmInfoBarDelegate(); 119 infobar_service->RemoveInfoBar(infobar);
|
/external/chromium_org/base/android/jni_generator/ |
jni_generator_tests.py | 348 InfoBar infobar = new ConfirmInfoBar(nativeInfoBar, mContext, 351 return infobar; 356 AutoLoginInfoBar infobar = new AutoLoginInfoBar(nativeInfoBar, mContext, 358 if (infobar.displayedAccountCount() == 0) 359 infobar = null; 360 return infobar; 362 @CalledByNative("InfoBar") 461 java_class_name='InfoBar', [all...] |
/external/chromium_org/chrome/browser/notifications/ |
notification_browsertest.cc | 19 #include "chrome/browser/infobars/infobar.h" 410 InfoBar* infobar = infobar_service->infobar_at(infobar_index); local 411 InfoBarDelegate* infobar_delegate = infobar->delegate(); 415 infobar_service->RemoveInfoBar(infobar); 424 infobar_service->RemoveInfoBar(infobar); 435 infobar_service->RemoveInfoBar(infobar); 491 // That's considered a user gesture to webkit, and should produce an infobar. 508 // in no infobar. 589 // Requests notification privileges and verifies the infobar appears [all...] |