| Index: chrome/browser/tab_contents/language_state_observer.h
|
| diff --git a/chrome/browser/tab_contents/language_state_observer.h b/chrome/browser/tab_contents/language_state_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e93309fc0e600994a2d2fb37b0ef8890d6ab98cd
|
| --- /dev/null
|
| +++ b/chrome/browser/tab_contents/language_state_observer.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_OBSERVER_H_
|
| +#define CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_OBSERVER_H_
|
| +
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| +// The observer for the language state.
|
| +class LanguageStateObserver {
|
| + public:
|
| + virtual void OnTranslateEnabledChanged(content::WebContents* source) = 0;
|
| +
|
| + protected:
|
| + virtual ~LanguageStateObserver() {}
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_OBSERVER_H_
|
|
|