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

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: Address asvitkine@'s comments. 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
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..b716af27ad78fd9bf3ca084def68d948ab285a6d 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 components {
+
// 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 extensions
James Cook 2014/12/04 17:17:16 nit: namespace components (elsewhere too I think)
wjmaclean 2014/12/04 18:27:17 Done.
+
+#endif // COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698