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

Unified Diff: components/ui/zoom/zoom_observer.h

Issue 769593003: Move ZoomObserver, ZoomController and ZoomEventManager to components/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete defines in build files. Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ui/zoom/zoom_event_manager.cc ('k') | components/ui_zoom.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui/zoom/zoom_observer.h
diff --git a/chrome/browser/ui/zoom/zoom_observer.h b/components/ui/zoom/zoom_observer.h
similarity index 66%
rename from chrome/browser/ui/zoom/zoom_observer.h
rename to components/ui/zoom/zoom_observer.h
index b43dbcbbc41175d74666e6ae6c9e83fc3c2a6bab..5d99975e77f6d4112d31cccdc2fed259a11f356c 100644
--- a/chrome/browser/ui/zoom/zoom_observer.h
+++ b/components/ui/zoom/zoom_observer.h
@@ -2,14 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_ZOOM_ZOOM_OBSERVER_H_
-#define CHROME_BROWSER_UI_ZOOM_ZOOM_OBSERVER_H_
+#ifndef COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_
+#define COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_
-#include "chrome/browser/ui/zoom/zoom_controller.h"
+#include "components/ui/zoom/zoom_controller.h"
-namespace content {
-class WebContents;
-}
+namespace ui_zoom {
// Interface for objects that wish to be notified of changes in ZoomController.
class ZoomObserver {
@@ -22,4 +20,6 @@ class ZoomObserver {
virtual ~ZoomObserver() {}
};
-#endif // CHROME_BROWSER_UI_ZOOM_ZOOM_OBSERVER_H_
+} // namespace ui_zoom
+
+#endif // COMPONENTS_UI_ZOOM_ZOOM_OBSERVER_H_
« no previous file with comments | « components/ui/zoom/zoom_event_manager.cc ('k') | components/ui_zoom.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698