Home
last modified time | relevance | path

Searched refs:infobar_type (Results 1 – 17 of 17) sorted by relevance

/external/chromium/chrome/browser/ui/views/infobars/
Dinfobar_background.cc13 InfoBarBackground::InfoBarBackground(InfoBarDelegate::Type infobar_type) in InfoBarBackground() argument
15 top_color_(GetTopColor(infobar_type)), in InfoBarBackground()
16 bottom_color_(GetBottomColor(infobar_type)) { in InfoBarBackground()
22 SkColor InfoBarBackground::GetTopColor(InfoBarDelegate::Type infobar_type) { in GetTopColor() argument
28 return (infobar_type == InfoBarDelegate::WARNING_TYPE) ? in GetTopColor()
32 SkColor InfoBarBackground::GetBottomColor(InfoBarDelegate::Type infobar_type) { in GetBottomColor() argument
38 return (infobar_type == InfoBarDelegate::WARNING_TYPE) ? in GetBottomColor()
Dinfobar_background.h14 explicit InfoBarBackground(InfoBarDelegate::Type infobar_type);
18 static SkColor GetTopColor(InfoBarDelegate::Type infobar_type);
19 static SkColor GetBottomColor(InfoBarDelegate::Type infobar_type);
/external/chromium_org/chrome/test/functional/
Dtest_utils.py333 def GetInfobarIndexByType(test, infobar_type, windex=0, tab_index=0): argument
349 if infobar_type == infobar['type']:
353 def WaitForInfobarTypeAndGetIndex(test, infobar_type, windex=0, tab_index=0): argument
369 test, infobar_type, windex, tab_index) is not None),
370 msg='Infobar type for %s did not appear.' % infobar_type)
372 return GetInfobarIndexByType(test, infobar_type, windex, tab_index)
374 def AssertInfobarTypeDoesNotAppear(test, infobar_type, windex=0, tab_index=0): argument
387 test, infobar_type, windex, tab_index) is not None, timeout=20),
389 % infobar_type))
/external/chromium_org/chrome/browser/translate/
Dtranslate_infobar_delegate.cc38 Type infobar_type, in Create() argument
45 if (infobar_type != TRANSLATION_ERROR) { in Create()
51 DCHECK(infobar_type == TRANSLATING || infobar_type == AFTER_TRANSLATE); in Create()
57 if ((infobar_type == TranslateInfoBarDelegate::AFTER_TRANSLATE) || in Create()
58 (infobar_type == TranslateInfoBarDelegate::TRANSLATING)) { in Create()
84 web_contents, infobar_type, old_delegate, original_language, in Create()
294 Type infobar_type, in TranslateInfoBarDelegate() argument
302 infobar_type_(infobar_type), in TranslateInfoBarDelegate()
Dtranslate_infobar_delegate.h65 Type infobar_type,
85 Type infobar_type() const { return infobar_type_; } in infobar_type() function
177 Type infobar_type,
Dtranslate_manager_browsertest.cc427 infobar->infobar_type()); in TEST_F()
436 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATING, infobar->infobar_type()); in TEST_F()
455 EXPECT_EQ(TranslateInfoBarDelegate::AFTER_TRANSLATE, infobar->infobar_type()); in TEST_F()
489 infobar->infobar_type()); in TEST_F()
495 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATING, infobar->infobar_type()); in TEST_F()
506 infobar->infobar_type()); in TEST_F()
520 infobar->infobar_type()); in TEST_F()
545 infobar->infobar_type()); in TEST_F()
557 EXPECT_EQ(TranslateInfoBarDelegate::AFTER_TRANSLATE, infobar->infobar_type()); in TEST_F()
571 infobar->infobar_type()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/infobars/
Dinfobar.cc35 SkColor InfoBar::GetTopColor(InfoBarDelegate::Type infobar_type) { in GetTopColor() argument
40 return (infobar_type == InfoBarDelegate::WARNING_TYPE) ? in GetTopColor()
45 SkColor InfoBar::GetBottomColor(InfoBarDelegate::Type infobar_type) { in GetBottomColor() argument
50 return (infobar_type == InfoBarDelegate::WARNING_TYPE) ? in GetBottomColor()
Dinfobar.h55 static SkColor GetTopColor(InfoBarDelegate::Type infobar_type);
56 static SkColor GetBottomColor(InfoBarDelegate::Type infobar_type);
/external/chromium_org/chrome/browser/ui/android/infobars/
Dtranslate_infobar.cc48 delegate->infobar_type(), delegate->original_language_index(), in CreateRenderInfoBar()
77 delegate->infobar_type()); in PassJavaInfoBar()
82 this, delegate->infobar_type()); in PassJavaInfoBar()
126 (delegate->infobar_type() == in ShouldDisplayNeverTranslateInfoBarOnCancel()
/external/chromium_org/chrome/browser/ui/views/infobars/
Dinfobar_background.cc14 InfoBarBackground::InfoBarBackground(InfoBarDelegate::Type infobar_type) in InfoBarBackground() argument
16 top_color_(InfoBar::GetTopColor(infobar_type)), in InfoBarBackground()
17 bottom_color_(InfoBar::GetBottomColor(infobar_type)) { in InfoBarBackground()
Dtranslate_infobar_base.cc26 if (delegate->infobar_type() == BEFORE_TRANSLATE) in CreateInfoBar()
28 if (delegate->infobar_type() == AFTER_TRANSLATE) in CreateInfoBar()
Dinfobar_background.h14 explicit InfoBarBackground(InfoBarDelegate::Type infobar_type);
/external/chromium/chrome/browser/translate/
Dtranslate_infobar_delegate.h44 Type infobar_type,
151 TranslateInfoBarDelegate(Type infobar_type,
/external/chromium_org/chrome/browser/ui/gtk/infobars/
Dtranslate_infobar_base_gtk.cc27 if (delegate->infobar_type() == BEFORE_TRANSLATE) in CreateInfoBar()
29 if (delegate->infobar_type() == AFTER_TRANSLATE) in CreateInfoBar()
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dtranslate_infobar_base.mm36 switch (infobar->delegate()->AsTranslateInfoBarDelegate()->infobar_type()) {
131 if ([self delegate]->infobar_type() ==
145 if ([self delegate]->infobar_type() ==
404 TranslateInfoBarDelegate::Type state = delegate->infobar_type();
416 delegate->infobar_type());
/external/chromium_org/chrome/browser/autofill/
Dautofill_interactive_uitest.cc841 delegate->infobar_type()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/policy/
Dpolicy_browsertest.cc1891 translate_infobar_delegate->infobar_type()); in IN_PROC_BROWSER_TEST_F()