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

Side by Side Diff: blimp/client/input/blimp_input_handler_wrapper.cc

Issue 1570943002: [Blimp client] Move client code into blimp::client namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "blimp/client/input/blimp_input_handler_wrapper.h" 5 #include "blimp/client/input/blimp_input_handler_wrapper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "blimp/client/input/blimp_input_manager.h" 10 #include "blimp/client/input/blimp_input_manager.h"
11 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" 11 #include "ui/events/gestures/blink/web_gesture_curve_impl.h"
12 12
13 namespace blimp { 13 namespace blimp {
14 namespace client {
14 15
15 BlimpInputHandlerWrapper::BlimpInputHandlerWrapper( 16 BlimpInputHandlerWrapper::BlimpInputHandlerWrapper(
16 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 17 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
17 const base::WeakPtr<BlimpInputManager> input_manager_weak_ptr, 18 const base::WeakPtr<BlimpInputManager> input_manager_weak_ptr,
18 cc::InputHandler* input_handler) 19 cc::InputHandler* input_handler)
19 : main_task_runner_(main_task_runner), 20 : main_task_runner_(main_task_runner),
20 input_manager_weak_ptr_(input_manager_weak_ptr) { 21 input_manager_weak_ptr_(input_manager_weak_ptr) {
21 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 22 DCHECK(compositor_thread_checker_.CalledOnValidThread());
22 DCHECK(input_handler); 23 DCHECK(input_handler);
23 input_handler_proxy_.reset( 24 input_handler_proxy_.reset(
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 88 }
88 89
89 void BlimpInputHandlerWrapper::DidStopFlinging() { 90 void BlimpInputHandlerWrapper::DidStopFlinging() {
90 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 91 DCHECK(compositor_thread_checker_.CalledOnValidThread());
91 } 92 }
92 93
93 void BlimpInputHandlerWrapper::DidAnimateForInput() { 94 void BlimpInputHandlerWrapper::DidAnimateForInput() {
94 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 95 DCHECK(compositor_thread_checker_.CalledOnValidThread());
95 } 96 }
96 97
98 } // namespace client
97 } // namespace blimp 99 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/input/blimp_input_handler_wrapper.h ('k') | blimp/client/input/blimp_input_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698