/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.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_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_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...] |
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;
|
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/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...] |
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/chrome/browser/ui/gtk/infobars/ |
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...] |
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/chrome/browser/download/ |
download_request_infobar_delegate_unittest.cc | 20 ConfirmInfoBarDelegate* infobar() { function in class:MockTabDownloadState 35 // The actual infobar delegate we're listening to. 74 state.infobar()->Accept(); 80 state.infobar()->Cancel();
|
/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...] |
google_url_tracker.cc | 32 InfoBarDelegate* infobar = new GoogleURLTrackerInfoBarDelegate(tab_contents, local 34 tab_contents->AddInfoBar(infobar); 35 return infobar;
|
/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/chrome/browser/automation/ |
testing_automation_provider.cc | 2330 InfoBarDelegate* infobar = tc->GetInfoBarDelegateAt(i); local 2399 InfoBarDelegate* infobar = NULL; local 3565 InfoBarDelegate* infobar = tab_contents->GetInfoBarDelegateAt(i); local [all...] |