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

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

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
Patch Set: Address Brian's comments. Created 4 years 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 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, 821 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits,
822 int /* minimum_percent */, 822 int /* minimum_percent */,
823 int /* maximum_percent */) 823 int /* maximum_percent */)
824 824
825 IPC_MESSAGE_ROUTED3( 825 IPC_MESSAGE_ROUTED3(
826 ViewHostMsg_SwapCompositorFrame, 826 ViewHostMsg_SwapCompositorFrame,
827 uint32_t /* compositor_frame_sink_id */, 827 uint32_t /* compositor_frame_sink_id */,
828 cc::CompositorFrame /* frame */, 828 cc::CompositorFrame /* frame */,
829 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) 829 std::vector<IPC::Message> /* messages_to_deliver_with_frame */)
830 830
831 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no
832 // updates were required or because it was aborted in the renderer).
833 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotDraw,
834 cc::BeginFrameAck /* ack */)
835
831 // Send back a string to be recorded by UserMetrics. 836 // Send back a string to be recorded by UserMetrics.
832 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 837 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
833 std::string /* action */) 838 std::string /* action */)
834 839
835 // Notifies the browser of an event occurring in the media pipeline. 840 // Notifies the browser of an event occurring in the media pipeline.
836 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, 841 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents,
837 std::vector<media::MediaLogEvent> /* events */) 842 std::vector<media::MediaLogEvent> /* events */)
838 843
839 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 844 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
840 // being sent back. 845 // being sent back.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 int /* y */) 930 int /* y */)
926 931
927 #elif defined(OS_MACOSX) 932 #elif defined(OS_MACOSX)
928 // Receives content of a web page as plain text. 933 // Receives content of a web page as plain text.
929 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 934 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
930 #endif 935 #endif
931 936
932 // Adding a new message? Stick to the sort order above: first platform 937 // Adding a new message? Stick to the sort order above: first platform
933 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 938 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
934 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 939 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698