Chromium Code Reviews| 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_ |