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

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

Issue 925903002: Disable elastic overscroll effect in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
279 // Forwards the given message to the renderer. These are called by the view 282 // Forwards the given message to the renderer. These are called by the view
280 // when it has received a message. 283 // when it has received a message.
281 void ForwardGestureEventWithLatencyInfo( 284 void ForwardGestureEventWithLatencyInfo(
282 const blink::WebGestureEvent& gesture_event, 285 const blink::WebGestureEvent& gesture_event,
283 const ui::LatencyInfo& ui_latency); 286 const ui::LatencyInfo& ui_latency);
284 void ForwardTouchEventWithLatencyInfo( 287 void ForwardTouchEventWithLatencyInfo(
285 const blink::WebTouchEvent& touch_event, 288 const blink::WebTouchEvent& touch_event,
286 const ui::LatencyInfo& ui_latency); 289 const ui::LatencyInfo& ui_latency);
287 void ForwardMouseEventWithLatencyInfo( 290 void ForwardMouseEventWithLatencyInfo(
288 const blink::WebMouseEvent& mouse_event, 291 const blink::WebMouseEvent& mouse_event,
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 bool is_focused_; 860 bool is_focused_;
858 861
859 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 862 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
860 863
861 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 864 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
862 }; 865 };
863 866
864 } // namespace content 867 } // namespace content
865 868
866 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 869 #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