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

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

Issue 19670007: Send input event's LatencyInfo back from renderer to browser when acked (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase & remove CrackMessage() Created 7 years, 4 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 input events and other messages that require processing in 5 // IPC messages for input events and other messages that require processing in
6 // order relative to input events. 6 // order relative to input events.
7 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 8
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult, 119 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult,
120 int /* request_id */, 120 int /* request_id */,
121 float /* x */, 121 float /* x */,
122 float /* y */) 122 float /* y */)
123 #endif 123 #endif
124 124
125 // ----------------------------------------------------------------------------- 125 // -----------------------------------------------------------------------------
126 // Messages sent from the renderer to the browser. 126 // Messages sent from the renderer to the browser.
127 127
128 // Acknowledges receipt of a InputMsg_HandleInputEvent message. 128 // Acknowledges receipt of a InputMsg_HandleInputEvent message.
129 IPC_MESSAGE_ROUTED2(InputHostMsg_HandleInputEvent_ACK, 129 IPC_MESSAGE_ROUTED3(InputHostMsg_HandleInputEvent_ACK,
130 WebKit::WebInputEvent::Type, 130 WebKit::WebInputEvent::Type,
131 content::InputEventAckState /* ack_result */) 131 content::InputEventAckState /* ack_result */,
132 ui::LatencyInfo /* latency_info */)
132 133
133 134
134 // Adding a new message? Stick to the sort order above: first platform 135 // Adding a new message? Stick to the sort order above: first platform
135 // independent InputMsg, then ifdefs for platform specific InputMsg, then 136 // independent InputMsg, then ifdefs for platform specific InputMsg, then
136 // platform independent InputHostMsg, then ifdefs for platform specific 137 // platform independent InputHostMsg, then ifdefs for platform specific
137 // InputHostMsg. 138 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698