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

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

Issue 2789773003: Send FrameSwapMessageQueue's messages with a separate IPC (Closed)
Patch Set: rebased 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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 int /* minimum_percent */, 796 int /* minimum_percent */,
797 int /* maximum_percent */) 797 int /* maximum_percent */)
798 798
799 IPC_MESSAGE_ROUTED4( 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::LocalSurfaceId /* local_surface_id */,
803 cc::CompositorFrame /* frame */, 803 cc::CompositorFrame /* frame */,
804 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) 804 std::vector<IPC::Message> /* messages_to_deliver_with_frame */)
805 805
806 IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameSwapMessages,
Fady Samuel 2017/03/31 16:45:14 I really don't like this name...I don't like "swap
Saman Sami 2017/04/03 19:22:28 I chose that name because of FrameSwapMessageQueue
807 uint32_t /* frame_id */,
808 std::vector<IPC::Message> /* messages */)
809
806 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no 810 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no
807 // updates were required or because it was aborted in the renderer). 811 // updates were required or because it was aborted in the renderer).
808 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap, 812 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap,
809 cc::BeginFrameAck /* ack */) 813 cc::BeginFrameAck /* ack */)
810 814
811 // Send back a string to be recorded by UserMetrics. 815 // Send back a string to be recorded by UserMetrics.
812 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 816 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
813 std::string /* action */) 817 std::string /* action */)
814 818
815 // Notifies the browser of an event occurring in the media pipeline. 819 // Notifies the browser of an event occurring in the media pipeline.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 int /* y */) 888 int /* y */)
885 889
886 #elif defined(OS_MACOSX) 890 #elif defined(OS_MACOSX)
887 // Receives content of a web page as plain text. 891 // Receives content of a web page as plain text.
888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 892 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
889 #endif 893 #endif
890 894
891 // Adding a new message? Stick to the sort order above: first platform 895 // Adding a new message? Stick to the sort order above: first platform
892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 896 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 897 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698