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

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

Issue 1971023006: Add begin frame paused to android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 uint32_t /* surface_id_namespace */) 862 uint32_t /* surface_id_namespace */)
863 863
864 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) 864 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
865 865
866 // Sent by the browser to ask the renderer to redraw. 866 // Sent by the browser to ask the renderer to redraw.
867 // If |request_id| is not zero, it is added to the forced frame's latency info 867 // If |request_id| is not zero, it is added to the forced frame's latency info
868 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. 868 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT.
869 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, 869 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
870 int /* request_id */) 870 int /* request_id */)
871 871
872 // Let renderer know begin frame messages won't be sent even if requested.
873 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */)
874
872 // Sent by the browser when the renderer should generate a new frame. 875 // Sent by the browser when the renderer should generate a new frame.
873 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, 876 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame,
874 cc::BeginFrameArgs /* args */) 877 cc::BeginFrameArgs /* args */)
875 878
876 // Sent by the browser to deliver a compositor proto to the renderer. 879 // Sent by the browser to deliver a compositor proto to the renderer.
877 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, 880 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto,
878 std::vector<uint8_t> /* proto */) 881 std::vector<uint8_t> /* proto */)
879 882
880 // ----------------------------------------------------------------------------- 883 // -----------------------------------------------------------------------------
881 // Messages sent from the renderer to the browser. 884 // Messages sent from the renderer to the browser.
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 int /* y */) 1250 int /* y */)
1248 1251
1249 #elif defined(OS_MACOSX) 1252 #elif defined(OS_MACOSX)
1250 // Receives content of a web page as plain text. 1253 // Receives content of a web page as plain text.
1251 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1254 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1252 #endif 1255 #endif
1253 1256
1254 // Adding a new message? Stick to the sort order above: first platform 1257 // Adding a new message? Stick to the sort order above: first platform
1255 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1258 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1256 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1259 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698