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

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

Issue 2633303003: Clean up RenderWidgetHostView(ChildFrame and Guest) compositing code (Closed)
Patch Set: c Created 3 years, 11 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <set> 12 #include <set>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "cc/surfaces/surface_id.h" 17 #include "cc/surfaces/surface_id.h"
18 #include "cc/surfaces/surface_info.h"
18 #include "cc/surfaces/surface_sequence.h" 19 #include "cc/surfaces/surface_sequence.h"
19 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
20 #include "content/common/content_param_traits.h" 21 #include "content/common/content_param_traits.h"
21 #include "content/common/content_security_policy_header.h" 22 #include "content/common/content_security_policy_header.h"
22 #include "content/common/download/mhtml_save_status.h" 23 #include "content/common/download/mhtml_save_status.h"
23 #include "content/common/frame_message_enums.h" 24 #include "content/common/frame_message_enums.h"
24 #include "content/common/frame_owner_properties.h" 25 #include "content/common/frame_owner_properties.h"
25 #include "content/common/frame_replication_state.h" 26 #include "content/common/frame_replication_state.h"
26 #include "content/common/navigation_gesture.h" 27 #include "content/common/navigation_gesture.h"
27 #include "content/common/navigation_params.h" 28 #include "content/common/navigation_params.h"
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) 604 IPC_STRUCT_TRAITS_MEMBER(render_frame_id)
604 IPC_STRUCT_TRAITS_MEMBER(document_url) 605 IPC_STRUCT_TRAITS_MEMBER(document_url)
605 IPC_STRUCT_TRAITS_MEMBER(plugin_url) 606 IPC_STRUCT_TRAITS_MEMBER(plugin_url)
606 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context) 607 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context)
607 IPC_STRUCT_TRAITS_END() 608 IPC_STRUCT_TRAITS_END()
608 #endif 609 #endif
609 610
610 // ----------------------------------------------------------------------------- 611 // -----------------------------------------------------------------------------
611 // Messages sent from the browser to the renderer. 612 // Messages sent from the browser to the renderer.
612 613
613 IPC_MESSAGE_ROUTED4(FrameMsg_SetChildFrameSurface, 614 IPC_MESSAGE_ROUTED2(FrameMsg_SetChildFrameSurface,
614 cc::SurfaceId /* surface_id */, 615 cc::SurfaceInfo /* surface_info */,
615 gfx::Size /* frame_size */,
616 float /* scale_factor */,
617 cc::SurfaceSequence /* sequence */) 616 cc::SurfaceSequence /* sequence */)
618 617
619 // Notifies the embedding frame that the process rendering the child frame's 618 // Notifies the embedding frame that the process rendering the child frame's
620 // contents has terminated. 619 // contents has terminated.
621 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone) 620 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone)
622 621
623 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that 622 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that
624 // the menu has been closed. 623 // the menu has been closed.
625 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, 624 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed,
626 content::CustomContextMenuContext /* custom_context */) 625 content::CustomContextMenuContext /* custom_context */)
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 // nearest find result in the sending frame. 1553 // nearest find result in the sending frame.
1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1554 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1556 int /* nfr_request_id */, 1555 int /* nfr_request_id */,
1557 float /* distance */) 1556 float /* distance */)
1558 #endif 1557 #endif
1559 1558
1560 // Adding a new message? Stick to the sort order above: first platform 1559 // Adding a new message? Stick to the sort order above: first platform
1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1560 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1562 // platform independent FrameHostMsg, then ifdefs for platform specific 1561 // platform independent FrameHostMsg, then ifdefs for platform specific
1563 // FrameHostMsg. 1562 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698