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

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

Issue 2144733005: [WIP] cc: Plumb SurfaceId from clients Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only SurfaceFactoy and tests can update hierarchy Created 4 years, 5 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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 float /* page_scale_factor */) 1069 float /* page_scale_factor */)
1070 1070
1071 // Updates the minimum/maximum allowed zoom percent for this tab from the 1071 // Updates the minimum/maximum allowed zoom percent for this tab from the
1072 // default values. If |remember| is true, then the zoom setting is applied to 1072 // default values. If |remember| is true, then the zoom setting is applied to
1073 // other pages in the site and is saved, otherwise it only applies to this 1073 // other pages in the site and is saved, otherwise it only applies to this
1074 // tab. 1074 // tab.
1075 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, 1075 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits,
1076 int /* minimum_percent */, 1076 int /* minimum_percent */,
1077 int /* maximum_percent */) 1077 int /* maximum_percent */)
1078 1078
1079 IPC_MESSAGE_ROUTED3( 1079 IPC_MESSAGE_ROUTED4(
1080 ViewHostMsg_SwapCompositorFrame, 1080 ViewHostMsg_SwapCompositorFrame,
1081 uint32_t /* output_surface_id */, 1081 uint32_t /* output_surface_id */,
1082 cc::SurfaceId /* surface_id */,
1082 cc::CompositorFrame /* frame */, 1083 cc::CompositorFrame /* frame */,
1083 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) 1084 std::vector<IPC::Message> /* messages_to_deliver_with_frame */)
1084 1085
1085 // Send back a string to be recorded by UserMetrics. 1086 // Send back a string to be recorded by UserMetrics.
1086 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1087 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1087 std::string /* action */) 1088 std::string /* action */)
1088 1089
1089 // Notifies the browser of an event occurring in the media pipeline. 1090 // Notifies the browser of an event occurring in the media pipeline.
1090 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, 1091 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents,
1091 std::vector<media::MediaLogEvent> /* events */) 1092 std::vector<media::MediaLogEvent> /* events */)
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1179 int /* y */) 1180 int /* y */)
1180 1181
1181 #elif defined(OS_MACOSX) 1182 #elif defined(OS_MACOSX)
1182 // Receives content of a web page as plain text. 1183 // Receives content of a web page as plain text.
1183 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1184 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1184 #endif 1185 #endif
1185 1186
1186 // Adding a new message? Stick to the sort order above: first platform 1187 // Adding a new message? Stick to the sort order above: first platform
1187 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1188 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1188 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1189 // 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