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

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: minor changes in 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..49204d44f7fc71d9f03e067e70ec769709b312b8 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 checkbox should be checked by default.
+ virtual bool ShouldAlwaysTranslateBeCheckedByDefault() const = 0;
+
// 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;
« no previous file with comments | « chrome/browser/translate/chrome_translate_client.cc ('k') | chrome/browser/ui/translate/translate_bubble_model_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698