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

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

Issue 23129015: Initialize RenderWidget(Host)(View)s with correct visibility state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 // The name of the frame associated with this view (or empty if none). 706 // The name of the frame associated with this view (or empty if none).
707 IPC_STRUCT_MEMBER(string16, frame_name) 707 IPC_STRUCT_MEMBER(string16, frame_name)
708 708
709 // The route ID of the opener RenderView if we need to set one 709 // The route ID of the opener RenderView if we need to set one
710 // (MSG_ROUTING_NONE otherwise). 710 // (MSG_ROUTING_NONE otherwise).
711 IPC_STRUCT_MEMBER(int, opener_route_id) 711 IPC_STRUCT_MEMBER(int, opener_route_id)
712 712
713 // Whether the RenderView should initially be swapped out. 713 // Whether the RenderView should initially be swapped out.
714 IPC_STRUCT_MEMBER(bool, swapped_out) 714 IPC_STRUCT_MEMBER(bool, swapped_out)
715 715
716 // Whether the RenderView should initially be hidden.
717 IPC_STRUCT_MEMBER(bool, hidden)
718
716 // The initial page ID to use for this view, which must be larger than any 719 // The initial page ID to use for this view, which must be larger than any
717 // existing navigation that might be loaded in the view. Page IDs are unique 720 // existing navigation that might be loaded in the view. Page IDs are unique
718 // to a view and are only updated by the renderer after this initial value. 721 // to a view and are only updated by the renderer after this initial value.
719 IPC_STRUCT_MEMBER(int32, next_page_id) 722 IPC_STRUCT_MEMBER(int32, next_page_id)
720 723
721 // The properties of the screen associated with the view. 724 // The properties of the screen associated with the view.
722 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) 725 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info)
723 726
724 // The accessibility mode of the renderer. 727 // The accessibility mode of the renderer.
725 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) 728 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
(...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after
2364 // synchronously (see crbug.com/120597). This IPC message sends the character 2367 // synchronously (see crbug.com/120597). This IPC message sends the character
2365 // bounds after every composition change to always have correct bound info. 2368 // bounds after every composition change to always have correct bound info.
2366 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2369 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2367 ui::Range /* composition range */, 2370 ui::Range /* composition range */,
2368 std::vector<gfx::Rect> /* character bounds */) 2371 std::vector<gfx::Rect> /* character bounds */)
2369 #endif 2372 #endif
2370 2373
2371 // Adding a new message? Stick to the sort order above: first platform 2374 // Adding a new message? Stick to the sort order above: first platform
2372 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2375 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2373 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2376 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698