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

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

Issue 13931009: Add latency info to input events sent to RenderWidget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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 "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 860
861 // Tells the render view that a SwapBuffers was completed. Typically, 861 // Tells the render view that a SwapBuffers was completed. Typically,
862 // SwapBuffers requests go from renderer -> GPU process -> browser. Most 862 // SwapBuffers requests go from renderer -> GPU process -> browser. Most
863 // platforms still use the GfxCxt3D Echo for receiving the SwapBuffers Ack. 863 // platforms still use the GfxCxt3D Echo for receiving the SwapBuffers Ack.
864 // Using Echo routes the ack from browser -> GPU process -> renderer, while this 864 // Using Echo routes the ack from browser -> GPU process -> renderer, while this
865 // Ack goes directly from browser -> renderer. This is not used for the threaded 865 // Ack goes directly from browser -> renderer. This is not used for the threaded
866 // compositor path. 866 // compositor path.
867 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK) 867 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK)
868 868
869 // Sends an input event to the render widget. 869 // Sends an input event to the render widget.
870 IPC_MESSAGE_ROUTED2(ViewMsg_HandleInputEvent, 870 IPC_MESSAGE_ROUTED3(ViewMsg_HandleInputEvent,
871 IPC::WebInputEventPointer /* event */, 871 IPC::WebInputEventPointer /* event */,
872 cc::LatencyInfo /* latency_info */,
872 bool /* is_keyboard_shortcut */) 873 bool /* is_keyboard_shortcut */)
873 874
874 // Tells the render widget that a smooth scroll completed. 875 // Tells the render widget that a smooth scroll completed.
875 IPC_MESSAGE_ROUTED1(ViewMsg_SmoothScrollCompleted, 876 IPC_MESSAGE_ROUTED1(ViewMsg_SmoothScrollCompleted,
876 int /* gesture_id */) 877 int /* gesture_id */)
877 878
878 // This message notifies the renderer that the next key event is bound to one 879 // This message notifies the renderer that the next key event is bound to one
879 // or more pre-defined edit commands. If the next key event is not handled 880 // or more pre-defined edit commands. If the next key event is not handled
880 // by webkit, the specified edit commands shall be executed against current 881 // by webkit, the specified edit commands shall be executed against current
881 // focused frame. 882 // focused frame.
(...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2402 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2403 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2403 // for details. 2404 // for details.
2404 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2405 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2405 LOGFONT /* font_data */, 2406 LOGFONT /* font_data */,
2406 string16 /* characters */) 2407 string16 /* characters */)
2407 #endif 2408 #endif
2408 2409
2409 // Adding a new message? Stick to the sort order above: first platform 2410 // Adding a new message? Stick to the sort order above: first platform
2410 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2411 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2411 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2412 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698