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

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

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 // Sent by browser to tell renderer compositor that some resources that were 787 // Sent by browser to tell renderer compositor that some resources that were
788 // given to the browser in a swap are not being used anymore. 788 // given to the browser in a swap are not being used anymore.
789 // If this message is in response to a swap then is_swap_ack is set. 789 // If this message is in response to a swap then is_swap_ack is set.
790 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, 790 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources,
791 uint32_t /* compositor_frame_sink_id */, 791 uint32_t /* compositor_frame_sink_id */,
792 bool /* is_swap_ack */, 792 bool /* is_swap_ack */,
793 cc::ReturnedResourceArray /* resources */) 793 cc::ReturnedResourceArray /* resources */)
794 794
795 // Sent by browser to give renderer compositor a new namespace ID for any 795 // Sent by browser to give renderer compositor a new namespace ID for any
796 // SurfaceSequences it has to create. 796 // SurfaceSequences it has to create.
797 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId, 797 IPC_MESSAGE_ROUTED1(ViewMsg_SetFrameSinkId, cc::FrameSinkId /* frame_sink_id */)
798 uint32_t /* surface_id_namespace */)
799 798
800 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) 799 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
801 800
802 // Sent by the browser to ask the renderer to redraw. Robust to events that can 801 // Sent by the browser to ask the renderer to redraw. Robust to events that can
803 // happen in renderer (abortion of the commit or draw, loss of output surface 802 // happen in renderer (abortion of the commit or draw, loss of output surface
804 // etc.). 803 // etc.).
805 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, 804 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
806 ui::LatencyInfo /* latency_info */) 805 ui::LatencyInfo /* latency_info */)
807 806
808 // Let renderer know begin frame messages won't be sent even if requested. 807 // Let renderer know begin frame messages won't be sent even if requested.
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 int /* y */) 1155 int /* y */)
1157 1156
1158 #elif defined(OS_MACOSX) 1157 #elif defined(OS_MACOSX)
1159 // Receives content of a web page as plain text. 1158 // Receives content of a web page as plain text.
1160 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1159 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1161 #endif 1160 #endif
1162 1161
1163 // Adding a new message? Stick to the sort order above: first platform 1162 // Adding a new message? Stick to the sort order above: first platform
1164 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1163 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1165 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1164 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698