summaryrefslogtreecommitdiffstats
path: root/components/ui/zoom/zoom_event_manager_observer.h
blob: f3afedc9b214661004d6452013b70b951c05a3c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2015 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 COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_OBSERVER_H_
#define COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_OBSERVER_H_

namespace ui_zoom {

class ZoomEventManagerObserver {
 public:
  // TODO(wjmaclean): convert existing ZoomLevelChangedCallbacks to be
  // observers.
  virtual void OnZoomLevelChanged() {}
  virtual void OnDefaultZoomLevelChanged() {}

 protected:
  virtual ~ZoomEventManagerObserver() {}
};

}  // namespace ui_zoom

#endif  // COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_OBSERVER_H_