OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 2227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2238 bool /* blocked */) | 2238 bool /* blocked */) |
2239 | 2239 |
2240 // Sent by the renderer process to indicate that a context was lost by | 2240 // Sent by the renderer process to indicate that a context was lost by |
2241 // client 3D content (Pepper 3D, WebGL) running on the page at the | 2241 // client 3D content (Pepper 3D, WebGL) running on the page at the |
2242 // given URL. | 2242 // given URL. |
2243 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext, | 2243 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext, |
2244 GURL /* top_origin_url */, | 2244 GURL /* top_origin_url */, |
2245 content::ThreeDAPIType /* context_type */, | 2245 content::ThreeDAPIType /* context_type */, |
2246 int /* arb_robustness_status_code */) | 2246 int /* arb_robustness_status_code */) |
2247 | 2247 |
| 2248 // Sent by the renderer process to check whether WebGL extension |
| 2249 // WEBGL_debug_renderer_info is allowed for the given URL. |
| 2250 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IsWebGLDebugRendererInfoAllowed, |
| 2251 GURL /* top_origin_url */, |
| 2252 bool /* allowed */) |
| 2253 |
2248 // Notifies the browser that document has parsed the body. This is used by the | 2254 // Notifies the browser that document has parsed the body. This is used by the |
2249 // ResourceScheduler as an indication that bandwidth contention won't block | 2255 // ResourceScheduler as an indication that bandwidth contention won't block |
2250 // first paint. | 2256 // first paint. |
2251 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) | 2257 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) |
2252 | 2258 |
2253 // Notification that the urls for the favicon of a site has been determined. | 2259 // Notification that the urls for the favicon of a site has been determined. |
2254 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, | 2260 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, |
2255 int32 /* page_id */, | 2261 int32 /* page_id */, |
2256 std::vector<content::FaviconURL> /* candidates */) | 2262 std::vector<content::FaviconURL> /* candidates */) |
2257 | 2263 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2361 // synchronously (see crbug.com/120597). This IPC message sends the character | 2367 // synchronously (see crbug.com/120597). This IPC message sends the character |
2362 // bounds after every composition change to always have correct bound info. | 2368 // bounds after every composition change to always have correct bound info. |
2363 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2369 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2364 gfx::Range /* composition range */, | 2370 gfx::Range /* composition range */, |
2365 std::vector<gfx::Rect> /* character bounds */) | 2371 std::vector<gfx::Rect> /* character bounds */) |
2366 #endif | 2372 #endif |
2367 | 2373 |
2368 // Adding a new message? Stick to the sort order above: first platform | 2374 // Adding a new message? Stick to the sort order above: first platform |
2369 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2375 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2370 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2376 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |