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

Side by Side Diff: content/browser/android/in_process/synchronous_input_event_filter.h

Issue 136173004: Early terminate flings when scrolling impossible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 8 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_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_
6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ 6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 19 matching lines...) Expand all
30 30
31 InputEventAckState HandleInputEvent(int routing_id, 31 InputEventAckState HandleInputEvent(int routing_id,
32 const blink::WebInputEvent& input_event); 32 const blink::WebInputEvent& input_event);
33 33
34 // InputHandlerManagerClient implementation. 34 // InputHandlerManagerClient implementation.
35 virtual void SetBoundHandler(const Handler& handler) OVERRIDE; 35 virtual void SetBoundHandler(const Handler& handler) OVERRIDE;
36 virtual void DidAddInputHandler(int routing_id, 36 virtual void DidAddInputHandler(int routing_id,
37 cc::InputHandler* input_handler) OVERRIDE; 37 cc::InputHandler* input_handler) OVERRIDE;
38 virtual void DidRemoveInputHandler(int routing_id) OVERRIDE; 38 virtual void DidRemoveInputHandler(int routing_id) OVERRIDE;
39 virtual void DidOverscroll(int routing_id, 39 virtual void DidOverscroll(int routing_id,
40 const cc::DidOverscrollParams& params) OVERRIDE; 40 const DidOverscrollParams& params) OVERRIDE;
41 virtual void DidStopFlinging(int routing_id) OVERRIDE; 41 virtual void DidStopFlinging(int routing_id) OVERRIDE;
42 42
43 private: 43 private:
44 void SetBoundHandlerOnUIThread(const Handler& handler); 44 void SetBoundHandlerOnUIThread(const Handler& handler);
45 45
46 Handler handler_; 46 Handler handler_;
47 }; 47 };
48 48
49 } // namespace content 49 } // namespace content
50 50
51 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ 51 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698