Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(714)

Unified Diff: components/translate/core/browser/translate_ui_delegate.h

Issue 1923143003: Implement the 2016Q2 Translate UI designe spec out in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2nd try - fix test breakages in TranslateUIDelegateTest Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/translate/core/browser/translate_ui_delegate.h
diff --git a/components/translate/core/browser/translate_ui_delegate.h b/components/translate/core/browser/translate_ui_delegate.h
index 2223d99a53497c05a79f5322e36302cdaa425c5e..a155bee2738e1760fe6f8aaffae52918bc2129e9 100644
--- a/components/translate/core/browser/translate_ui_delegate.h
+++ b/components/translate/core/browser/translate_ui_delegate.h
@@ -119,6 +119,9 @@ class TranslateUIDelegate {
// translated into the current target language automatically.
void SetAlwaysTranslate(bool value);
+ // Show "Always translate" as checked in the bubble UI
+ bool ShowAlwaysTranslateChecked();
+
private:
// Gets the host of the page being translated, or an empty string if no URL is
// associated with the current page.

Powered by Google App Engine
This is Rietveld 408576698