/external/chromium_org/chrome/browser/ui/android/infobars/ |
infobar_android.h | 14 #include "chrome/browser/infobars/infobar.h" 19 class InfoBarAndroid : public InfoBar { 23 // InfoBar.java! 26 // Confirm infobar 29 // Translate infobar 37 // InfoBar: 44 // Tells the Java-side counterpart of this InfoBar to point to the replacement 45 // InfoBar instead of this one. 61 // Acquire the java infobar from a different one. This is used to do in-place
|
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...] |
/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}
|
InfoBar.java | 5 package org.chromium.chrome.browser.infobar; 16 * The base class for all InfoBar classes. 18 * Make sure to use setExpireOnNavigation(false) if you want an infobar to be sticky. 20 public abstract class InfoBar implements InfoBarView { 21 private static final String TAG = "InfoBar"; 24 * Possible labels of all the infobar buttons. 31 // Confirm infobar 35 // Translate infobar 68 * @param listener Listens to when buttons have been clicked on the InfoBar. 72 public InfoBar(InfoBarListeners.Dismiss listener, int backgroundType, int iconDrawableId) [all...] |
/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/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.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...] |
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.h | 21 class InfoBar : public ui::AnimationDelegate { 23 explicit InfoBar(InfoBarDelegate* delegate); 24 virtual ~InfoBar(); 38 // Makes the infobar visible. If |animate| is true, the infobar is then 42 // Makes the infobar hidden. If |animate| is true, the infobar is first 43 // animated to zero size. Once the infobar is hidden, it is removed from its 47 // Changes the target height of the arrow portion of the infobar. This has no 48 // effect once the infobar is animating closed [all...] |
/external/chromium/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/ |
background.html | 13 * Handles requests sent by the content script. Shows an infobar. 17 // infobar. 18 var url = "infobar.html#" + request.count; 20 // Show the infobar on the tab where the request was sent.
|
/external/chromium/chrome/common/extensions/docs/examples/api/infobars/ |
sandwichbar.zip | |
/external/chromium_org/chrome/browser/infobars/ |
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...] |
infobar.cc | 5 #include "chrome/browser/infobars/infobar.h" 15 InfoBar::InfoBar(scoped_ptr<InfoBarDelegate> delegate) 30 InfoBar::~InfoBar() { 35 SkColor InfoBar::GetTopColor(InfoBarDelegate::Type infobar_type) { 45 SkColor InfoBar::GetBottomColor(InfoBarDelegate::Type infobar_type) { 54 void InfoBar::SetOwner(InfoBarService* owner) { 61 void InfoBar::Show(bool animate) { 71 void InfoBar::Hide(bool animate) [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
infobar_cocoa.h | 10 #include "chrome/browser/infobars/infobar.h" 14 // The cocoa specific implementation of InfoBar. The real info bar logic is 16 class InfoBarCocoa : public InfoBar { 28 // These functions allow access to protected InfoBar functions.
|
infobar_container_cocoa.h | 22 virtual void PlatformSpecificAddInfoBar(InfoBar* infobar, 24 virtual void PlatformSpecificRemoveInfoBar(InfoBar* infobar) OVERRIDE;
|
infobar_container_controller.h | 33 // Controller for the infobar container view, which is the superview 34 // of all the infobar views. This class owns zero or more 35 // InfoBarControllers, which manage the infobar views. This class 56 // If YES then an infobar animation is in progress. 60 // position is updated if the infobar height doesn't change but the overlap 81 // Adds the given infobar. 82 - (void)addInfoBar:(InfoBarCocoa*)infobar 85 // Removes the given infobar. 86 - (void)removeInfoBar:(InfoBarCocoa*)infobar; 88 // Positions the infobar views in the container view and notifie [all...] |
infobar_controller.h | 16 // A controller for an infobar in the browser window. There is one 17 // controller per infobar view. The base InfoBarController is able to 43 @property(nonatomic, readonly) InfoBarCocoa* infobar; variable 45 // Initializes a new InfoBarController and takes a WeakPtr to |infobar|. 46 - (id)initWithInfoBar:(InfoBarCocoa*)infobar; 48 // Returns YES if the infobar is owned. If this is NO, it is not safe to call 59 // Called when someone clicks on the close button. Dismisses the infobar 61 // NOTE: Subclasses should not call this to close the infobar as it will lead to 65 // Asks the container controller to remove the infobar for this delegate. This 66 // call will trigger a notification that starts the infobar animating closed [all...] |
/external/chromium_org/chrome/browser/ui/content_settings/ |
media_setting_changed_infobar_delegate.h | 12 // An infobar that tells the user a reload is required after changing media 13 // settings, and allows a reload via a button on the infobar. 16 // Creates a media setting changed infobar and delegate and adds the infobar
|
/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_background.cc | 7 #include "chrome/browser/infobars/infobar.h" 16 top_color_(InfoBar::GetTopColor(infobar_type)), 17 bottom_color_(InfoBar::GetBottomColor(infobar_type)) { 34 paint.setStrokeWidth(SkIntToScalar(InfoBar::kSeparatorLineHeight)); 39 InfoBarView* infobar = static_cast<InfoBarView*>(view); local 41 canvas_skia->drawPath(infobar->fill_path(), paint); 51 canvas_skia->drawPath(infobar->stroke_path(), paint); 55 canvas->FillRect(gfx::Rect(0, view->height() - InfoBar::kSeparatorLineHeight, 56 view->width(), InfoBar::kSeparatorLineHeight),
|
/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_frame/infobars/ |
infobar_manager.h | 14 TOP_INFOBAR = 0, // Infobar at the top. 15 BOTTOM_INFOBAR = 1, // Infobar at the bottom. 35 // Shows the supplied content in an infobar of the specified type. 37 // the content may use to interact with the Infobar facility. 39 // InfobarContent is deleted when the Infobar facility is finished with the 43 // Hides the infobar of the specified type.
|
/external/chromium/chrome/browser/ui/gtk/infobars/ |
infobar_gtk.cc | 20 extern const int InfoBar::kInfoBarHeight = 37; 24 // Pixels between infobar elements. 34 const int InfoBar::kEndOfLabelSpacing = 6; 35 const int InfoBar::kButtonButtonSpacing = 3; 37 InfoBar::InfoBar(InfoBarDelegate* delegate) 80 // We store a pointer back to |this| so we can refer to it from the infobar 85 InfoBar::~InfoBar() { 88 GtkWidget* InfoBar::widget() [all...] |
/external/chromium_org/chrome/browser/ui/android/content_settings/ |
popup_blocked_infobar_delegate.cc | 9 #include "chrome/browser/infobars/infobar.h" 22 scoped_ptr<InfoBar> infobar(ConfirmInfoBarDelegate::CreateInfoBar( 26 // See if there is an existing popup infobar already. 27 // TODO(dfalcantara) When triggering more than one popup the infobar 29 // This will be fixed once we have an in place replace infobar mechanism. 31 InfoBar* existing_infobar = infobar_service->infobar_at(i); 33 infobar_service->ReplaceInfoBar(existing_infobar, infobar.Pass()); 38 infobar_service->AddInfoBar(infobar.Pass());
|
/external/chromium_org/chrome/browser/ui/ |
auto_login_infobar_delegate.h | 21 // This is the actual infobar displayed to prompt the user to auto-login. 29 // Username to display in the infobar indicating user to be logged in as. 35 // Creates an autologin infobar and delegate and adds the infobar to the 36 // infobar service for |web_contents|. Returns whether the infobar was 47 SHOWN, // The infobar was shown to the user. 51 IGNORED, // The user ignored the infobar. 75 // Whether any UI controls in the infobar were pressed or not.
|