| 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 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2242 bool /* blocked */) | 2242 bool /* blocked */) |
| 2243 | 2243 |
| 2244 // Sent by the renderer process to indicate that a context was lost by | 2244 // Sent by the renderer process to indicate that a context was lost by |
| 2245 // client 3D content (Pepper 3D, WebGL) running on the page at the | 2245 // client 3D content (Pepper 3D, WebGL) running on the page at the |
| 2246 // given URL. | 2246 // given URL. |
| 2247 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext, | 2247 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext, |
| 2248 GURL /* top_origin_url */, | 2248 GURL /* top_origin_url */, |
| 2249 content::ThreeDAPIType /* context_type */, | 2249 content::ThreeDAPIType /* context_type */, |
| 2250 int /* arb_robustness_status_code */) | 2250 int /* arb_robustness_status_code */) |
| 2251 | 2251 |
| 2252 // This message is sent when a frame is added to the DOM. | |
| 2253 IPC_MESSAGE_ROUTED3(ViewHostMsg_FrameAttached, | |
| 2254 int64 /* parent_frame_id*/, | |
| 2255 int64 /* frame_id */, | |
| 2256 std::string /* frame_name */) | |
| 2257 | |
| 2258 // Notifies the browser that the frame with the given id was detached. The | |
| 2259 // |parent_frame_id| is -1 for the top level frame, otherwise the id of the | |
| 2260 // immediate parent of the detached frame. | |
| 2261 IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameDetached, | |
| 2262 int64 /* parent_frame_id */, | |
| 2263 int64 /* frame_id */) | |
| 2264 | |
| 2265 // Notifies the browser that document has parsed the body. This is used by the | 2252 // Notifies the browser that document has parsed the body. This is used by the |
| 2266 // ResourceScheduler as an indication that bandwidth contention won't block | 2253 // ResourceScheduler as an indication that bandwidth contention won't block |
| 2267 // first paint. | 2254 // first paint. |
| 2268 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) | 2255 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) |
| 2269 | 2256 |
| 2270 // Notification that the urls for the favicon of a site has been determined. | 2257 // Notification that the urls for the favicon of a site has been determined. |
| 2271 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, | 2258 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, |
| 2272 int32 /* page_id */, | 2259 int32 /* page_id */, |
| 2273 std::vector<content::FaviconURL> /* candidates */) | 2260 std::vector<content::FaviconURL> /* candidates */) |
| 2274 | 2261 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2378 // synchronously (see crbug.com/120597). This IPC message sends the character | 2365 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2379 // bounds after every composition change to always have correct bound info. | 2366 // bounds after every composition change to always have correct bound info. |
| 2380 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2367 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2381 gfx::Range /* composition range */, | 2368 gfx::Range /* composition range */, |
| 2382 std::vector<gfx::Rect> /* character bounds */) | 2369 std::vector<gfx::Rect> /* character bounds */) |
| 2383 #endif | 2370 #endif |
| 2384 | 2371 |
| 2385 // Adding a new message? Stick to the sort order above: first platform | 2372 // Adding a new message? Stick to the sort order above: first platform |
| 2386 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2373 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2387 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2374 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |