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

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

Issue 2382873002: Replace usage of SurfaceId's client_id with FrameSinkId (Closed)
Patch Set: Rebased 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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 // Sent by browser to tell renderer compositor that some resources that were 642 // Sent by browser to tell renderer compositor that some resources that were
643 // given to the browser in a swap are not being used anymore. 643 // given to the browser in a swap are not being used anymore.
644 // If this message is in response to a swap then is_swap_ack is set. 644 // If this message is in response to a swap then is_swap_ack is set.
645 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, 645 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources,
646 uint32_t /* compositor_frame_sink_id */, 646 uint32_t /* compositor_frame_sink_id */,
647 bool /* is_swap_ack */, 647 bool /* is_swap_ack */,
648 cc::ReturnedResourceArray /* resources */) 648 cc::ReturnedResourceArray /* resources */)
649 649
650 // Sent by browser to give renderer compositor a new namespace ID for any 650 // Sent by browser to give renderer compositor a new namespace ID for any
651 // SurfaceSequences it has to create. 651 // SurfaceSequences it has to create.
652 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId, 652 IPC_MESSAGE_ROUTED1(ViewMsg_SetFrameSinkId, cc::FrameSinkId /* frame_sink_id */)
653 uint32_t /* surface_id_namespace */)
654 653
655 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) 654 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
656 655
657 // Sent by the browser to ask the renderer to redraw. Robust to events that can 656 // Sent by the browser to ask the renderer to redraw. Robust to events that can
658 // happen in renderer (abortion of the commit or draw, loss of output surface 657 // happen in renderer (abortion of the commit or draw, loss of output surface
659 // etc.). 658 // etc.).
660 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, 659 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
661 ui::LatencyInfo /* latency_info */) 660 ui::LatencyInfo /* latency_info */)
662 661
663 // Let renderer know begin frame messages won't be sent even if requested. 662 // Let renderer know begin frame messages won't be sent even if requested.
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 int /* y */) 1003 int /* y */)
1005 1004
1006 #elif defined(OS_MACOSX) 1005 #elif defined(OS_MACOSX)
1007 // Receives content of a web page as plain text. 1006 // Receives content of a web page as plain text.
1008 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1007 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1009 #endif 1008 #endif
1010 1009
1011 // Adding a new message? Stick to the sort order above: first platform 1010 // Adding a new message? Stick to the sort order above: first platform
1012 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1011 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1013 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1012 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698