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

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

Issue 18937002: Add UMA/Telemetry stats for end-to-end scroll latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) 306 IPC_STRUCT_TRAITS_MEMBER(touch_ui_count)
307 IPC_STRUCT_TRAITS_MEMBER(total_touch_ui_latency) 307 IPC_STRUCT_TRAITS_MEMBER(total_touch_ui_latency)
308 IPC_STRUCT_TRAITS_MEMBER(touch_acked_count) 308 IPC_STRUCT_TRAITS_MEMBER(touch_acked_count)
309 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_latency) 309 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_latency)
310 IPC_STRUCT_TRAITS_MEMBER(scroll_event_count)
311 IPC_STRUCT_TRAITS_MEMBER(total_scroll_latency)
310 IPC_STRUCT_TRAITS_END() 312 IPC_STRUCT_TRAITS_END()
311 313
312 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) 314 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params)
313 // Routing ID of the view initiating the open. 315 // Routing ID of the view initiating the open.
314 IPC_STRUCT_MEMBER(int, opener_id) 316 IPC_STRUCT_MEMBER(int, opener_id)
315 317
316 // True if this open request came in the context of a user gesture. 318 // True if this open request came in the context of a user gesture.
317 IPC_STRUCT_MEMBER(bool, user_gesture) 319 IPC_STRUCT_MEMBER(bool, user_gesture)
318 320
319 // Type of window requested. 321 // Type of window requested.
(...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after
2325 // Since the browser keeps handles to the allocated transport DIBs, this 2327 // Since the browser keeps handles to the allocated transport DIBs, this
2326 // message is sent to tell the browser that it may release them when the 2328 // message is sent to tell the browser that it may release them when the
2327 // renderer is finished with them. 2329 // renderer is finished with them.
2328 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2330 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2329 TransportDIB::Id /* DIB id */) 2331 TransportDIB::Id /* DIB id */)
2330 #endif 2332 #endif
2331 2333
2332 // Adding a new message? Stick to the sort order above: first platform 2334 // Adding a new message? Stick to the sort order above: first platform
2333 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2335 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2334 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2336 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698