| OLD | NEW |
| 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_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ |
| 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ | 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/containers/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 EventDisposition HandleInputEventWithLatencyInfo( | 40 EventDisposition HandleInputEventWithLatencyInfo( |
| 41 const blink::WebInputEvent& event, | 41 const blink::WebInputEvent& event, |
| 42 ui::LatencyInfo* latency_info); | 42 ui::LatencyInfo* latency_info); |
| 43 EventDisposition HandleInputEvent(const blink::WebInputEvent& event); | 43 EventDisposition HandleInputEvent(const blink::WebInputEvent& event); |
| 44 | 44 |
| 45 // cc::InputHandlerClient implementation. | 45 // cc::InputHandlerClient implementation. |
| 46 virtual void WillShutdown() OVERRIDE; | 46 virtual void WillShutdown() OVERRIDE; |
| 47 virtual void Animate(base::TimeTicks time) OVERRIDE; | 47 virtual void Animate(base::TimeTicks time) OVERRIDE; |
| 48 virtual void MainThreadHasStoppedFlinging() OVERRIDE; | 48 virtual void MainThreadHasStoppedFlinging() OVERRIDE; |
| 49 virtual void DidOverscroll(const cc::DidOverscrollParams& params) OVERRIDE; | 49 virtual void DidOverscroll(const cc::DidOverscrollParams& params) OVERRIDE; |
| 50 virtual void DidFinishTopControlsGesture() OVERRIDE; |
| 50 | 51 |
| 51 // blink::WebGestureCurveTarget implementation. | 52 // blink::WebGestureCurveTarget implementation. |
| 52 virtual void scrollBy(const blink::WebFloatSize& offset); | 53 virtual void scrollBy(const blink::WebFloatSize& offset); |
| 53 virtual void notifyCurrentFlingVelocity(const blink::WebFloatSize& velocity); | 54 virtual void notifyCurrentFlingVelocity(const blink::WebFloatSize& velocity); |
| 54 | 55 |
| 55 bool gesture_scroll_on_impl_thread_for_testing() const { | 56 bool gesture_scroll_on_impl_thread_for_testing() const { |
| 56 return gesture_scroll_on_impl_thread_; | 57 return gesture_scroll_on_impl_thread_; |
| 57 } | 58 } |
| 58 | 59 |
| 59 private: | 60 private: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 87 // will be disabled. | 88 // will be disabled. |
| 88 bool disallow_horizontal_fling_scroll_; | 89 bool disallow_horizontal_fling_scroll_; |
| 89 bool disallow_vertical_fling_scroll_; | 90 bool disallow_vertical_fling_scroll_; |
| 90 | 91 |
| 91 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); | 92 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 } // namespace content | 95 } // namespace content |
| 95 | 96 |
| 96 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ | 97 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ |
| OLD | NEW |