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

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

Powered by Google App Engine
This is Rietveld 408576698