1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_OBSERVER_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_OBSERVER_H_
12 // The observer for the language state.
13 class LanguageStateObserver
{
15 // Handles when the value of IsPageTranslated is changed.
16 virtual void OnIsPageTranslatedChanged(content::WebContents
* source
) = 0;
18 // Handles when the value of translate_enabled is changed.
19 virtual void OnTranslateEnabledChanged(content::WebContents
* source
) = 0;
22 virtual ~LanguageStateObserver() {}
25 #endif // CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_OBSERVER_H_