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

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: Created 7 years, 6 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_system_count)
307 IPC_STRUCT_TRAITS_MEMBER(total_touch_system_latency)
308 IPC_STRUCT_TRAITS_MEMBER(touch_ui_count)
309 IPC_STRUCT_TRAITS_MEMBER(total_touch_ui_latency)
310 IPC_STRUCT_TRAITS_MEMBER(touch_acked_consumed_count)
311 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_consumed_latency)
312 IPC_STRUCT_TRAITS_MEMBER(touch_acked_not_consumed_count)
313 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_not_consumed_latency)
314 IPC_STRUCT_TRAITS_MEMBER(touch_acked_no_consumer_count)
315 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_no_consumer_latency)
306 IPC_STRUCT_TRAITS_END() 316 IPC_STRUCT_TRAITS_END()
307 317
308 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) 318 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params)
309 // Routing ID of the view initiating the open. 319 // Routing ID of the view initiating the open.
310 IPC_STRUCT_MEMBER(int, opener_id) 320 IPC_STRUCT_MEMBER(int, opener_id)
311 321
312 // True if this open request came in the context of a user gesture. 322 // True if this open request came in the context of a user gesture.
313 IPC_STRUCT_MEMBER(bool, user_gesture) 323 IPC_STRUCT_MEMBER(bool, user_gesture)
314 324
315 // Type of window requested. 325 // 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 2331 // 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 2332 // message is sent to tell the browser that it may release them when the
2323 // renderer is finished with them. 2333 // renderer is finished with them.
2324 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2334 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2325 TransportDIB::Id /* DIB id */) 2335 TransportDIB::Id /* DIB id */)
2326 #endif 2336 #endif
2327 2337
2328 // Adding a new message? Stick to the sort order above: first platform 2338 // Adding a new message? Stick to the sort order above: first platform
2329 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2339 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2330 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2340 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698