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

Unified Diff: chrome/browser/host_zoom_map.h

Issue 570048: Add zoom extension API (Closed)
Patch Set: Zoom extension API with docs and examples Created 9 years, 10 months 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
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/host_zoom_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/host_zoom_map.h
diff --git a/chrome/browser/host_zoom_map.h b/chrome/browser/host_zoom_map.h
index 85e02edcd0a78759285b697aae2160ac7f630947..ba318c088b0003ec56dfa9f7d32ef52644dbfbf8 100644
--- a/chrome/browser/host_zoom_map.h
+++ b/chrome/browser/host_zoom_map.h
@@ -50,7 +50,7 @@ class HostZoomMap :
// otherwise the new value is written out.
//
// This should only be called on the UI thread.
- void SetZoomLevel(const GURL& url, double level);
+ void SetZoomLevel(const GURL& url, int request_id, double level);
// Returns the temporary zoom level that's only valid for the lifetime of
// the given tab (i.e. isn't saved and doesn't affect other tabs) if it
@@ -66,6 +66,7 @@ class HostZoomMap :
// This should only be called on the UI thread.
void SetTemporaryZoomLevel(int render_process_id,
int render_view_id,
+ int request_id,
double level);
// Resets all zoom levels.
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/host_zoom_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698