Index: content/public/browser/zoom_level_delegate.h |
diff --git a/content/public/browser/zoom_level_delegate.h b/content/public/browser/zoom_level_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e6a93bde06ef2f09c3b5d8c7b46d329b1be0a22e |
--- /dev/null |
+++ b/content/public/browser/zoom_level_delegate.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_ |
+#define CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_ |
+ |
+namespace content { |
+ |
+class HostZoomMap; |
+ |
+// An interface to allow the client to initialize the HostZoomMap. |
+class ZoomLevelDelegate { |
+ public: |
+ virtual void InitHostZoomMap(HostZoomMap* host_zoom_map) = 0; |
+ virtual ~ZoomLevelDelegate() {} |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_ |