Home
last modified time | relevance | path

Searched refs:IsSiteBlacklisted (Results 1 – 20 of 20) sorted by relevance

/external/chromium/chrome/browser/translate/
Doptions_menu_model.cc68 return translate_infobar_delegate_->IsSiteBlacklisted(); in IsCommandIdChecked()
88 !translate_infobar_delegate_->IsSiteBlacklisted()); in IsCommandIdEnabled()
Dtranslate_infobar_delegate.cc152 bool TranslateInfoBarDelegate::IsSiteBlacklisted() { in IsSiteBlacklisted() function in TranslateInfoBarDelegate
154 return !host.empty() && prefs_.IsSiteBlacklisted(host); in IsSiteBlacklisted()
162 if (prefs_.IsSiteBlacklisted(host)) { in ToggleSiteBlacklist()
Dtranslate_prefs.cc42 bool TranslatePrefs::IsSiteBlacklisted(const std::string& site) { in IsSiteBlacklisted() function in TranslatePrefs
142 if (prefs.IsSiteBlacklisted(url.HostNoBrackets())) in CanTranslate()
Dtranslate_prefs.h31 bool IsSiteBlacklisted(const std::string& site);
Dtranslate_manager_browsertest.cc894 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(host)); in TEST_F()
898 EXPECT_TRUE(translate_prefs.IsSiteBlacklisted(host)); in TEST_F()
913 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(host)); in TEST_F()
989 EXPECT_TRUE(translate_prefs.IsSiteBlacklisted(url.host())); in TEST_F()
1025 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(url.host())); in TEST_F()
Dtranslate_infobar_delegate.h106 virtual bool IsSiteBlacklisted();
/external/chromium_org/chrome/browser/translate/
Doptions_menu_model.cc76 return translate_infobar_delegate_->IsSiteBlacklisted(); in IsCommandIdChecked()
96 !translate_infobar_delegate_->IsSiteBlacklisted()); in IsCommandIdEnabled()
Dtranslate_infobar_delegate.cc138 bool TranslateInfoBarDelegate::IsSiteBlacklisted() { in IsSiteBlacklisted() function in TranslateInfoBarDelegate
139 return ui_delegate_.IsSiteBlacklisted(); in IsSiteBlacklisted()
143 if (ui_delegate_.IsSiteBlacklisted()) { in ToggleSiteBlacklist()
Dtranslate_ui_delegate.h84 bool IsSiteBlacklisted();
Dtranslate_ui_delegate.cc210 bool TranslateUIDelegate::IsSiteBlacklisted() { in IsSiteBlacklisted() function in TranslateUIDelegate
212 return !host.empty() && prefs_->IsSiteBlacklisted(host); in IsSiteBlacklisted()
Dtranslate_manager_browsertest.cc1092 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(url.host())); in TEST_F()
1107 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(url.host())); in TEST_F()
1134 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(host)); in TEST_F()
1138 EXPECT_TRUE(translate_prefs.IsSiteBlacklisted(host)); in TEST_F()
1152 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(host)); in TEST_F()
1231 EXPECT_TRUE(translate_prefs.IsSiteBlacklisted(url.host())); in TEST_F()
1267 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(url.host())); in TEST_F()
Dtranslate_infobar_delegate.h128 virtual bool IsSiteBlacklisted();
Dtranslate_prefs.h53 bool IsSiteBlacklisted(const std::string& site) const;
Dtranslate_prefs.cc138 bool TranslatePrefs::IsSiteBlacklisted(const std::string& site) const { in IsSiteBlacklisted() function in TranslatePrefs
Dtranslate_manager.cc387 if (translate_prefs.IsSiteBlacklisted(page_url.HostNoBrackets())) { in InitiateTranslation()
/external/chromium_org/chrome/browser/sync/test/integration/
Dtwo_client_preferences_sync_test.cc440 ASSERT_FALSE(translate_client0_prefs.IsSiteBlacklisted(host)); in IN_PROC_BROWSER_TEST_F()
442 ASSERT_TRUE(translate_client0_prefs.IsSiteBlacklisted(host)); in IN_PROC_BROWSER_TEST_F()
445 ASSERT_TRUE(translate_client1_prefs.IsSiteBlacklisted(host)); in IN_PROC_BROWSER_TEST_F()
448 ASSERT_FALSE(translate_client0_prefs.IsSiteBlacklisted(host)); in IN_PROC_BROWSER_TEST_F()
451 ASSERT_FALSE(translate_client1_prefs.IsSiteBlacklisted(host)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/android/infobars/
Dtranslate_infobar.cc102 if (never_translate_site && !delegate->IsSiteBlacklisted()) in ApplyTranslateOptions()
/external/chromium/chrome/browser/ui/cocoa/translate/
Dtranslate_infobar_unittest.mm52 virtual bool IsSiteBlacklisted() {
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dtranslate_infobar_unittest.mm55 virtual bool IsSiteBlacklisted() OVERRIDE { return false; }
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc3741 if (translate_bar->IsSiteBlacklisted()) { in SelectTranslateOption()