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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2976113002: Add a sampling scheme to ScrollUpdate.Touch UKM (Closed)
Patch Set: Add missing _ Created 3 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
« no previous file with comments | « content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/browser/renderer_host/render_widget_host_impl.h" 5 #include "content/browser/renderer_host/render_widget_host_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <set> 9 #include <set>
10 #include <tuple> 10 #include <tuple>
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 ignore_input_events_(false), 283 ignore_input_events_(false),
284 text_direction_updated_(false), 284 text_direction_updated_(false),
285 text_direction_(blink::kWebTextDirectionLeftToRight), 285 text_direction_(blink::kWebTextDirectionLeftToRight),
286 text_direction_canceled_(false), 286 text_direction_canceled_(false),
287 suppress_events_until_keydown_(false), 287 suppress_events_until_keydown_(false),
288 pending_mouse_lock_request_(false), 288 pending_mouse_lock_request_(false),
289 allow_privileged_mouse_lock_(false), 289 allow_privileged_mouse_lock_(false),
290 is_last_unlocked_by_target_(false), 290 is_last_unlocked_by_target_(false),
291 has_touch_handler_(false), 291 has_touch_handler_(false),
292 is_in_touchpad_gesture_fling_(false), 292 is_in_touchpad_gesture_fling_(false),
293 latency_tracker_(), 293 latency_tracker_(true),
294 next_browser_snapshot_id_(1), 294 next_browser_snapshot_id_(1),
295 owned_by_render_frame_host_(false), 295 owned_by_render_frame_host_(false),
296 is_focused_(false), 296 is_focused_(false),
297 hung_renderer_delay_( 297 hung_renderer_delay_(
298 base::TimeDelta::FromMilliseconds(kHungRendererDelayMs)), 298 base::TimeDelta::FromMilliseconds(kHungRendererDelayMs)),
299 hang_monitor_event_type_(blink::WebInputEvent::kUndefined), 299 hang_monitor_event_type_(blink::WebInputEvent::kUndefined),
300 last_event_type_(blink::WebInputEvent::kUndefined), 300 last_event_type_(blink::WebInputEvent::kUndefined),
301 new_content_rendering_delay_( 301 new_content_rendering_delay_(
302 base::TimeDelta::FromMilliseconds(kNewContentRenderingDelayMs)), 302 base::TimeDelta::FromMilliseconds(kNewContentRenderingDelayMs)),
303 current_content_source_id_(0), 303 current_content_source_id_(0),
(...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after
2696 device::mojom::WakeLockType::PreventDisplaySleep, 2696 device::mojom::WakeLockType::PreventDisplaySleep,
2697 device::mojom::WakeLockReason::ReasonOther, "GetSnapshot", 2697 device::mojom::WakeLockReason::ReasonOther, "GetSnapshot",
2698 std::move(request)); 2698 std::move(request));
2699 } 2699 }
2700 } 2700 }
2701 return wake_lock_.get(); 2701 return wake_lock_.get();
2702 } 2702 }
2703 #endif 2703 #endif
2704 2704
2705 } // namespace content 2705 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698