HomeSort by relevance Sort by last modified time
    Searched refs:original_language (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium/chrome/browser/translate/
translate_prefs.h 27 bool IsLanguageBlacklisted(const std::string& original_language);
28 void BlacklistLanguage(const std::string& original_language);
29 void RemoveLanguageFromBlacklist(const std::string& original_language);
35 bool IsLanguagePairWhitelisted(const std::string& original_language,
37 void WhitelistLanguagePair(const std::string& original_language,
39 void RemoveLanguagePairFromWhitelist(const std::string& original_language,
57 const std::string& original_language, const GURL& url);
59 const std::string& original_language, std::string* target_language);
68 bool IsLanguageWhitelisted(const std::string& original_language,
translate_prefs.cc 29 const std::string& original_language) {
30 return IsValueBlacklisted(kPrefTranslateLanguageBlacklist, original_language);
33 void TranslatePrefs::BlacklistLanguage(const std::string& original_language) {
34 BlacklistValue(kPrefTranslateLanguageBlacklist, original_language);
38 const std::string& original_language) {
39 RemoveValueFromBlacklist(kPrefTranslateLanguageBlacklist, original_language);
55 const std::string& original_language,
60 if (dict->GetString(original_language, &auto_target_lang) &&
68 const std::string& original_language,
76 dict->SetString(original_language, target_language)
    [all...]
options_menu_model.cc 32 string16 original_language = translate_delegate->GetLanguageDisplayableNameAt( local
42 original_language, target_language));
46 original_language));
54 original_language));
translate_infobar_delegate.h 41 // Returns NULL if it failed, typically if |original_language| or
46 const std::string& original_language,
53 const std::string& original_language,
154 const std::string& original_language,
translate_infobar_delegate.cc 30 const std::string& original_language,
37 original_language != chrome::kUnknownLanguageCode);
38 if ((original_language != chrome::kUnknownLanguageCode &&
39 !TranslateManager::IsSupportedLanguage(original_language)) ||
44 original_language, target_language);
52 const std::string& original_language,
55 original_language, target_language);
310 const std::string& original_language,
344 if (language_code == original_language) {
translate_manager.cc 242 helper->language_state().original_language()));
501 helper->language_state().original_language());
514 report_error_url += helper->language_state().original_language();
  /external/chromium_org/chrome/browser/translate/
translate_prefs.h 44 bool IsBlockedLanguage(const std::string& original_language) const;
45 void BlockLanguage(const std::string& original_language);
46 void UnblockLanguage(const std::string& original_language);
51 void RemoveLanguageFromLegacyBlacklist(const std::string& original_language);
59 bool IsLanguagePairWhitelisted(const std::string& original_language,
61 void WhitelistLanguagePair(const std::string& original_language,
63 void RemoveLanguagePairFromWhitelist(const std::string& original_language,
95 const std::string& original_language, std::string* target_language);
125 bool IsLanguageWhitelisted(const std::string& original_language,
options_menu_model.cc 31 base::string16 original_language = translate_delegate->language_name_at( local
47 original_language, target_language));
51 original_language));
61 original_language));
translate_prefs.cc 103 const std::string& original_language) const {
105 original_language);
109 const std::string& original_language) {
110 BlacklistValue(kPrefTranslateBlockedLanguages, original_language);
113 std::string language = original_language;
127 const std::string& original_language) {
129 original_language);
133 const std::string& original_language) {
135 original_language);
151 const std::string& original_language,
    [all...]
translate_infobar_delegate.cc 39 const std::string& original_language,
47 if (!TranslateManager::IsSupportedLanguage(original_language)) {
52 DCHECK_EQ(translate::kUnknownLanguageCode, original_language);
84 web_contents, infobar_type, old_delegate, original_language,
296 const std::string& original_language,
304 ui_delegate_(web_contents, original_language, target_language),
translate_infobar_delegate.h 52 // types, |original_language| and |target_language| must be ASCII language
57 // |original_language| == kUnknownLanguageCode.
66 const std::string& original_language,
179 const std::string& original_language,
translate_ui_delegate.h 32 const std::string& original_language,
translate_ui_delegate.cc 37 const std::string& original_language,
75 if (language_code == original_language) {
translate_manager.cc 231 translate_tab_helper->language_state().original_language(), 0));
536 translate_tab_helper->language_state().original_language());
561 translate_tab_helper->language_state().original_language());
779 const std::string& original_language,
782 if (TranslatePrefs::ShouldAutoTranslate(prefs, original_language,
translate_manager.h 89 // Returns the language to automatically translate to. |original_language| is
91 static std::string GetAutoTargetLanguage(const std::string& original_language,
  /external/chromium_org/chrome/browser/tab_contents/
language_state_unittest.cc 60 EXPECT_EQ("fr", language_state.original_language());
66 EXPECT_EQ("fr", language_state.original_language());
72 EXPECT_EQ("ja", language_state.original_language());
language_state.h 56 const std::string& original_language() const { return original_lang_; } function in class:LanguageState
render_view_context_menu.cc     [all...]
  /external/chromium/chrome/browser/tab_contents/
language_state.h 47 const std::string& original_language() const { return original_lang_; } function in class:LanguageState
render_view_context_menu.cc     [all...]
  /external/chromium_org/chrome/browser/ui/translate/
translate_bubble_model_impl.cc 96 language_state.original_language() &&
  /external/chromium/chrome/browser/
browser_browsertest.cc 574 EXPECT_TRUE(helper->language_state().original_language().empty());
580 EXPECT_EQ("en", helper->language_state().original_language());
588 EXPECT_TRUE(helper->language_state().original_language().empty());
594 EXPECT_EQ("fr", helper->language_state().original_language());
  /external/chromium/chrome/browser/extensions/
extension_tabs_module.cc     [all...]
  /external/chromium_org/chrome/browser/ui/
browser_browsertest.cc     [all...]
  /external/chromium_org/chrome/browser/extensions/api/tabs/
tabs_api.cc     [all...]

Completed in 357 milliseconds

1 2