Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / zoom / zoom_observer.h
blob54f52e186b525c9964f0ea51f7b9cfbd98e94db1
1 // Copyright (c) 2012 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_UI_ZOOM_ZOOM_OBSERVER_H_
6 #define CHROME_BROWSER_UI_ZOOM_ZOOM_OBSERVER_H_
8 namespace content {
9 class WebContents;
12 // Interface for objects that wish to be notified of changes in ZoomController.
13 class ZoomObserver {
14 public:
15 // Notification that the zoom percentage has changed.
16 virtual void OnZoomChanged(content::WebContents* source,
17 bool can_show_bubble) = 0;
19 protected:
20 virtual ~ZoomObserver() {}
23 #endif // CHROME_BROWSER_UI_ZOOM_ZOOM_OBSERVER_H_