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

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: Use ContainsKey(), send host zoom level if it exists. 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 b9abc84476cf0941260557315df2489834e08394..790368bf65a5cf2ef9f603356cacb062fe6ac70a 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -681,11 +681,17 @@ 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.
Fady Samuel 2014/06/12 19:43:18 Remove this comment, as its no longer relevant.
wjmaclean 2014/06/12 19:58:19 Done.
IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL,
std::string /* scheme */,
std::string /* host */,
double /* zoom_level */)
+// Set the zoom level for a particular render view.
+IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForView,
+ bool /* uses_temporary_zoom_level */,
+ 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