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

Side by Side Diff: content/common/frame_messages.h

Issue 2652643004: Make PageScaleFactor work for oopif subframes.
Patch Set: Fix patch gardening error: GesturePinch routing tests. Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 // ScopedPageLoadDeferrer is on the stack for SwapOut. 935 // ScopedPageLoadDeferrer is on the stack for SwapOut.
936 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) 936 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs)
937 937
938 // Tells the frame to consider itself to have received a user gesture (based 938 // Tells the frame to consider itself to have received a user gesture (based
939 // on a user gesture processed in a different process). 939 // on a user gesture processed in a different process).
940 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) 940 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture)
941 941
942 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, 942 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse,
943 std::vector<content::FileChooserFileInfo>) 943 std::vector<content::FileChooserFileInfo>)
944 944
945 IPC_MESSAGE_ROUTED1(FrameHostMsg_RestorePageScaleFactorOnLoad,
kenrb 2017/01/24 17:13:27 nit: This could use a comment.
wjmaclean 2017/01/24 18:24:26 Done.
946 float /* page_scale */)
947
945 // ----------------------------------------------------------------------------- 948 // -----------------------------------------------------------------------------
946 // Messages sent from the renderer to the browser. 949 // Messages sent from the renderer to the browser.
947 950
948 // Blink and JavaScript error messages to log to the console 951 // Blink and JavaScript error messages to log to the console
949 // or debugger UI. 952 // or debugger UI.
950 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, 953 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole,
951 int32_t, /* log level */ 954 int32_t, /* log level */
952 base::string16, /* msg */ 955 base::string16, /* msg */
953 int32_t, /* line number */ 956 int32_t, /* line number */
954 base::string16 /* source id */) 957 base::string16 /* source id */)
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 // nearest find result in the sending frame. 1557 // nearest find result in the sending frame.
1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1558 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1556 int /* nfr_request_id */, 1559 int /* nfr_request_id */,
1557 float /* distance */) 1560 float /* distance */)
1558 #endif 1561 #endif
1559 1562
1560 // Adding a new message? Stick to the sort order above: first platform 1563 // Adding a new message? Stick to the sort order above: first platform
1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1564 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1562 // platform independent FrameHostMsg, then ifdefs for platform specific 1565 // platform independent FrameHostMsg, then ifdefs for platform specific
1563 // FrameHostMsg. 1566 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698