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

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

Issue 2240273002: Move |DidOverscrollParams| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DidOverscrollParams to ui:: Created 4 years, 4 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 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 1878
1879 void RenderWidgetHostImpl::OnHasTouchEventHandlers(bool has_handlers) { 1879 void RenderWidgetHostImpl::OnHasTouchEventHandlers(bool has_handlers) {
1880 has_touch_handler_ = has_handlers; 1880 has_touch_handler_ = has_handlers;
1881 } 1881 }
1882 1882
1883 void RenderWidgetHostImpl::DidFlush() { 1883 void RenderWidgetHostImpl::DidFlush() {
1884 if (synthetic_gesture_controller_) 1884 if (synthetic_gesture_controller_)
1885 synthetic_gesture_controller_->OnDidFlushInput(); 1885 synthetic_gesture_controller_->OnDidFlushInput();
1886 } 1886 }
1887 1887
1888 void RenderWidgetHostImpl::DidOverscroll(const DidOverscrollParams& params) { 1888 void RenderWidgetHostImpl::DidOverscroll(
1889 const ui::DidOverscrollParams& params) {
1889 if (view_) 1890 if (view_)
1890 view_->DidOverscroll(params); 1891 view_->DidOverscroll(params);
1891 } 1892 }
1892 1893
1893 void RenderWidgetHostImpl::DidStopFlinging() { 1894 void RenderWidgetHostImpl::DidStopFlinging() {
1894 if (view_) 1895 if (view_)
1895 view_->DidStopFlinging(); 1896 view_->DidStopFlinging();
1896 } 1897 }
1897 1898
1898 void RenderWidgetHostImpl::DispatchInputEventWithLatencyInfo( 1899 void RenderWidgetHostImpl::DispatchInputEventWithLatencyInfo(
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
2170 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL; 2171 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL;
2171 } 2172 }
2172 2173
2173 BrowserAccessibilityManager* 2174 BrowserAccessibilityManager*
2174 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() { 2175 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() {
2175 return delegate_ ? 2176 return delegate_ ?
2176 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL; 2177 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL;
2177 } 2178 }
2178 2179
2179 } // namespace content 2180 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698