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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.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_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void Destroy() override; 131 void Destroy() override;
132 void SetTooltipText(const base::string16& tooltip_text) override; 132 void SetTooltipText(const base::string16& tooltip_text) override;
133 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 133 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
134 void SetBackgroundColor(SkColor color) override; 134 void SetBackgroundColor(SkColor color) override;
135 SkColor background_color() const override; 135 SkColor background_color() const override;
136 gfx::Rect GetBoundsInRootWindow() override; 136 gfx::Rect GetBoundsInRootWindow() override;
137 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 137 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
138 InputEventAckState ack_result) override; 138 InputEventAckState ack_result) override;
139 InputEventAckState FilterInputEvent( 139 InputEventAckState FilterInputEvent(
140 const blink::WebInputEvent& input_event) override; 140 const blink::WebInputEvent& input_event) override;
141 void OnSetNeedsFlushInput() override;
142 void GestureEventAck(const blink::WebGestureEvent& event, 141 void GestureEventAck(const blink::WebGestureEvent& event,
143 InputEventAckState ack_result) override; 142 InputEventAckState ack_result) override;
144 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 143 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
145 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 144 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
146 bool LockMouse() override; 145 bool LockMouse() override;
147 void UnlockMouse() override; 146 void UnlockMouse() override;
148 void DidCreateNewRendererCompositorFrameSink( 147 void DidCreateNewRendererCompositorFrameSink(
149 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) 148 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink)
150 override; 149 override;
151 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, 150 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id,
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // DevTools ScreenCast support for Android WebView. 320 // DevTools ScreenCast support for Android WebView.
322 void SynchronousCopyContents(const gfx::Rect& src_subrect_in_pixel, 321 void SynchronousCopyContents(const gfx::Rect& src_subrect_in_pixel,
323 const gfx::Size& dst_size_in_pixel, 322 const gfx::Size& dst_size_in_pixel,
324 const ReadbackRequestCallback& callback, 323 const ReadbackRequestCallback& callback,
325 const SkColorType color_type); 324 const SkColorType color_type);
326 325
327 void DestroyDelegatedContent(); 326 void DestroyDelegatedContent();
328 void OnLostResources(); 327 void OnLostResources();
329 328
330 enum BeginFrameRequestType { 329 enum BeginFrameRequestType {
331 FLUSH_INPUT = 1 << 0, 330 BEGIN_FRAME = 1 << 0,
332 BEGIN_FRAME = 1 << 1, 331 PERSISTENT_BEGIN_FRAME = 1 << 1
333 PERSISTENT_BEGIN_FRAME = 1 << 2
334 }; 332 };
335 void AddBeginFrameRequest(BeginFrameRequestType request); 333 void AddBeginFrameRequest(BeginFrameRequestType request);
336 void ClearBeginFrameRequest(BeginFrameRequestType request); 334 void ClearBeginFrameRequest(BeginFrameRequestType request);
337 void AcknowledgeBeginFrame(const cc::BeginFrameAck& ack); 335 void AcknowledgeBeginFrame(const cc::BeginFrameAck& ack);
338 void StartObservingRootWindow(); 336 void StartObservingRootWindow();
339 void StopObservingRootWindow(); 337 void StopObservingRootWindow();
340 void SendBeginFrame(cc::BeginFrameArgs args); 338 void SendBeginFrame(cc::BeginFrameArgs args);
341 bool Animate(base::TimeTicks frame_time); 339 bool Animate(base::TimeTicks frame_time);
342 void RequestDisallowInterceptTouchEvent(); 340 void RequestDisallowInterceptTouchEvent();
343 341
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 MouseWheelPhaseHandler mouse_wheel_phase_handler_; 432 MouseWheelPhaseHandler mouse_wheel_phase_handler_;
435 433
436 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 434 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
437 435
438 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 436 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
439 }; 437 };
440 438
441 } // namespace content 439 } // namespace content
442 440
443 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 441 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698