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