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

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 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no 806 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no
806 // updates were required or because it was aborted in the renderer). 807 // updates were required or because it was aborted in the renderer).
807 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap, 808 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap,
808 cc::BeginFrameAck /* ack */) 809 cc::BeginFrameAck /* ack */)
809 810
810 // Send back a string to be recorded by UserMetrics. 811 // Send back a string to be recorded by UserMetrics.
811 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 812 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 int /* y */) 890 int /* y */)
890 891
891 #elif defined(OS_MACOSX) 892 #elif defined(OS_MACOSX)
892 // Receives content of a web page as plain text. 893 // Receives content of a web page as plain text.
893 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 894 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
894 #endif 895 #endif
895 896
896 // Adding a new message? Stick to the sort order above: first platform 897 // Adding a new message? Stick to the sort order above: first platform
897 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 898 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
898 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 899 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698