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

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: s/render_view_host/GetRenderViewHost/ 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
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 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1763 // synchronously (see crbug.com/120597). This IPC message sends the character 1767 // synchronously (see crbug.com/120597). This IPC message sends the character
1764 // bounds after every composition change to always have correct bound info. 1768 // bounds after every composition change to always have correct bound info.
1765 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1769 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1766 gfx::Range /* composition range */, 1770 gfx::Range /* composition range */,
1767 std::vector<gfx::Rect> /* character bounds */) 1771 std::vector<gfx::Rect> /* character bounds */)
1768 #endif 1772 #endif
1769 1773
1770 // Adding a new message? Stick to the sort order above: first platform 1774 // Adding a new message? Stick to the sort order above: first platform
1771 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1775 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1772 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1776 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698