HomeSort by relevance Sort by last modified time
    Searched defs:infobar (Results 1 - 13 of 13) sorted by null

  /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/ui/views/infobars/
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);
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_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...]
  /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...]
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/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/google/
google_url_tracker.cc 32 InfoBarDelegate* infobar = new GoogleURLTrackerInfoBarDelegate(tab_contents, local
34 tab_contents->AddInfoBar(infobar);
35 return infobar;
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/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...]
  /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...]

Completed in 294 milliseconds