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

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

Issue 17757002: Add UMA/Telemetry stats for touch event latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move ACKED_COMPONENT && ComputeTouchLatency() to TouchEventQueue ; Merge FindLatency() with ToT Has… Created 7 years, 5 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 "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 296
297 IPC_STRUCT_TRAITS_BEGIN(ui::SelectedFileInfo) 297 IPC_STRUCT_TRAITS_BEGIN(ui::SelectedFileInfo)
298 IPC_STRUCT_TRAITS_MEMBER(file_path) 298 IPC_STRUCT_TRAITS_MEMBER(file_path)
299 IPC_STRUCT_TRAITS_MEMBER(local_path) 299 IPC_STRUCT_TRAITS_MEMBER(local_path)
300 IPC_STRUCT_TRAITS_MEMBER(display_name) 300 IPC_STRUCT_TRAITS_MEMBER(display_name)
301 IPC_STRUCT_TRAITS_END() 301 IPC_STRUCT_TRAITS_END()
302 302
303 IPC_STRUCT_TRAITS_BEGIN(content::BrowserRenderingStats) 303 IPC_STRUCT_TRAITS_BEGIN(content::BrowserRenderingStats)
304 IPC_STRUCT_TRAITS_MEMBER(input_event_count) 304 IPC_STRUCT_TRAITS_MEMBER(input_event_count)
305 IPC_STRUCT_TRAITS_MEMBER(total_input_latency) 305 IPC_STRUCT_TRAITS_MEMBER(total_input_latency)
306 IPC_STRUCT_TRAITS_MEMBER(touch_ui_count)
307 IPC_STRUCT_TRAITS_MEMBER(total_touch_ui_latency)
308 IPC_STRUCT_TRAITS_MEMBER(touch_acked_count)
309 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_latency)
306 IPC_STRUCT_TRAITS_END() 310 IPC_STRUCT_TRAITS_END()
307 311
308 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) 312 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params)
309 // Routing ID of the view initiating the open. 313 // Routing ID of the view initiating the open.
310 IPC_STRUCT_MEMBER(int, opener_id) 314 IPC_STRUCT_MEMBER(int, opener_id)
311 315
312 // True if this open request came in the context of a user gesture. 316 // True if this open request came in the context of a user gesture.
313 IPC_STRUCT_MEMBER(bool, user_gesture) 317 IPC_STRUCT_MEMBER(bool, user_gesture)
314 318
315 // Type of window requested. 319 // Type of window requested.
(...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after
2321 // Since the browser keeps handles to the allocated transport DIBs, this 2325 // Since the browser keeps handles to the allocated transport DIBs, this
2322 // message is sent to tell the browser that it may release them when the 2326 // message is sent to tell the browser that it may release them when the
2323 // renderer is finished with them. 2327 // renderer is finished with them.
2324 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2328 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2325 TransportDIB::Id /* DIB id */) 2329 TransportDIB::Id /* DIB id */)
2326 #endif 2330 #endif
2327 2331
2328 // Adding a new message? Stick to the sort order above: first platform 2332 // Adding a new message? Stick to the sort order above: first platform
2329 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2333 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2330 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2334 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698