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

Side by Side Diff: content/renderer/gpu/input_handler_wrapper.cc

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/renderer/gpu/input_handler_wrapper.h" 5 #include "content/renderer/gpu/input_handler_wrapper.h"
6 6
7 #include "content/renderer/gpu/input_event_filter.h" 7 #include "content/renderer/gpu/input_event_filter.h"
8 #include "content/renderer/gpu/input_handler_manager.h" 8 #include "content/renderer/gpu/input_handler_manager.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" 9 #include "third_party/WebKit/public/platform/Platform.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 InputHandlerWrapper::InputHandlerWrapper( 13 InputHandlerWrapper::InputHandlerWrapper(
14 InputHandlerManager* input_handler_manager, 14 InputHandlerManager* input_handler_manager,
15 int routing_id, 15 int routing_id,
16 const scoped_refptr<base::MessageLoopProxy>& main_loop, 16 const scoped_refptr<base::MessageLoopProxy>& main_loop,
17 const base::WeakPtr<cc::InputHandler>& input_handler, 17 const base::WeakPtr<cc::InputHandler>& input_handler,
18 const base::WeakPtr<RenderViewImpl>& render_view_impl) 18 const base::WeakPtr<RenderViewImpl>& render_view_impl)
19 : input_handler_manager_(input_handler_manager), 19 : input_handler_manager_(input_handler_manager),
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void InputHandlerWrapper::DidOverscroll(gfx::Vector2dF accumulated_overscroll, 60 void InputHandlerWrapper::DidOverscroll(gfx::Vector2dF accumulated_overscroll,
61 gfx::Vector2dF current_fling_velocity) { 61 gfx::Vector2dF current_fling_velocity) {
62 main_loop_->PostTask( 62 main_loop_->PostTask(
63 FROM_HERE, 63 FROM_HERE,
64 base::Bind(&RenderViewImpl::DidOverscroll, 64 base::Bind(&RenderViewImpl::DidOverscroll,
65 render_view_impl_, 65 render_view_impl_,
66 accumulated_overscroll, current_fling_velocity)); 66 accumulated_overscroll, current_fling_velocity));
67 } 67 }
68 68
69 } // namespace content 69 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/input_handler_proxy_unittest.cc ('k') | content/renderer/gpu/mailbox_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698