Index: content/public/browser/host_zoom_map.h |
diff --git a/content/public/browser/host_zoom_map.h b/content/public/browser/host_zoom_map.h |
index e65b443d2b4a64590e3aca78ef3ba45c3a0873d5..09c49378bcaa0ece0ff99df68d21643ac1f45882 100644 |
--- a/content/public/browser/host_zoom_map.h |
+++ b/content/public/browser/host_zoom_map.h |
@@ -13,11 +13,13 @@ |
#include "base/callback.h" |
#include "base/callback_list.h" |
#include "content/common/content_export.h" |
+#include "url/gurl.h" |
namespace content { |
class BrowserContext; |
class ResourceContext; |
+class SiteInstance; |
class WebContents; |
// Maps hostnames to custom zoom levels. Written on the UI thread and read on |
@@ -55,6 +57,11 @@ class HostZoomMap { |
CONTENT_EXPORT static HostZoomMap* GetForBrowserContext( |
Fady Samuel
2014/08/13 19:45:43
GetDefaultForBrowserContext to be more explicit
wjmaclean
2014/08/14 18:18:21
Done.
|
BrowserContext* browser_context); |
+ CONTENT_EXPORT static HostZoomMap* Get(SiteInstance* instance); |
Fady Samuel
2014/08/13 19:45:43
Comment on what this does.
wjmaclean
2014/08/14 18:18:21
Done.
|
+ |
+ CONTENT_EXPORT static HostZoomMap* GetForWebContents( |
Fady Samuel
2014/08/13 19:45:43
Comment on what this does. Indicate that if multip
wjmaclean
2014/08/14 18:18:21
Done.
|
+ const WebContents* contents); |
+ |
// Returns the current zoom level for the specified WebContents. May be |
// temporary or host-specific. |
CONTENT_EXPORT static double GetZoomLevel(const WebContents* web_contents); |