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

Side by Side Diff: content/renderer/input/input_handler_manager_client.h

Issue 1780953003: Change the non-blocking event queue to the main thread event queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_regression_5
Patch Set: Created 4 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void SetBoundHandler(const Handler& handler) = 0; 44 virtual void SetBoundHandler(const Handler& handler) = 0;
45 45
46 // Called from the compositor thread. 46 // Called from the compositor thread.
47 virtual void DidAddInputHandler( 47 virtual void DidAddInputHandler(
48 int routing_id, 48 int routing_id,
49 ui::SynchronousInputHandlerProxy* synchronous_handler) = 0; 49 ui::SynchronousInputHandlerProxy* synchronous_handler) = 0;
50 virtual void DidRemoveInputHandler(int routing_id) = 0; 50 virtual void DidRemoveInputHandler(int routing_id) = 0;
51 virtual void DidOverscroll(int routing_id, 51 virtual void DidOverscroll(int routing_id,
52 const DidOverscrollParams& params) = 0; 52 const DidOverscrollParams& params) = 0;
53 virtual void DidStopFlinging(int routing_id) = 0; 53 virtual void DidStopFlinging(int routing_id) = 0;
54 virtual void NonBlockingInputEventHandled( 54 virtual void NotifyInputEventHandled(int routing_id,
55 int routing_id, 55 blink::WebInputEvent::Type type) = 0;
56 blink::WebInputEvent::Type type) = 0;
57 56
58 protected: 57 protected:
59 InputHandlerManagerClient() {} 58 InputHandlerManagerClient() {}
60 59
61 private: 60 private:
62 DISALLOW_COPY_AND_ASSIGN(InputHandlerManagerClient); 61 DISALLOW_COPY_AND_ASSIGN(InputHandlerManagerClient);
63 }; 62 };
64 63
65 } // namespace content 64 } // namespace content
66 65
67 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 66 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698