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

Unified Diff: chrome/browser/ui/translate/translate_bubble_model.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: change according to msw review comments 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: chrome/browser/ui/translate/translate_bubble_model.h
diff --git a/chrome/browser/ui/translate/translate_bubble_model.h b/chrome/browser/ui/translate/translate_bubble_model.h
index 259b570780a7f74dabd0733b09a9cb45dceab6ca..35df9aa474ac6d6b252e3afa4655f17689004f35 100644
--- a/chrome/browser/ui/translate/translate_bubble_model.h
+++ b/chrome/browser/ui/translate/translate_bubble_model.h
@@ -82,6 +82,9 @@ class TranslateBubbleModel {
// translated into the current target language automatically.
virtual bool ShouldAlwaysTranslate() const = 0;
+ // Returns true if the Always Translate should be Checked by default.
msw 2016/04/29 23:43:40 nit: 'Translate button should' and do not capitali
ftang 2016/04/30 01:24:50 Done.
+ virtual bool ShouldAlwaysTranslateCheckedByDefault() const = 0;
msw 2016/04/29 23:43:40 nit: TranslateBeChecked
ftang 2016/04/30 01:24:49 Done.
+
// Sets the value if the webpage in the current original language should be
// translated into the current target language automatically.
virtual void SetAlwaysTranslate(bool value) = 0;

Powered by Google App Engine
This is Rietveld 408576698