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

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: Additions to HostZoomMap API. 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 4688fd6494f44ec7d8067b56b4ed2091186d31b6..94ab105a852ddc12b0875be230624382afe632a8 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -680,10 +680,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/09 15:43:21 It seems kind of heavy weight to iterate through a
wjmaclean 2014/06/09 17:23:29 Personally, I would think that a single IPC would
+
+// Set the zoom level for a particular render view.
+IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevelForView,
Fady Samuel 2014/06/09 15:43:21 To the comment above, the first parameter sets the
+ double /* zoom_level */)
// Change encoding of page in the renderer.
IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,

Powered by Google App Engine
This is Rietveld 408576698