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

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

Issue 2479023003: Remove is_fling flag for fling intervention (Closed)
Patch Set: Make enum explicitly Created 4 years, 1 month 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 29 matching lines...) Expand all
40 40
41 // Called from the compositor thread. 41 // Called from the compositor thread.
42 virtual void RegisterRoutingID(int routing_id) = 0; 42 virtual void RegisterRoutingID(int routing_id) = 0;
43 virtual void UnregisterRoutingID(int routing_id) = 0; 43 virtual void UnregisterRoutingID(int routing_id) = 0;
44 44
45 // |HandleInputEvent| will respond to overscroll by calling the passed in 45 // |HandleInputEvent| will respond to overscroll by calling the passed in
46 // callback. 46 // callback.
47 // Otherwise |DidOverscroll| will be fired. 47 // Otherwise |DidOverscroll| will be fired.
48 virtual void DidOverscroll(int routing_id, 48 virtual void DidOverscroll(int routing_id,
49 const ui::DidOverscrollParams& params) = 0; 49 const ui::DidOverscrollParams& params) = 0;
50 virtual void DidStartFlinging(int routing_id) = 0;
51 virtual void DidStopFlinging(int routing_id) = 0; 50 virtual void DidStopFlinging(int routing_id) = 0;
52 virtual void DispatchNonBlockingEventToMainThread( 51 virtual void DispatchNonBlockingEventToMainThread(
53 int routing_id, 52 int routing_id,
54 ui::ScopedWebInputEvent event, 53 ui::ScopedWebInputEvent event,
55 const ui::LatencyInfo& latency_info) = 0; 54 const ui::LatencyInfo& latency_info) = 0;
56 55
57 protected: 56 protected:
58 InputHandlerManagerClient() {} 57 InputHandlerManagerClient() {}
59 58
60 private: 59 private:
(...skipping 12 matching lines...) Expand all
73 protected: 72 protected:
74 SynchronousInputHandlerProxyClient() {} 73 SynchronousInputHandlerProxyClient() {}
75 74
76 private: 75 private:
77 DISALLOW_COPY_AND_ASSIGN(SynchronousInputHandlerProxyClient); 76 DISALLOW_COPY_AND_ASSIGN(SynchronousInputHandlerProxyClient);
78 }; 77 };
79 78
80 } // namespace content 79 } // namespace content
81 80
82 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 81 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_handler_manager.cc ('k') | content/renderer/input/input_handler_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698