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

Unified Diff: components/ui/zoom/zoom_event_manager.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_controller.cc ('k') | components/ui/zoom/zoom_event_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui/zoom/zoom_event_manager.h
diff --git a/chrome/browser/ui/zoom/zoom_event_manager.h b/components/ui/zoom/zoom_event_manager.h
similarity index 90%
rename from chrome/browser/ui/zoom/zoom_event_manager.h
rename to components/ui/zoom/zoom_event_manager.h
index 3a54e273ab9dd0634cfdfc83e763aa16952467cd..3f0fcf08e8a4425987e52cae183710170ed94b00 100644
--- a/chrome/browser/ui/zoom/zoom_event_manager.h
+++ b/components/ui/zoom/zoom_event_manager.h
@@ -2,8 +2,8 @@
// 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_EVENT_MANAGER_H_
-#define CHROME_BROWSER_UI_ZOOM_ZOOM_EVENT_MANAGER_H_
+#ifndef COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_
+#define COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_
#include "base/callback_list.h"
#include "base/memory/weak_ptr.h"
@@ -14,6 +14,8 @@ namespace content {
class BrowserContext;
} // namespace content
+namespace ui_zoom {
+
// This class serves as a target for event notifications from all ZoomController
// objects. Classes that need to know about browser-specific zoom events (e.g.
// manual-mode zoom) should subscribe here.
@@ -50,4 +52,6 @@ class ZoomEventManager : public base::SupportsUserData::Data {
DISALLOW_COPY_AND_ASSIGN(ZoomEventManager);
};
-#endif // CHROME_BROWSER_UI_ZOOM_ZOOM_EVENT_MANAGER_H_
+} // namespace ui_zoom
+
+#endif // COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_
« no previous file with comments | « components/ui/zoom/zoom_controller.cc ('k') | components/ui/zoom/zoom_event_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698