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

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

Issue 1849013004: Fix JavaScript alerts from frames with oopif on, after a cross-process click. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@alertfix
Patch Set: fixes 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 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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 #if defined(ENABLE_PLUGINS) 877 #if defined(ENABLE_PLUGINS)
878 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. 878 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist.
879 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, 879 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,
880 std::set<url::Origin> /* origin_whitelist */) 880 std::set<url::Origin> /* origin_whitelist */)
881 #endif // defined(ENABLE_PLUGINS) 881 #endif // defined(ENABLE_PLUGINS)
882 882
883 // Used to instruct the RenderFrame to go into "view source" mode. This should 883 // Used to instruct the RenderFrame to go into "view source" mode. This should
884 // only be sent to the main frame. 884 // only be sent to the main frame.
885 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) 885 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode)
886 886
887 // Tells the frame to suppress any further modal dialogs. This ensures that no
888 // ScopedPageLoadDeferrer is on the stack for SwapOut.
889 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs)
890
887 // ----------------------------------------------------------------------------- 891 // -----------------------------------------------------------------------------
888 // Messages sent from the renderer to the browser. 892 // Messages sent from the renderer to the browser.
889 893
890 // Blink and JavaScript error messages to log to the console 894 // Blink and JavaScript error messages to log to the console
891 // or debugger UI. 895 // or debugger UI.
892 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, 896 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole,
893 int32_t, /* log level */ 897 int32_t, /* log level */
894 base::string16, /* msg */ 898 base::string16, /* msg */
895 int32_t, /* line number */ 899 int32_t, /* line number */
896 base::string16 /* source id */) 900 base::string16 /* source id */)
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1450 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1447 int /* version */, 1451 int /* version */,
1448 std::vector<gfx::RectF> /* rects */, 1452 std::vector<gfx::RectF> /* rects */,
1449 gfx::RectF /* active_rect */) 1453 gfx::RectF /* active_rect */)
1450 #endif 1454 #endif
1451 1455
1452 // Adding a new message? Stick to the sort order above: first platform 1456 // Adding a new message? Stick to the sort order above: first platform
1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1457 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1454 // platform independent FrameHostMsg, then ifdefs for platform specific 1458 // platform independent FrameHostMsg, then ifdefs for platform specific
1455 // FrameHostMsg. 1459 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_browsertest.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698