Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Side by Side Diff: components/ui/zoom/zoom_observer.h

Issue 2019423005: Move //components/ui/zoom to top-level under //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/ui/zoom/zoom_event_manager_observer.h ('k') | components/ui_zoom.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_
6 #define COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_
7
8 #include "components/ui/zoom/zoom_controller.h"
9
10 namespace ui_zoom {
11
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) {
17 }
18
19 protected:
20 virtual ~ZoomObserver() {}
21 };
22
23 } // namespace ui_zoom
24
25 #endif // COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/ui/zoom/zoom_event_manager_observer.h ('k') | components/ui_zoom.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698