Turn the Translate icon on only when the translation is succesfully done
BUG=313117
TEST=unit_tests --gtest_filter=LanguageStateTest.*
Review URL: https://codereview.chromium.org/73173007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236412 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index efd519ab5..69f120e 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -112,6 +112,9 @@
// Sets the starred state for the current tab.
virtual void SetStarredState(bool is_starred) = 0;
+ // Sets whether the translate icon is lit for the current tab.
+ virtual void SetTranslateIconToggled(bool is_lit) = 0;
+
// Called when the active tab changes. Subclasses which implement
// TabStripModelObserver should implement this instead of ActiveTabChanged();
// the Browser will call this method while processing that one.