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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 2815823003: Notify OverscrollController of gesture events in plugins. (Closed)
Patch Set: Fix for Mac history swiper. Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 bool IsSpeaking() const override; 118 bool IsSpeaking() const override;
119 void StopSpeaking() override; 119 void StopSpeaking() override;
120 #endif // defined(OS_MACOSX) 120 #endif // defined(OS_MACOSX)
121 121
122 void WheelEventAck(const blink::WebMouseWheelEvent& event, 122 void WheelEventAck(const blink::WebMouseWheelEvent& event,
123 InputEventAckState ack_result) override; 123 InputEventAckState ack_result) override;
124 124
125 void GestureEventAck(const blink::WebGestureEvent& event, 125 void GestureEventAck(const blink::WebGestureEvent& event,
126 InputEventAckState ack_result) override; 126 InputEventAckState ack_result) override;
127 127
128 InputEventAckState FilterInputEvent(
129 const blink::WebInputEvent& input_event) override;
130
128 bool IsRenderWidgetHostViewGuest() override; 131 bool IsRenderWidgetHostViewGuest() override;
129 RenderWidgetHostViewBase* GetOwnerRenderWidgetHostView() const; 132 RenderWidgetHostViewBase* GetOwnerRenderWidgetHostView() const;
130 133
131 private: 134 private:
132 friend class RenderWidgetHostView; 135 friend class RenderWidgetHostView;
133 136
134 void SendSurfaceInfoToEmbedderImpl( 137 void SendSurfaceInfoToEmbedderImpl(
135 const cc::SurfaceInfo& surface_info, 138 const cc::SurfaceInfo& surface_info,
136 const cc::SurfaceSequence& sequence) override; 139 const cc::SurfaceSequence& sequence) override;
137 140
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // The guest may forward its updates only when there is an ongoing IME 172 // The guest may forward its updates only when there is an ongoing IME
170 // session. 173 // session.
171 bool should_forward_text_selection_; 174 bool should_forward_text_selection_;
172 175
173 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 176 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
174 }; 177 };
175 178
176 } // namespace content 179 } // namespace content
177 180
178 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 181 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698