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

Unified Diff: content/common/view_messages.h

Issue 302603012: Zoom Extension API (content changes) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 6 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 | « content/browser/host_zoom_map_impl.cc ('k') | content/public/browser/host_zoom_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 5505194094069fb349b16cd194f9ef61ca55a80a..b5e3998145226348794b4fe55d7be9e0683199ca 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -681,10 +681,16 @@ IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL,
// Set the zoom level for a particular url, so all render views
// displaying this url can update their zoom levels to match.
// If scheme is empty, then only host is used for matching.
-IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL,
+// Render views in the exception list do not have their levels changed.
+IPC_MESSAGE_CONTROL4(ViewMsg_SetZoomLevelForCurrentURL,
std::string /* scheme */,
std::string /* host */,
- double /* zoom_level */)
+ double /* zoom_level */,
+ std::set<int> /* exceptions */)
Fady Samuel 2014/06/10 14:24:27 I'm still not particularly comfortable about this
+
+// Set the zoom level for a particular render view.
+IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevelForView,
+ double /* zoom_level */)
// Change encoding of page in the renderer.
IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
« no previous file with comments | « content/browser/host_zoom_map_impl.cc ('k') | content/public/browser/host_zoom_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698