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

Unified Diff: chrome/common/render_messages_internal.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/common/extensions/docs/examples/api/tabs/zoom/popup.html ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index dada88c3bd61d644cf347a9a91d446c57a98d202..193d0fcdb7f63833b83827aa08122d331275e0f6 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -424,7 +424,8 @@ IPC_MESSAGE_ROUTED1(ViewMsg_Zoom,
// Set the zoom level for the current main frame. If the level actually
// changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser
// telling it what url got zoomed and what its current zoom level is.
-IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevel,
+IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevel,
+ int /* request_id */,
double /* zoom_level */)
// Set the zoom level for a particular url that the renderer is in the
@@ -1879,7 +1880,8 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK,
// browser can update its records. If remember is true, then url is used to
// update the zoom level for all pages in that site. Otherwise, the render
// view's id is used so that only the menu is updated.
-IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL,
+IPC_MESSAGE_ROUTED4(ViewHostMsg_DidZoomURL,
+ int /* request_id */,
double /* zoom_level */,
bool /* remember */,
GURL /* url */)
« no previous file with comments | « chrome/common/extensions/docs/examples/api/tabs/zoom/popup.html ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698