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

Unified Diff: content/common/frame_messages.h

Issue 1804023002: Fix page zoom to be frame-centric for out-of-process frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address alexmos@ comments, run two experiments. Created 4 years, 8 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/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index e1069a29d07debb43ebf242b7f2dafd56b94dac0..2a1a224aa391f01068e1ddb63a9460214290aec4 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -791,6 +791,14 @@ IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings,
// Posts a message from a frame in another process to the current renderer.
IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params)
+// Instructs the frame to set its zoom level to match the owning WebContents.
+IPC_MESSAGE_ROUTED2(FrameMsg_SetTemporaryZoomLevel,
+ double /* zoom_level*/,
+ bool /* is_temporary */)
+
+// Instructs the frame to set its zoom level to match the owning WebContents.
+IPC_MESSAGE_ROUTED1(FrameMsg_SetPageZoomLevel, double /* zoom_level*/)
+
#if defined(OS_ANDROID)
// Sent when the browser wants the bounding boxes of the current find matches.
//

Powered by Google App Engine
This is Rietveld 408576698