| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_HOST_ZOOM_MAP_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_HOST_ZOOM_MAP_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_HOST_ZOOM_MAP_H_ | 6 #define CONTENT_PUBLIC_BROWSER_HOST_ZOOM_MAP_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/callback_list.h" | 13 #include "base/callback_list.h" |
| 14 #include "base/memory/scoped_ptr.h" |
| 14 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| 18 | 19 |
| 19 class NavigationEntry; | 20 class NavigationEntry; |
| 20 class BrowserContext; | 21 class BrowserContext; |
| 21 class ResourceContext; | 22 class ResourceContext; |
| 22 class SiteInstance; | 23 class SiteInstance; |
| 23 class WebContents; | 24 class WebContents; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 virtual scoped_ptr<Subscription> AddZoomLevelChangedCallback( | 174 virtual scoped_ptr<Subscription> AddZoomLevelChangedCallback( |
| 174 const ZoomLevelChangedCallback& callback) = 0; | 175 const ZoomLevelChangedCallback& callback) = 0; |
| 175 | 176 |
| 176 protected: | 177 protected: |
| 177 virtual ~HostZoomMap() {} | 178 virtual ~HostZoomMap() {} |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 } // namespace content | 181 } // namespace content |
| 181 | 182 |
| 182 #endif // CONTENT_PUBLIC_BROWSER_HOST_ZOOM_MAP_H_ | 183 #endif // CONTENT_PUBLIC_BROWSER_HOST_ZOOM_MAP_H_ |
| OLD | NEW |