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

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: add SCROLL_UPDATE_ORIGINAL_COMPONENT to specifically track scroll_update latency 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 IPC_STRUCT_TRAITS_MEMBER(display_name) 302 IPC_STRUCT_TRAITS_MEMBER(display_name)
303 IPC_STRUCT_TRAITS_END() 303 IPC_STRUCT_TRAITS_END()
304 304
305 IPC_STRUCT_TRAITS_BEGIN(content::BrowserRenderingStats) 305 IPC_STRUCT_TRAITS_BEGIN(content::BrowserRenderingStats)
306 IPC_STRUCT_TRAITS_MEMBER(input_event_count) 306 IPC_STRUCT_TRAITS_MEMBER(input_event_count)
307 IPC_STRUCT_TRAITS_MEMBER(total_input_latency) 307 IPC_STRUCT_TRAITS_MEMBER(total_input_latency)
308 IPC_STRUCT_TRAITS_MEMBER(touch_ui_count) 308 IPC_STRUCT_TRAITS_MEMBER(touch_ui_count)
309 IPC_STRUCT_TRAITS_MEMBER(total_touch_ui_latency) 309 IPC_STRUCT_TRAITS_MEMBER(total_touch_ui_latency)
310 IPC_STRUCT_TRAITS_MEMBER(touch_acked_count) 310 IPC_STRUCT_TRAITS_MEMBER(touch_acked_count)
311 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_latency) 311 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_latency)
312 IPC_STRUCT_TRAITS_MEMBER(scroll_update_count)
313 IPC_STRUCT_TRAITS_MEMBER(total_scroll_update_latency)
312 IPC_STRUCT_TRAITS_END() 314 IPC_STRUCT_TRAITS_END()
313 315
314 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) 316 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params)
315 // Routing ID of the view initiating the open. 317 // Routing ID of the view initiating the open.
316 IPC_STRUCT_MEMBER(int, opener_id) 318 IPC_STRUCT_MEMBER(int, opener_id)
317 319
318 // True if this open request came in the context of a user gesture. 320 // True if this open request came in the context of a user gesture.
319 IPC_STRUCT_MEMBER(bool, user_gesture) 321 IPC_STRUCT_MEMBER(bool, user_gesture)
320 322
321 // Type of window requested. 323 // Type of window requested.
(...skipping 2010 matching lines...) Expand 10 before | Expand all | Expand 10 after
2332 // synchronously (see crbug.com/120597). This IPC message sends the character 2334 // synchronously (see crbug.com/120597). This IPC message sends the character
2333 // bounds after every composition change to always have correct bound info. 2335 // bounds after every composition change to always have correct bound info.
2334 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2336 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2335 ui::Range /* composition range */, 2337 ui::Range /* composition range */,
2336 std::vector<gfx::Rect> /* character bounds */) 2338 std::vector<gfx::Rect> /* character bounds */)
2337 #endif 2339 #endif
2338 2340
2339 // Adding a new message? Stick to the sort order above: first platform 2341 // Adding a new message? Stick to the sort order above: first platform
2340 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2342 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2341 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2343 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698