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

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: Ready for review 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 439
440 // Preferences for this view. 440 // Preferences for this view.
441 IPC_STRUCT_MEMBER(WebPreferences, web_preferences) 441 IPC_STRUCT_MEMBER(WebPreferences, web_preferences)
442 442
443 // The ID of the view to be created. 443 // The ID of the view to be created.
444 IPC_STRUCT_MEMBER(int32, view_id) 444 IPC_STRUCT_MEMBER(int32, view_id)
445 445
446 // The ID of the main frame hosted in the view. 446 // The ID of the main frame hosted in the view.
447 IPC_STRUCT_MEMBER(int32, main_frame_routing_id) 447 IPC_STRUCT_MEMBER(int32, main_frame_routing_id)
448 448
449 // The ID of the proxy object for the main frame in this view. It is only
450 // used if |swapped_out| is true.
Charlie Reis 2014/05/15 00:32:50 Maybe it should be declared just below swapped_out
nasko 2014/05/15 18:47:13 It made sense to group it with all routing ids. If
451 IPC_STRUCT_MEMBER(int32, proxy_routing_id)
452
449 // The ID of the rendering surface. 453 // The ID of the rendering surface.
450 IPC_STRUCT_MEMBER(int32, surface_id) 454 IPC_STRUCT_MEMBER(int32, surface_id)
451 455
452 // The session storage namespace ID this view should use. 456 // The session storage namespace ID this view should use.
453 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) 457 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id)
454 458
455 // The name of the frame associated with this view (or empty if none). 459 // The name of the frame associated with this view (or empty if none).
456 IPC_STRUCT_MEMBER(base::string16, frame_name) 460 IPC_STRUCT_MEMBER(base::string16, frame_name)
457 461
458 // The route ID of the opener RenderView if we need to set one 462 // The route ID of the opener RenderView if we need to set one
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 // synchronously (see crbug.com/120597). This IPC message sends the character 1768 // synchronously (see crbug.com/120597). This IPC message sends the character
1765 // bounds after every composition change to always have correct bound info. 1769 // bounds after every composition change to always have correct bound info.
1766 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1770 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1767 gfx::Range /* composition range */, 1771 gfx::Range /* composition range */,
1768 std::vector<gfx::Rect> /* character bounds */) 1772 std::vector<gfx::Rect> /* character bounds */)
1769 #endif 1773 #endif
1770 1774
1771 // Adding a new message? Stick to the sort order above: first platform 1775 // Adding a new message? Stick to the sort order above: first platform
1772 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1776 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1773 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1777 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698