HomeSort by relevance Sort by last modified time
    Searched refs:InfoBar (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium/chrome/browser/ui/cocoa/infobars/
infobar.h 17 // have, but since there is no pre-defined InfoBar interface, it is
21 // Callers should delete the returned InfoBar immediately after
22 // calling CreateInfoBar(), as the returned InfoBar* object is not
25 // scoped_ptr<InfoBar> infobar(delegate->CreateInfoBar());
26 // InfoBarController* controller = infobar->controller();
28 // // deleted later. |infobar| will be deleted automatically.
30 class InfoBar {
32 InfoBar(InfoBarController* controller) {
42 // Pointer to the infobar controller. Is never null
    [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.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_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.cc 8 #include "chrome/browser/ui/views/infobars/infobar.h"
20 top_arrow_target_height_(InfoBar::kDefaultArrowTargetHeight) {
32 InfoBar* infobar = infobars_.front(); local
33 // NULL the container pointer first so that if the infobar is currently
36 // InfoBar::MaybeDelete() from calling RemoveInfoBar() a second time if the
37 // infobar happens to be at zero height (dunno if this can actually happen).
38 infobar->set_container(NULL);
39 RemoveInfoBar(infobar);
54 // OnInfoBarAnimated() for each infobar
71 InfoBar* infobar = *i; local
152 InfoBar* infobar = *i; local
    [all...]
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...]
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_background.cc 54 paint.setStrokeWidth(SkIntToScalar(InfoBar::kSeparatorLineHeight));
60 InfoBarView* infobar = static_cast<InfoBarView*>(view); local
62 canvas_skia->drawPath(*infobar->fill_path(), paint);
72 canvas_skia->drawPath(*infobar->stroke_path(), paint);
77 view->height() - InfoBar::kSeparatorLineHeight,
78 view->width(), InfoBar::kSeparatorLineHeight);
  /external/chromium/chrome/browser/ui/gtk/infobars/
infobar_gtk.h 25 class InfoBar : public SlideAnimatorGtk::Delegate,
29 explicit InfoBar(InfoBarDelegate* delegate);
30 virtual ~InfoBar();
34 // Get the top level native GTK widget for this infobar.
38 // InfoBar is added to the view hierarchy.
41 // Starts animating the InfoBar open.
44 // Opens the InfoBar immediately.
47 // Starts animating the InfoBar closed. It will not be closed until the
51 // Closes the InfoBar immediately and removes it from its container. Notifies
52 // the delegate that it has closed. The InfoBar is deleted after this functio
    [all...]
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...]
link_infobar_gtk.h 15 // An infobar that shows a string with an embedded link.
16 class LinkInfoBarGtk : public InfoBar {
link_infobar_gtk.cc 12 InfoBar* LinkInfoBarDelegate::CreateInfoBar() {
19 : InfoBar(delegate) {
confirm_infobar_gtk.h 16 // An infobar that shows a message, up to two optional buttons, and an optional,
19 class ConfirmInfoBarGtk : public InfoBar {
infobar_arrow_model.h 19 class InfoBar;
21 // A helper class that tracks the state of an infobar arrow and provides a
34 // An infobar has been added or removed that will affect the state of this
36 void ShowArrowFor(InfoBar* bar, bool animate);
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);
infobar_container_gtk.cc 28 // If |infobar_widget| matches |info_bar_delegate|, then close the infobar.
33 InfoBar* infobar = reinterpret_cast<InfoBar*>( local
36 if (!infobar) {
41 if (delegate == infobar->delegate())
42 infobar->AnimateClose();
45 // If |infobar_widget| matches |info_bar_delegate|, then close the infobar w/o
50 InfoBar* infobar = reinterpret_cast<InfoBar*> local
66 InfoBar* infobar = reinterpret_cast<InfoBar*>( local
179 InfoBar* infobar = delegate->CreateInfoBar(); local
    [all...]
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...]
extension_infobar_gtk.h 19 class ExtensionInfoBarGtk : public InfoBar,
35 // Build the widgets of the Infobar.
extension_infobar_gtk.cc 18 : InfoBar(delegate),
91 InfoBar* ExtensionInfoBarDelegate::CreateInfoBar() {
translate_infobar_base_gtk.h 18 class TranslateInfoBarBase : public InfoBar,
24 // Initializes the infobar widgets. Should be called after the object has been
28 // Overridden from InfoBar:
59 // Convenience to retrieve the TranslateInfoBarDelegate for this infobar.
74 // background. When 0, the infobar background should be pure PAGE_ACTION_TYPE.
75 // When 1, the infobar background should be pure WARNING_TYPE.
confirm_infobar_gtk.cc 16 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() {
23 : InfoBar(delegate) {
  /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...]
link_infobar_delegate.h 20 // Returns the message string to be displayed in the InfoBar. |link_offset|
29 // the link was clicked). This function returns true if the InfoBar should be
40 virtual InfoBar* CreateInfoBar() OVERRIDE;
confirm_infobar_delegate.h 24 // Returns the message string to be displayed for the InfoBar.
27 // Return the buttons to be shown for this InfoBar.
51 // the link was clicked). This function returns true if the InfoBar should be
63 virtual InfoBar* CreateInfoBar() OVERRIDE;
  /external/chromium/chrome/browser/extensions/
extension_infobar_delegate.h 46 virtual InfoBar* CreateInfoBar();
58 // The extension host we are showing the InfoBar for. The delegate needs to
59 // own this since the InfoBar gets deleted and recreated when you switch tabs
60 // and come back (and we don't want the user's interaction with the InfoBar to

Completed in 9093 milliseconds

1 2