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

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

Issue 2643893002: Skip video overlay surface management when in VR. (Closed)
Patch Set: Removed public API changes and changed references to cast to base instead. Created 3 years, 11 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void GestureEventAck(const blink::WebGestureEvent& event, 134 void GestureEventAck(const blink::WebGestureEvent& event,
135 InputEventAckState ack_result) override; 135 InputEventAckState ack_result) override;
136 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 136 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
137 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 137 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
138 bool LockMouse() override; 138 bool LockMouse() override;
139 void UnlockMouse() override; 139 void UnlockMouse() override;
140 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 140 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
141 cc::CompositorFrame frame) override; 141 cc::CompositorFrame frame) override;
142 void ClearCompositorFrame() override; 142 void ClearCompositorFrame() override;
143 void SetIsInVR(bool is_in_vr) override; 143 void SetIsInVR(bool is_in_vr) override;
144 bool IsInVR() const override;
144 void DidOverscroll(const ui::DidOverscrollParams& params) override; 145 void DidOverscroll(const ui::DidOverscrollParams& params) override;
145 void DidStopFlinging() override; 146 void DidStopFlinging() override;
146 cc::FrameSinkId GetFrameSinkId() override; 147 cc::FrameSinkId GetFrameSinkId() override;
147 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, 148 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels,
148 const SkBitmap& zoomed_bitmap) override; 149 const SkBitmap& zoomed_bitmap) override;
149 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 150 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
150 override; 151 override;
151 void LockCompositingSurface() override; 152 void LockCompositingSurface() override;
152 void UnlockCompositingSurface() override; 153 void UnlockCompositingSurface() override;
153 void OnDidNavigateMainFrameToNewPage() override; 154 void OnDidNavigateMainFrameToNewPage() override;
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 gfx::Vector2dF last_scroll_offset_; 399 gfx::Vector2dF last_scroll_offset_;
399 400
400 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 401 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
401 402
402 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 403 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
403 }; 404 };
404 405
405 } // namespace content 406 } // namespace content
406 407
407 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 408 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698