Searched refs:original_lang_ (Results 1 – 4 of 4) sorted by relevance
33 current_lang_ = original_lang_; in DidNavigate()35 prev_original_lang_ = original_lang_; in DidNavigate()37 original_lang_.clear(); in DidNavigate()47 if (in_page_navigation_ && !original_lang_.empty()) { in LanguageDetermined()54 original_lang_ = page_language; in LanguageDetermined()66 prev_original_lang_ == original_lang_ && in AutoTranslateTo()68 original_lang_ == current_lang_ && in AutoTranslateTo()
45 bool IsPageTranslated() const { return original_lang_ != current_lang_; } in IsPageTranslated()47 const std::string& original_language() const { return original_lang_; } in original_language()73 std::string original_lang_;
42 current_lang_ = original_lang_; in DidNavigate()44 prev_original_lang_ = original_lang_; in DidNavigate()46 original_lang_.clear(); in DidNavigate()60 if (in_page_navigation_ && !original_lang_.empty()) { in LanguageDetermined()67 original_lang_ = page_language; in LanguageDetermined()80 prev_original_lang_ == original_lang_ && in InTranslateNavigation()90 SetIsPageTranslated(current_lang_ != original_lang_); in SetCurrentLanguage()113 return original_lang_ != prev_original_lang_; in HasLanguageChanged()
54 bool IsPageTranslated() const { return original_lang_ != current_lang_; } in IsPageTranslated()56 const std::string& original_language() const { return original_lang_; } in original_language()96 std::string original_lang_; variable