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

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

Issue 2893843002: input: Remove now dead code. (Closed)
Patch Set: tot merge Created 3 years, 7 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 #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 2185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2196 // main thread. 2196 // main thread.
2197 if (ack_source == InputEventAckSource::MAIN_THREAD) 2197 if (ack_source == InputEventAckSource::MAIN_THREAD)
2198 RestartHangMonitorTimeoutIfNecessary(); 2198 RestartHangMonitorTimeoutIfNecessary();
2199 } 2199 }
2200 } 2200 }
2201 2201
2202 void RenderWidgetHostImpl::OnHasTouchEventHandlers(bool has_handlers) { 2202 void RenderWidgetHostImpl::OnHasTouchEventHandlers(bool has_handlers) {
2203 has_touch_handler_ = has_handlers; 2203 has_touch_handler_ = has_handlers;
2204 } 2204 }
2205 2205
2206 void RenderWidgetHostImpl::DidFlush() {
2207 }
2208
2209 void RenderWidgetHostImpl::DidOverscroll( 2206 void RenderWidgetHostImpl::DidOverscroll(
2210 const ui::DidOverscrollParams& params) { 2207 const ui::DidOverscrollParams& params) {
2211 if (view_) 2208 if (view_)
2212 view_->DidOverscroll(params); 2209 view_->DidOverscroll(params);
2213 } 2210 }
2214 2211
2215 void RenderWidgetHostImpl::DidStopFlinging() { 2212 void RenderWidgetHostImpl::DidStopFlinging() {
2216 is_in_touchpad_gesture_fling_ = false; 2213 is_in_touchpad_gesture_fling_ = false;
2217 if (view_) 2214 if (view_)
2218 view_->DidStopFlinging(); 2215 view_->DidStopFlinging();
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
2660 device::mojom::WakeLockType::PreventDisplaySleep, 2657 device::mojom::WakeLockType::PreventDisplaySleep,
2661 device::mojom::WakeLockReason::ReasonOther, "GetSnapshot", 2658 device::mojom::WakeLockReason::ReasonOther, "GetSnapshot",
2662 std::move(request)); 2659 std::move(request));
2663 } 2660 }
2664 } 2661 }
2665 return wake_lock_.get(); 2662 return wake_lock_.get();
2666 } 2663 }
2667 #endif 2664 #endif
2668 2665
2669 } // namespace content 2666 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/browser/renderer_host/render_widget_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698