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

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

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 2 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
« no previous file with comments | « content/common/gpu/client/DEPS ('k') | content/content_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "cc/ipc/cc_param_traits.h"
10 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
11 #include "content/common/content_param_traits.h" 12 #include "content/common/content_param_traits.h"
12 #include "content/common/css_colors.h" 13 #include "content/common/css_colors.h"
13 #include "content/common/edit_command.h" 14 #include "content/common/edit_command.h"
14 #include "content/common/navigation_gesture.h" 15 #include "content/common/navigation_gesture.h"
15 #include "content/common/view_message_enums.h" 16 #include "content/common/view_message_enums.h"
16 #include "content/public/common/common_param_traits.h" 17 #include "content/public/common/common_param_traits.h"
17 #include "content/public/common/context_menu_params.h" 18 #include "content/public/common/context_menu_params.h"
18 #include "content/public/common/file_chooser_params.h" 19 #include "content/public/common/file_chooser_params.h"
19 #include "content/public/common/frame_navigate_params.h" 20 #include "content/public/common/frame_navigate_params.h"
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 785
785 // The identifier in the embedder render process of the container hosting this 786 // The identifier in the embedder render process of the container hosting this
786 // guest RenderView. The embedder_channel_name and embedder_container_id 787 // guest RenderView. The embedder_channel_name and embedder_container_id
787 // together uniquely identify a browser plugin instance. 788 // together uniquely identify a browser plugin instance.
788 IPC_STRUCT_MEMBER(int, embedder_container_id) 789 IPC_STRUCT_MEMBER(int, embedder_container_id)
789 790
790 // The accessibility mode of the renderer. 791 // The accessibility mode of the renderer.
791 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) 792 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
792 IPC_STRUCT_END() 793 IPC_STRUCT_END()
793 794
795 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
796 IPC_STRUCT_TRAITS_MEMBER(id)
797 IPC_STRUCT_TRAITS_MEMBER(format)
798 IPC_STRUCT_TRAITS_MEMBER(size)
799 IPC_STRUCT_TRAITS_MEMBER(mailbox)
800 IPC_STRUCT_TRAITS_END()
801
802 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResourceList)
803 IPC_STRUCT_TRAITS_MEMBER(sync_point)
804 IPC_STRUCT_TRAITS_MEMBER(resources)
805 IPC_STRUCT_TRAITS_END()
806
807
794 // Messages sent from the browser to the renderer. 808 // Messages sent from the browser to the renderer.
795 809
796 // Sent to the RenderView when a new tab is swapped into an existing 810 // Sent to the RenderView when a new tab is swapped into an existing
797 // tab and the histories need to be merged. The existing tab has a history of 811 // tab and the histories need to be merged. The existing tab has a history of
798 // |merged_history_length| which precedes the history of the new tab. All 812 // |merged_history_length| which precedes the history of the new tab. All
799 // page_ids >= |minimum_page_id| in the new tab are appended to the history. 813 // page_ids >= |minimum_page_id| in the new tab are appended to the history.
800 // 814 //
801 // For example, suppose the history of page_ids in the new tab's RenderView 815 // For example, suppose the history of page_ids in the new tab's RenderView
802 // is [4 7 8]. This is merged into an existing tab with 3 history items, and 816 // is [4 7 8]. This is merged into an existing tab with 3 history items, and
803 // all pages in the new tab with page_id >= 7 are to be preserved. 817 // all pages in the new tab with page_id >= 7 are to be preserved.
(...skipping 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 // marker, in similarly normalized coords (or an empty rect if there isn't one). 2397 // marker, in similarly normalized coords (or an empty rect if there isn't one).
2384 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, 2398 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply,
2385 int /* version */, 2399 int /* version */,
2386 std::vector<gfx::RectF> /* rects */, 2400 std::vector<gfx::RectF> /* rects */,
2387 gfx::RectF /* active_rect */) 2401 gfx::RectF /* active_rect */)
2388 2402
2389 // Start an android intent with the given URI. 2403 // Start an android intent with the given URI.
2390 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, 2404 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent,
2391 GURL /* content_url */) 2405 GURL /* content_url */)
2392 #endif 2406 #endif
2407
2408 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame,
2409 cc::CompositorFrame /* frame */)
2410 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameACK,
2411 cc::CompositorFrameAck /* ack */)
OLDNEW
« no previous file with comments | « content/common/gpu/client/DEPS ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698