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

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

Issue 2789773003: Send FrameSwapMessageQueue's messages with a separate IPC (Closed)
Patch Set: c 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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_ROUTED4(
808 ViewHostMsg_SwapCompositorFrame, 808 ViewHostMsg_SwapCompositorFrame,
809 uint32_t /* compositor_frame_sink_id */, 809 uint32_t /* compositor_frame_sink_id */,
810 cc::LocalSurfaceId /* local_surface_id */, 810 cc::LocalSurfaceId /* local_surface_id */,
811 cc::CompositorFrame /* frame */, 811 cc::CompositorFrame /* frame */,
812 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) 812 std::vector<IPC::Message> /* messages_to_deliver_with_frame */)
813 813
814 IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameSwapMessages,
815 uint32_t /* frame_id */,
816 std::vector<IPC::Message> /* messages */)
817
814 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no 818 // 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). 819 // updates were required or because it was aborted in the renderer).
816 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap, 820 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap,
817 cc::BeginFrameAck /* ack */) 821 cc::BeginFrameAck /* ack */)
818 822
819 // Send back a string to be recorded by UserMetrics. 823 // Send back a string to be recorded by UserMetrics.
820 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 824 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
821 std::string /* action */) 825 std::string /* action */)
822 826
823 // Notifies the browser of an event occurring in the media pipeline. 827 // Notifies the browser of an event occurring in the media pipeline.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 int /* y */) 896 int /* y */)
893 897
894 #elif defined(OS_MACOSX) 898 #elif defined(OS_MACOSX)
895 // Receives content of a web page as plain text. 899 // Receives content of a web page as plain text.
896 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 900 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
897 #endif 901 #endif
898 902
899 // Adding a new message? Stick to the sort order above: first platform 903 // Adding a new message? Stick to the sort order above: first platform
900 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 904 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
901 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 905 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698