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

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

Issue 281663002: Create RenderFrameProxyHost at time of swap-out instead of commit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix IPC_BEGIN_MESSAGE_MAP macro, as _EX version doesn't exist anymore. Created 6 years, 7 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/content_renderer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 // The name of the frame associated with this view (or empty if none). 455 // The name of the frame associated with this view (or empty if none).
456 IPC_STRUCT_MEMBER(base::string16, frame_name) 456 IPC_STRUCT_MEMBER(base::string16, frame_name)
457 457
458 // The route ID of the opener RenderView if we need to set one 458 // The route ID of the opener RenderView if we need to set one
459 // (MSG_ROUTING_NONE otherwise). 459 // (MSG_ROUTING_NONE otherwise).
460 IPC_STRUCT_MEMBER(int, opener_route_id) 460 IPC_STRUCT_MEMBER(int, opener_route_id)
461 461
462 // Whether the RenderView should initially be swapped out. 462 // Whether the RenderView should initially be swapped out.
463 IPC_STRUCT_MEMBER(bool, swapped_out) 463 IPC_STRUCT_MEMBER(bool, swapped_out)
464 464
465 // The ID of the proxy object for the main frame in this view. It is only
466 // used if |swapped_out| is true.
467 IPC_STRUCT_MEMBER(int32, proxy_routing_id)
468
465 // Whether the RenderView should initially be hidden. 469 // Whether the RenderView should initially be hidden.
466 IPC_STRUCT_MEMBER(bool, hidden) 470 IPC_STRUCT_MEMBER(bool, hidden)
467 471
468 // Whether the RenderView will never be visible. 472 // Whether the RenderView will never be visible.
469 IPC_STRUCT_MEMBER(bool, never_visible) 473 IPC_STRUCT_MEMBER(bool, never_visible)
470 474
471 // Whether the window associated with this view was created with an opener. 475 // Whether the window associated with this view was created with an opener.
472 IPC_STRUCT_MEMBER(bool, window_was_created_with_opener) 476 IPC_STRUCT_MEMBER(bool, window_was_created_with_opener)
473 477
474 // The initial page ID to use for this view, which must be larger than any 478 // The initial page ID to use for this view, which must be larger than any
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 // synchronously (see crbug.com/120597). This IPC message sends the character 1764 // synchronously (see crbug.com/120597). This IPC message sends the character
1761 // bounds after every composition change to always have correct bound info. 1765 // bounds after every composition change to always have correct bound info.
1762 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1766 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1763 gfx::Range /* composition range */, 1767 gfx::Range /* composition range */,
1764 std::vector<gfx::Rect> /* character bounds */) 1768 std::vector<gfx::Rect> /* character bounds */)
1765 #endif 1769 #endif
1766 1770
1767 // Adding a new message? Stick to the sort order above: first platform 1771 // Adding a new message? Stick to the sort order above: first platform
1768 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1772 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1769 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1773 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698