Android: add UMA instrumentation for inertial sensors.
[chromium-blink-merge.git] / chrome / browser / tab_contents / language_state_observer.h
blob91c587e0bacd20c7e27568f08a40ae7ef30ccd83
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_
8 namespace content {
9 class WebContents;
12 // The observer for the language state.
13 class LanguageStateObserver {
14 public:
15 virtual void OnIsPageTranslatedChanged(content::WebContents* source) = 0;
16 virtual void OnTranslateEnabledChanged(content::WebContents* source) = 0;
18 protected:
19 virtual ~LanguageStateObserver() {}
22 #endif // CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_OBSERVER_H_