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

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

Issue 212703005: Preserve Page::openedByDOM state across process swaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Appease clang Created 6 years, 8 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 // The route ID of the opener RenderView if we need to set one 478 // The route ID of the opener RenderView if we need to set one
479 // (MSG_ROUTING_NONE otherwise). 479 // (MSG_ROUTING_NONE otherwise).
480 IPC_STRUCT_MEMBER(int, opener_route_id) 480 IPC_STRUCT_MEMBER(int, opener_route_id)
481 481
482 // Whether the RenderView should initially be swapped out. 482 // Whether the RenderView should initially be swapped out.
483 IPC_STRUCT_MEMBER(bool, swapped_out) 483 IPC_STRUCT_MEMBER(bool, swapped_out)
484 484
485 // Whether the RenderView should initially be hidden. 485 // Whether the RenderView should initially be hidden.
486 IPC_STRUCT_MEMBER(bool, hidden) 486 IPC_STRUCT_MEMBER(bool, hidden)
487 487
488 // Whether the window associated with this view was created with an opener.
489 IPC_STRUCT_MEMBER(bool, window_was_created_with_opener)
490
488 // The initial page ID to use for this view, which must be larger than any 491 // The initial page ID to use for this view, which must be larger than any
489 // existing navigation that might be loaded in the view. Page IDs are unique 492 // existing navigation that might be loaded in the view. Page IDs are unique
490 // to a view and are only updated by the renderer after this initial value. 493 // to a view and are only updated by the renderer after this initial value.
491 IPC_STRUCT_MEMBER(int32, next_page_id) 494 IPC_STRUCT_MEMBER(int32, next_page_id)
492 495
493 // The properties of the screen associated with the view. 496 // The properties of the screen associated with the view.
494 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) 497 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info)
495 498
496 // The accessibility mode of the renderer. 499 // The accessibility mode of the renderer.
497 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) 500 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1824 // synchronously (see crbug.com/120597). This IPC message sends the character 1827 // synchronously (see crbug.com/120597). This IPC message sends the character
1825 // bounds after every composition change to always have correct bound info. 1828 // bounds after every composition change to always have correct bound info.
1826 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1829 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1827 gfx::Range /* composition range */, 1830 gfx::Range /* composition range */,
1828 std::vector<gfx::Rect> /* character bounds */) 1831 std::vector<gfx::Rect> /* character bounds */)
1829 #endif 1832 #endif
1830 1833
1831 // Adding a new message? Stick to the sort order above: first platform 1834 // Adding a new message? Stick to the sort order above: first platform
1832 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1835 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1833 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1836 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698