Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / components / ui / zoom / zoom_observer.h
blob5d99975e77f6d4112d31cccdc2fed259a11f356c
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 COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_
6 #define COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_
8 #include "components/ui/zoom/zoom_controller.h"
10 namespace ui_zoom {
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(const ZoomController::ZoomChangedEventData& data) {
19 protected:
20 virtual ~ZoomObserver() {}
23 } // namespace ui_zoom
25 #endif // COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_