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

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

Issue 963743003: Revert of Disable elastic overscroll effect in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 269
270 // Starts a hang monitor timeout. If there's already a hang monitor timeout 270 // Starts a hang monitor timeout. If there's already a hang monitor timeout
271 // the new one will only fire if it has a shorter delay than the time 271 // the new one will only fire if it has a shorter delay than the time
272 // left on the existing timeouts. 272 // left on the existing timeouts.
273 void StartHangMonitorTimeout(base::TimeDelta delay); 273 void StartHangMonitorTimeout(base::TimeDelta delay);
274 274
275 // Stops all existing hang monitor timeouts and assumes the renderer is 275 // Stops all existing hang monitor timeouts and assumes the renderer is
276 // responsive. 276 // responsive.
277 void StopHangMonitorTimeout(); 277 void StopHangMonitorTimeout();
278 278
279 // Disables elastic overscroll effect if enabled.
280 void DisableElasticOverscroll();
281
282 // Forwards the given message to the renderer. These are called by the view 279 // Forwards the given message to the renderer. These are called by the view
283 // when it has received a message. 280 // when it has received a message.
284 void ForwardGestureEventWithLatencyInfo( 281 void ForwardGestureEventWithLatencyInfo(
285 const blink::WebGestureEvent& gesture_event, 282 const blink::WebGestureEvent& gesture_event,
286 const ui::LatencyInfo& ui_latency); 283 const ui::LatencyInfo& ui_latency);
287 void ForwardTouchEventWithLatencyInfo( 284 void ForwardTouchEventWithLatencyInfo(
288 const blink::WebTouchEvent& touch_event, 285 const blink::WebTouchEvent& touch_event,
289 const ui::LatencyInfo& ui_latency); 286 const ui::LatencyInfo& ui_latency);
290 void ForwardMouseEventWithLatencyInfo( 287 void ForwardMouseEventWithLatencyInfo(
291 const blink::WebMouseEvent& mouse_event, 288 const blink::WebMouseEvent& mouse_event,
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 bool is_focused_; 857 bool is_focused_;
861 858
862 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 859 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
863 860
864 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 861 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
865 }; 862 };
866 863
867 } // namespace content 864 } // namespace content
868 865
869 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 866 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_frontend_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698