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

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

Issue 23841002: Create a new RenderFrameHost per child frame when --site-per-process is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and add some comments. Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
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 2217 matching lines...) Expand 10 before | Expand all | Expand 10 after
2228 bool /* blocked */) 2228 bool /* blocked */)
2229 2229
2230 // Sent by the renderer process to indicate that a context was lost by 2230 // Sent by the renderer process to indicate that a context was lost by
2231 // client 3D content (Pepper 3D, WebGL) running on the page at the 2231 // client 3D content (Pepper 3D, WebGL) running on the page at the
2232 // given URL. 2232 // given URL.
2233 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext, 2233 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext,
2234 GURL /* top_origin_url */, 2234 GURL /* top_origin_url */,
2235 content::ThreeDAPIType /* context_type */, 2235 content::ThreeDAPIType /* context_type */,
2236 int /* arb_robustness_status_code */) 2236 int /* arb_robustness_status_code */)
2237 2237
2238 // This message is sent when a frame is added to the DOM.
2239 IPC_MESSAGE_ROUTED3(ViewHostMsg_FrameAttached,
2240 int64 /* parent_frame_id*/,
2241 int64 /* frame_id */,
2242 std::string /* frame_name */)
2243
2244 // Notifies the browser that the frame with the given id was detached. The
2245 // |parent_frame_id| is -1 for the top level frame, otherwise the id of the
2246 // immediate parent of the detached frame.
2247 IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameDetached,
2248 int64 /* parent_frame_id */,
2249 int64 /* frame_id */)
2250
2251 // Notifies the browser that document has parsed the body. This is used by the 2238 // Notifies the browser that document has parsed the body. This is used by the
2252 // ResourceScheduler as an indication that bandwidth contention won't block 2239 // ResourceScheduler as an indication that bandwidth contention won't block
2253 // first paint. 2240 // first paint.
2254 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) 2241 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody)
2255 2242
2256 // Notification that the urls for the favicon of a site has been determined. 2243 // Notification that the urls for the favicon of a site has been determined.
2257 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, 2244 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL,
2258 int32 /* page_id */, 2245 int32 /* page_id */,
2259 std::vector<content::FaviconURL> /* candidates */) 2246 std::vector<content::FaviconURL> /* candidates */)
2260 2247
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 // synchronously (see crbug.com/120597). This IPC message sends the character 2356 // synchronously (see crbug.com/120597). This IPC message sends the character
2370 // bounds after every composition change to always have correct bound info. 2357 // bounds after every composition change to always have correct bound info.
2371 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2358 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2372 gfx::Range /* composition range */, 2359 gfx::Range /* composition range */,
2373 std::vector<gfx::Rect> /* character bounds */) 2360 std::vector<gfx::Rect> /* character bounds */)
2374 #endif 2361 #endif
2375 2362
2376 // Adding a new message? Stick to the sort order above: first platform 2363 // Adding a new message? Stick to the sort order above: first platform
2377 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2364 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2378 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2365 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698