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

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

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (Closed)
Patch Set: Rebase Created 3 years, 9 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 float /* page_scale_factor */) 789 float /* page_scale_factor */)
790 790
791 // Updates the minimum/maximum allowed zoom percent for this tab from the 791 // Updates the minimum/maximum allowed zoom percent for this tab from the
792 // default values. If |remember| is true, then the zoom setting is applied to 792 // default values. If |remember| is true, then the zoom setting is applied to
793 // other pages in the site and is saved, otherwise it only applies to this 793 // other pages in the site and is saved, otherwise it only applies to this
794 // tab. 794 // tab.
795 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, 795 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits,
796 int /* minimum_percent */, 796 int /* minimum_percent */,
797 int /* maximum_percent */) 797 int /* maximum_percent */)
798 798
799 IPC_MESSAGE_ROUTED3( 799 IPC_MESSAGE_ROUTED4(
800 ViewHostMsg_SwapCompositorFrame, 800 ViewHostMsg_SwapCompositorFrame,
801 uint32_t /* compositor_frame_sink_id */, 801 uint32_t /* compositor_frame_sink_id */,
802 cc::LocalSurfaceId /* local_surface_id */,
802 cc::CompositorFrame /* frame */, 803 cc::CompositorFrame /* frame */,
803 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) 804 std::vector<IPC::Message> /* messages_to_deliver_with_frame */)
804 805
805 // Send back a string to be recorded by UserMetrics. 806 // Send back a string to be recorded by UserMetrics.
806 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 807 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
807 std::string /* action */) 808 std::string /* action */)
808 809
809 // Notifies the browser of an event occurring in the media pipeline. 810 // Notifies the browser of an event occurring in the media pipeline.
810 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, 811 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents,
811 std::vector<media::MediaLogEvent> /* events */) 812 std::vector<media::MediaLogEvent> /* events */)
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 int /* y */) 885 int /* y */)
885 886
886 #elif defined(OS_MACOSX) 887 #elif defined(OS_MACOSX)
887 // Receives content of a web page as plain text. 888 // Receives content of a web page as plain text.
888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 889 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
889 #endif 890 #endif
890 891
891 // Adding a new message? Stick to the sort order above: first platform 892 // Adding a new message? Stick to the sort order above: first platform
892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 893 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 894 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698