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

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

Issue 2492793004: Add TimeToScrollUpdateSwapBegin2 in RAPPOR (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 #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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 text_direction_updated_(false), 211 text_direction_updated_(false),
212 text_direction_(blink::WebTextDirectionLeftToRight), 212 text_direction_(blink::WebTextDirectionLeftToRight),
213 text_direction_canceled_(false), 213 text_direction_canceled_(false),
214 suppress_events_until_keydown_(false), 214 suppress_events_until_keydown_(false),
215 pending_mouse_lock_request_(false), 215 pending_mouse_lock_request_(false),
216 allow_privileged_mouse_lock_(false), 216 allow_privileged_mouse_lock_(false),
217 has_touch_handler_(false), 217 has_touch_handler_(false),
218 is_in_touchpad_gesture_scroll_(false), 218 is_in_touchpad_gesture_scroll_(false),
219 is_in_touchscreen_gesture_scroll_(false), 219 is_in_touchscreen_gesture_scroll_(false),
220 received_paint_after_load_(false), 220 received_paint_after_load_(false),
221 latency_tracker_(this),
221 next_browser_snapshot_id_(1), 222 next_browser_snapshot_id_(1),
222 owned_by_render_frame_host_(false), 223 owned_by_render_frame_host_(false),
223 is_focused_(false), 224 is_focused_(false),
224 hung_renderer_delay_( 225 hung_renderer_delay_(
225 base::TimeDelta::FromMilliseconds(kHungRendererDelayMs)), 226 base::TimeDelta::FromMilliseconds(kHungRendererDelayMs)),
226 hang_monitor_reason_( 227 hang_monitor_reason_(
227 RendererUnresponsiveType::RENDERER_UNRESPONSIVE_UNKNOWN), 228 RendererUnresponsiveType::RENDERER_UNRESPONSIVE_UNKNOWN),
228 hang_monitor_event_type_(blink::WebInputEvent::Undefined), 229 hang_monitor_event_type_(blink::WebInputEvent::Undefined),
229 last_event_type_(blink::WebInputEvent::Undefined), 230 last_event_type_(blink::WebInputEvent::Undefined),
230 new_content_rendering_delay_( 231 new_content_rendering_delay_(
(...skipping 2042 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL; 2274 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL;
2274 } 2275 }
2275 2276
2276 BrowserAccessibilityManager* 2277 BrowserAccessibilityManager*
2277 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() { 2278 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() {
2278 return delegate_ ? 2279 return delegate_ ?
2279 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL; 2280 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL;
2280 } 2281 }
2281 2282
2282 } // namespace content 2283 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698