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

Unified Diff: chrome/browser/ui/translate/translate_bubble_model.h

Issue 98643003: Translate new UX: Fix the visual and behavior of 'Done' button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky's review Created 7 years 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
« no previous file with comments | « no previous file | chrome/browser/ui/translate/translate_bubble_model_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fdf5b3a1d66914c05585d4834fc2fd7fec35be38..74bacf0648fc3aee04d9fd8a31761764576dd9f1 100644
--- a/chrome/browser/ui/translate/translate_bubble_model.h
+++ b/chrome/browser/ui/translate/translate_bubble_model.h
@@ -84,6 +84,10 @@ class TranslateBubbleModel {
// Processes when the user declines translation.
virtual void TranslationDeclined() = 0;
+
+ // Returns true if the page is translated in the currently selected source
+ // and target language.
+ virtual bool IsPageTranslatedInCurrentLanguages() const = 0;
};
#endif // CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_MODEL_H_
« no previous file with comments | « no previous file | chrome/browser/ui/translate/translate_bubble_model_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698