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

Side by Side Diff: blimp/client/core/input/blimp_input_handler_wrapper.h

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fix build break Created 4 years, 3 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_ 5 #ifndef BLIMP_CLIENT_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_ 6 #define BLIMP_CLIENT_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
11 #include "ui/events/blink/input_handler_proxy.h" 11 #include "ui/events/blink/input_handler_proxy.h"
12 #include "ui/events/blink/input_handler_proxy_client.h" 12 #include "ui/events/blink/input_handler_proxy_client.h"
13 13
14 namespace cc {
15 class InputHandler;
16 } // namespace cc
17
14 namespace blimp { 18 namespace blimp {
15 namespace client { 19 namespace client {
16 20
17 class BlimpInputManager; 21 class BlimpInputManager;
18 22
19 // The BlimpInputHandlerWrapper isolates all input handling processing done on 23 // The BlimpInputHandlerWrapper isolates all input handling processing done on
20 // the compositor thread from the BlimpInputManager. It takes web gesture events 24 // the compositor thread from the BlimpInputManager. It takes web gesture events
21 // from the BlimpInputManager and sends them to the ui::InputHandlerProxy. 25 // from the BlimpInputManager and sends them to the ui::InputHandlerProxy.
22 // The class is created and lives on the compositor thread. 26 // The class is created and lives on the compositor thread.
23 class BlimpInputHandlerWrapper : public ui::InputHandlerProxyClient { 27 class BlimpInputHandlerWrapper : public ui::InputHandlerProxyClient {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 base::WeakPtr<BlimpInputManager> input_manager_weak_ptr_; 65 base::WeakPtr<BlimpInputManager> input_manager_weak_ptr_;
62 66
63 std::unique_ptr<ui::InputHandlerProxy> input_handler_proxy_; 67 std::unique_ptr<ui::InputHandlerProxy> input_handler_proxy_;
64 68
65 DISALLOW_COPY_AND_ASSIGN(BlimpInputHandlerWrapper); 69 DISALLOW_COPY_AND_ASSIGN(BlimpInputHandlerWrapper);
66 }; 70 };
67 71
68 } // namespace client 72 } // namespace client
69 } // namespace blimp 73 } // namespace blimp
70 74
71 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_ 75 #endif // BLIMP_CLIENT_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_
OLDNEW
« no previous file with comments | « blimp/client/core/input/BUILD.gn ('k') | blimp/client/core/input/blimp_input_handler_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698