/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_org/chrome/browser/ui/cocoa/infobars/ |
infobar.h | 20 // have, but since there is no pre-defined InfoBar interface, it is 24 // Callers should delete the returned InfoBar immediately after 25 // calling CreateInfoBar(), as the returned InfoBar* object is not 28 // scoped_ptr<InfoBar> infobar(delegate->CreateInfoBar()); 29 // InfoBarController* controller = infobar->controller(); 31 // // deleted later. |infobar| will be deleted automatically. 33 class InfoBar { 35 InfoBar(InfoBarController* controller, InfoBarDelegate* delegate) 50 // Pointer to the infobar controller. Is never null [all...] |
/external/chromium_org/chrome/browser/infobars/ |
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 75 // Called by |infobar| to request that it be removed from the container. At 76 // this point, |infobar| should already be hidden. Once the infobar is 78 void RemoveInfoBar(InfoBar* infobar) [all...] |
infobar.cc | 5 #include "chrome/browser/infobars/infobar.h" 36 InfoBar::InfoBar(InfoBarService* owner, InfoBarDelegate* delegate) 51 InfoBar::~InfoBar() { 54 void InfoBar::Show(bool animate) { 64 void InfoBar::Hide(bool animate) { 74 MaybeDelete(); // Necessary if the infobar was already closing. 78 void InfoBar::SetArrowTargetHeight(int height) { 88 void InfoBar::CloseSoon() [all...] |
infobar_container.cc | 16 #include "chrome/browser/infobars/infobar.h" 29 top_arrow_target_height_(InfoBar::kDefaultArrowTargetHeight) { 52 // OnInfoBarAnimated() for each infobar. 70 InfoBar* infobar = *i; local 71 next_infobar_y -= infobar->arrow_height(); 73 next_infobar_y += infobar->total_height(); 83 // line height, because the infobar arrow target heights are without-stroke. 85 std::max(height - InfoBar::kSeparatorLineHeight, 0), 86 InfoBar::kMaximumArrowTargetHeight) 168 InfoBar* infobar = *i; local 193 InfoBar* infobar = infobars_.front(); local [all...] |
infobar.h | 19 // TODO(sail): These functions should be static methods in the InfoBar class 35 class InfoBar : public ui::AnimationDelegate { 37 InfoBar(InfoBarService* owner, InfoBarDelegate* delegate); 38 virtual ~InfoBar(); 53 // Makes the infobar visible. If |animate| is true, the infobar is then 57 // Makes the infobar hidden. If |animate| is true, the infobar is first 58 // animated to zero size. Once the infobar is hidden, it is removed from its 62 // Changes the target height of the arrow portion of the infobar. This has n [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));
|
/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);
|
/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;
|
/external/chromium_org/chrome/browser/ui/gtk/infobars/ |
infobar_container_gtk.h | 15 class InfoBar; 29 // drawing of infobar arrows on other widgets. 49 // the InfoBar's close button handler. 59 // Paints parts of infobars that aren't inside the infobar's widget. This 61 // toolbars. All infobars starting from |infobar| (NULL for the first) to the 65 InfoBarGtk* infobar); 69 virtual void PlatformSpecificAddInfoBar(InfoBar* infobar, 71 virtual void PlatformSpecificRemoveInfoBar(InfoBar* infobar) OVERRIDE [all...] |
/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;
|
/external/chromium_org/chrome/android/testshell/ |
testshell_stubs.cc | 53 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { 59 InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
|
/external/chromium_org/chrome/browser/android/ |
tab_android_test_stubs.cc | 53 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { 59 InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
|