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

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

Issue 2524423002: VR: Disable Overscroll Glow in VrShell (Closed)
Patch Set: VR: Disable Overscroll Glow in VrShell Created 4 years 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void OnSetNeedsFlushInput() override; 137 void OnSetNeedsFlushInput() override;
138 void GestureEventAck(const blink::WebGestureEvent& event, 138 void GestureEventAck(const blink::WebGestureEvent& event,
139 InputEventAckState ack_result) override; 139 InputEventAckState ack_result) override;
140 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 140 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
141 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 141 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
142 bool LockMouse() override; 142 bool LockMouse() override;
143 void UnlockMouse() override; 143 void UnlockMouse() override;
144 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 144 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
145 cc::CompositorFrame frame) override; 145 cc::CompositorFrame frame) override;
146 void ClearCompositorFrame() override; 146 void ClearCompositorFrame() override;
147 void SetShowingOverscrollGlow(bool showing_glow) override;
147 void DidOverscroll(const ui::DidOverscrollParams& params) override; 148 void DidOverscroll(const ui::DidOverscrollParams& params) override;
148 void DidStopFlinging() override; 149 void DidStopFlinging() override;
149 cc::FrameSinkId GetFrameSinkId() override; 150 cc::FrameSinkId GetFrameSinkId() override;
150 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, 151 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels,
151 const SkBitmap& zoomed_bitmap) override; 152 const SkBitmap& zoomed_bitmap) override;
152 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 153 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
153 override; 154 override;
154 void LockCompositingSurface() override; 155 void LockCompositingSurface() override;
155 void UnlockCompositingSurface() override; 156 void UnlockCompositingSurface() override;
156 void OnDidNavigateMainFrameToNewPage() override; 157 void OnDidNavigateMainFrameToNewPage() override;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 307
307 // Used to control action dispatch at the next |OnVSync()| call. 308 // Used to control action dispatch at the next |OnVSync()| call.
308 uint32_t outstanding_vsync_requests_; 309 uint32_t outstanding_vsync_requests_;
309 310
310 bool is_showing_; 311 bool is_showing_;
311 312
312 // Window-specific bits that affect widget visibility. 313 // Window-specific bits that affect widget visibility.
313 bool is_window_visible_; 314 bool is_window_visible_;
314 bool is_window_activity_started_; 315 bool is_window_activity_started_;
315 316
317 // Used to control the appearance of overscroll glow.
318 bool is_showing_overscroll_glow_;
319
316 // ContentViewCoreImpl is our interface to the view system. 320 // ContentViewCoreImpl is our interface to the view system.
317 ContentViewCoreImpl* content_view_core_; 321 ContentViewCoreImpl* content_view_core_;
318 322
319 ImeAdapterAndroid ime_adapter_android_; 323 ImeAdapterAndroid ime_adapter_android_;
320 324
321 // Body background color of the underlying document. 325 // Body background color of the underlying document.
322 SkColor cached_background_color_; 326 SkColor cached_background_color_;
323 327
324 mutable ui::ViewAndroid view_; 328 mutable ui::ViewAndroid view_;
325 329
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 gfx::Vector2dF last_scroll_offset_; 381 gfx::Vector2dF last_scroll_offset_;
378 382
379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 383 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
380 384
381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 385 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
382 }; 386 };
383 387
384 } // namespace content 388 } // namespace content
385 389
386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 390 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698