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

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: Remove exceptions from IPC. 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 5505194094069fb349b16cd194f9ef61ca55a80a..501a6b72db33610fe876533eb9ff03e525250d24 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -681,11 +681,20 @@ 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.
+// Render views in the exception list do not have their levels changed.
IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL,
std::string /* scheme */,
std::string /* host */,
double /* zoom_level */)
+// Set whether a particular view uses a temporary zoom level.
+IPC_MESSAGE_ROUTED1(ViewMsg_SetUsesTemporaryZoomLevel,
+ bool /* uses_temporary_zoom_level */)
+
+// Set the zoom level for a particular render view.
+IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevelForView,
Fady Samuel 2014/06/10 20:05:14 These two IPCs are tightly coupled (see comments i
wjmaclean 2014/06/10 20:18:54 Except then we are forced to set a level when in m
+ double /* zoom_level */)
+
// Change encoding of page in the renderer.
IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
std::string /*new encoding name*/)

Powered by Google App Engine
This is Rietveld 408576698