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

Side by Side Diff: content/renderer/mus/render_widget_mus_connection.h

Issue 1749343004: Implement Wheel Gesture Scrolling on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only high precision scroll begins are used 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ 5 #ifndef CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_
6 #define CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ 6 #define CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/threading/thread_checker.h" 9 #include "base/threading/thread_checker.h"
10 #include "cc/output/output_surface.h" 10 #include "cc/output/output_surface.h"
(...skipping 25 matching lines...) Expand all
36 36
37 explicit RenderWidgetMusConnection(int routing_id); 37 explicit RenderWidgetMusConnection(int routing_id);
38 ~RenderWidgetMusConnection() override; 38 ~RenderWidgetMusConnection() override;
39 39
40 // RenderWidgetInputHandlerDelegate implementation: 40 // RenderWidgetInputHandlerDelegate implementation:
41 void FocusChangeComplete() override; 41 void FocusChangeComplete() override;
42 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; 42 bool HasTouchEventHandlersAt(const gfx::Point& point) const override;
43 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, 43 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event,
44 const gfx::Vector2dF& wheel_unused_delta, 44 const gfx::Vector2dF& wheel_unused_delta,
45 bool event_processed) override; 45 bool event_processed) override;
46 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event,
47 const gfx::Vector2dF& gesture_unused_delta,
48 bool event_processed) override;
46 void OnDidHandleKeyEvent() override; 49 void OnDidHandleKeyEvent() override;
47 void OnDidOverscroll(const DidOverscrollParams& params) override; 50 void OnDidOverscroll(const DidOverscrollParams& params) override;
48 void OnInputEventAck(scoped_ptr<InputEventAck> input_event_ack) override; 51 void OnInputEventAck(scoped_ptr<InputEventAck> input_event_ack) override;
49 void NonBlockingInputEventHandled( 52 void NonBlockingInputEventHandled(
50 blink::WebInputEvent::Type handled_type) override; 53 blink::WebInputEvent::Type handled_type) override;
51 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; 54 void SetInputHandler(RenderWidgetInputHandler* input_handler) override;
52 void UpdateTextInputState(ShowIme show_ime, 55 void UpdateTextInputState(ShowIme show_ime,
53 ChangeSource change_source) override; 56 ChangeSource change_source) override;
54 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; 57 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override;
55 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; 58 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override;
(...skipping 11 matching lines...) Expand all
67 70
68 // Used to verify single threaded access. 71 // Used to verify single threaded access.
69 base::ThreadChecker thread_checker_; 72 base::ThreadChecker thread_checker_;
70 73
71 DISALLOW_COPY_AND_ASSIGN(RenderWidgetMusConnection); 74 DISALLOW_COPY_AND_ASSIGN(RenderWidgetMusConnection);
72 }; 75 };
73 76
74 } // namespace content 77 } // namespace content
75 78
76 #endif // CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ 79 #endif // CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_
OLDNEW
« no previous file with comments | « content/renderer/input/render_widget_input_handler_delegate.h ('k') | content/renderer/mus/render_widget_mus_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698