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

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

Issue 1747283003: Remove redundant codepath for webgl api blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better handle 'exit_on_context_lost' Created 4 years, 9 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 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 bool /* cookies_enabled */) 1055 bool /* cookies_enabled */)
1056 1056
1057 // Sent by the renderer process to check whether client 3D APIs 1057 // Sent by the renderer process to check whether client 3D APIs
1058 // (Pepper 3D, WebGL) are explicitly blocked. 1058 // (Pepper 3D, WebGL) are explicitly blocked.
1059 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_Are3DAPIsBlocked, 1059 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_Are3DAPIsBlocked,
1060 int /* render_frame_id */, 1060 int /* render_frame_id */,
1061 GURL /* top_origin_url */, 1061 GURL /* top_origin_url */,
1062 content::ThreeDAPIType /* requester */, 1062 content::ThreeDAPIType /* requester */,
1063 bool /* blocked */) 1063 bool /* blocked */)
1064 1064
1065 // Sent by the renderer process to indicate that a context was lost by
1066 // client 3D content (Pepper 3D, WebGL) running on the page at the
1067 // given URL.
1068 IPC_MESSAGE_CONTROL3(FrameHostMsg_DidLose3DContext,
1069 GURL /* top_origin_url */,
1070 content::ThreeDAPIType /* context_type */,
1071 int /* arb_robustness_status_code */)
1072
1073 #if defined(ENABLE_PLUGINS) 1065 #if defined(ENABLE_PLUGINS)
1074 // Notification sent from a renderer to the browser that a Pepper plugin 1066 // Notification sent from a renderer to the browser that a Pepper plugin
1075 // instance is created in the DOM. 1067 // instance is created in the DOM.
1076 IPC_MESSAGE_ROUTED0(FrameHostMsg_PepperInstanceCreated) 1068 IPC_MESSAGE_ROUTED0(FrameHostMsg_PepperInstanceCreated)
1077 1069
1078 // Notification sent from a renderer to the browser that a Pepper plugin 1070 // Notification sent from a renderer to the browser that a Pepper plugin
1079 // instance is deleted from the DOM. 1071 // instance is deleted from the DOM.
1080 IPC_MESSAGE_ROUTED0(FrameHostMsg_PepperInstanceDeleted) 1072 IPC_MESSAGE_ROUTED0(FrameHostMsg_PepperInstanceDeleted)
1081 1073
1082 // Sent to the browser when the renderer detects it is blocked on a pepper 1074 // Sent to the browser when the renderer detects it is blocked on a pepper
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1445 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1454 int /* version */, 1446 int /* version */,
1455 std::vector<gfx::RectF> /* rects */, 1447 std::vector<gfx::RectF> /* rects */,
1456 gfx::RectF /* active_rect */) 1448 gfx::RectF /* active_rect */)
1457 #endif 1449 #endif
1458 1450
1459 // Adding a new message? Stick to the sort order above: first platform 1451 // Adding a new message? Stick to the sort order above: first platform
1460 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1452 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1461 // platform independent FrameHostMsg, then ifdefs for platform specific 1453 // platform independent FrameHostMsg, then ifdefs for platform specific
1462 // FrameHostMsg. 1454 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698