| Index: chrome/browser/tab_contents/language_state.h
|
| diff --git a/chrome/browser/tab_contents/language_state.h b/chrome/browser/tab_contents/language_state.h
|
| index 7fc405947bda08a8c58da87d6f7d22382e553a7b..e97e710e4769b312e3c2915fa8e4161a382f7f5c 100644
|
| --- a/chrome/browser/tab_contents/language_state.h
|
| +++ b/chrome/browser/tab_contents/language_state.h
|
| @@ -44,6 +44,9 @@ class LanguageState {
|
| // Returns an empty string if the page should not be auto-translated.
|
| std::string AutoTranslateTo() const;
|
|
|
| + // Returns true if the user is navigating through translated links.
|
| + bool InTranslateNavigation() const;
|
| +
|
| // Returns true if the current page in the associated tab has been translated.
|
| bool IsPageTranslated() const { return original_lang_ != current_lang_; }
|
|
|
|
|