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

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

Issue 2789773003: Send FrameSwapMessageQueue's messages with a separate IPC (Closed)
Patch Set: Fix rebase mistake Created 3 years, 8 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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 float /* page_scale_factor */) 797 float /* page_scale_factor */)
798 798
799 // Updates the minimum/maximum allowed zoom percent for this tab from the 799 // Updates the minimum/maximum allowed zoom percent for this tab from the
800 // default values. If |remember| is true, then the zoom setting is applied to 800 // default values. If |remember| is true, then the zoom setting is applied to
801 // other pages in the site and is saved, otherwise it only applies to this 801 // other pages in the site and is saved, otherwise it only applies to this
802 // tab. 802 // tab.
803 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, 803 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits,
804 int /* minimum_percent */, 804 int /* minimum_percent */,
805 int /* maximum_percent */) 805 int /* maximum_percent */)
806 806
807 IPC_MESSAGE_ROUTED4( 807 IPC_MESSAGE_ROUTED3(ViewHostMsg_SwapCompositorFrame,
808 ViewHostMsg_SwapCompositorFrame, 808 uint32_t /* compositor_frame_sink_id */,
809 uint32_t /* compositor_frame_sink_id */, 809 cc::LocalSurfaceId /* local_surface_id */,
810 cc::LocalSurfaceId /* local_surface_id */, 810 cc::CompositorFrame /* frame */)
811 cc::CompositorFrame /* frame */, 811
812 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) 812 IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameSwapMessages,
813 uint32_t /* frame_token */,
814 std::vector<IPC::Message> /* messages */)
813 815
814 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no 816 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no
815 // updates were required or because it was aborted in the renderer). 817 // updates were required or because it was aborted in the renderer).
816 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap, 818 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap,
817 cc::BeginFrameAck /* ack */) 819 cc::BeginFrameAck /* ack */)
818 820
819 // Send back a string to be recorded by UserMetrics. 821 // Send back a string to be recorded by UserMetrics.
820 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 822 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
821 std::string /* action */) 823 std::string /* action */)
822 824
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 int /* y */) 894 int /* y */)
893 895
894 #elif defined(OS_MACOSX) 896 #elif defined(OS_MACOSX)
895 // Receives content of a web page as plain text. 897 // Receives content of a web page as plain text.
896 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 898 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
897 #endif 899 #endif
898 900
899 // Adding a new message? Stick to the sort order above: first platform 901 // Adding a new message? Stick to the sort order above: first platform
900 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 902 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
901 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 903 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | content/renderer/gpu/frame_swap_message_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698