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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2935563002: input: Remove dead code. (Closed)
Patch Set: . Created 3 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // the view a chance to perform in-process event filtering or processing. 184 // the view a chance to perform in-process event filtering or processing.
185 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event| 185 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event|
186 // being forwarded. 186 // being forwarded.
187 virtual InputEventAckState FilterInputEvent( 187 virtual InputEventAckState FilterInputEvent(
188 const blink::WebInputEvent& input_event); 188 const blink::WebInputEvent& input_event);
189 189
190 // Allows a root RWHV to filter gesture events in a child. 190 // Allows a root RWHV to filter gesture events in a child.
191 virtual InputEventAckState FilterChildGestureEvent( 191 virtual InputEventAckState FilterChildGestureEvent(
192 const blink::WebGestureEvent& gesture_event); 192 const blink::WebGestureEvent& gesture_event);
193 193
194 // Called by the host when it requires an input flush; the flush call should
195 // by synchronized with BeginFrame.
196 virtual void OnSetNeedsFlushInput() = 0;
197
198 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event, 194 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event,
199 InputEventAckState ack_result); 195 InputEventAckState ack_result);
200 196
201 virtual void GestureEventAck(const blink::WebGestureEvent& event, 197 virtual void GestureEventAck(const blink::WebGestureEvent& event,
202 InputEventAckState ack_result); 198 InputEventAckState ack_result);
203 199
204 // Create a platform specific SyntheticGestureTarget implementation that will 200 // Create a platform specific SyntheticGestureTarget implementation that will
205 // be used to inject synthetic input events. 201 // be used to inject synthetic input events.
206 virtual std::unique_ptr<SyntheticGestureTarget> 202 virtual std::unique_ptr<SyntheticGestureTarget>
207 CreateSyntheticGestureTarget(); 203 CreateSyntheticGestureTarget();
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 482 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
487 483
488 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 484 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
489 485
490 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 486 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
491 }; 487 };
492 488
493 } // namespace content 489 } // namespace content
494 490
495 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 491 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698