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

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: Tie opened_by_dom with opener. 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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // The route ID of the opener RenderView if we need to set one 486 // The route ID of the opener RenderView if we need to set one
487 // (MSG_ROUTING_NONE otherwise). 487 // (MSG_ROUTING_NONE otherwise).
488 IPC_STRUCT_MEMBER(int, opener_route_id) 488 IPC_STRUCT_MEMBER(int, opener_route_id)
489 489
490 // Whether the RenderView should initially be swapped out. 490 // Whether the RenderView should initially be swapped out.
491 IPC_STRUCT_MEMBER(bool, swapped_out) 491 IPC_STRUCT_MEMBER(bool, swapped_out)
492 492
493 // Whether the RenderView should initially be hidden. 493 // Whether the RenderView should initially be hidden.
494 IPC_STRUCT_MEMBER(bool, hidden) 494 IPC_STRUCT_MEMBER(bool, hidden)
495 495
496 // Whether the tab was created with an opener.
497 IPC_STRUCT_MEMBER(bool, created_with_opener)
498
496 // The initial page ID to use for this view, which must be larger than any 499 // The initial page ID to use for this view, which must be larger than any
497 // existing navigation that might be loaded in the view. Page IDs are unique 500 // existing navigation that might be loaded in the view. Page IDs are unique
498 // to a view and are only updated by the renderer after this initial value. 501 // to a view and are only updated by the renderer after this initial value.
499 IPC_STRUCT_MEMBER(int32, next_page_id) 502 IPC_STRUCT_MEMBER(int32, next_page_id)
500 503
501 // The properties of the screen associated with the view. 504 // The properties of the screen associated with the view.
502 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) 505 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info)
503 506
504 // The accessibility mode of the renderer. 507 // The accessibility mode of the renderer.
505 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) 508 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1900 // synchronously (see crbug.com/120597). This IPC message sends the character 1903 // synchronously (see crbug.com/120597). This IPC message sends the character
1901 // bounds after every composition change to always have correct bound info. 1904 // bounds after every composition change to always have correct bound info.
1902 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1905 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1903 gfx::Range /* composition range */, 1906 gfx::Range /* composition range */,
1904 std::vector<gfx::Rect> /* character bounds */) 1907 std::vector<gfx::Rect> /* character bounds */)
1905 #endif 1908 #endif
1906 1909
1907 // Adding a new message? Stick to the sort order above: first platform 1910 // Adding a new message? Stick to the sort order above: first platform
1908 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1911 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1909 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1912 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698