Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 SetIsInVR(bool is_in_vr) override; |
| 148 void DidOverscroll(const ui::DidOverscrollParams& params) override; | 148 void DidOverscroll(const ui::DidOverscrollParams& params) override; |
| 149 void DidStopFlinging() override; | 149 void DidStopFlinging() override; |
| 150 cc::FrameSinkId GetFrameSinkId() override; | 150 cc::FrameSinkId GetFrameSinkId() override; |
| 151 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 151 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
| 152 const SkBitmap& zoomed_bitmap) override; | 152 const SkBitmap& zoomed_bitmap) override; |
| 153 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 153 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
| 154 override; | 154 override; |
| 155 void LockCompositingSurface() override; | 155 void LockCompositingSurface() override; |
| 156 void UnlockCompositingSurface() override; | 156 void UnlockCompositingSurface() override; |
| 157 void OnDidNavigateMainFrameToNewPage() override; | 157 void OnDidNavigateMainFrameToNewPage() override; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 322 // Indicates whether and for what reason a request for begin frames has been | 322 // Indicates whether and for what reason a request for begin frames has been |
| 323 // issued. Used to control action dispatch at the next |OnBeginFrame()| call. | 323 // issued. Used to control action dispatch at the next |OnBeginFrame()| call. |
| 324 uint32_t outstanding_begin_frame_requests_; | 324 uint32_t outstanding_begin_frame_requests_; |
| 325 | 325 |
| 326 bool is_showing_; | 326 bool is_showing_; |
| 327 | 327 |
| 328 // Window-specific bits that affect widget visibility. | 328 // Window-specific bits that affect widget visibility. |
| 329 bool is_window_visible_; | 329 bool is_window_visible_; |
| 330 bool is_window_activity_started_; | 330 bool is_window_activity_started_; |
| 331 | 331 |
| 332 // Used to control the appearance of overscroll glow. | 332 // Used to control the appearance of overscroll glow and keyboard. |
|
cjgrant
2017/01/13 20:44:38
Should we just drop the comment? Whenever use of
Charlie Reis
2017/01/13 20:59:02
Alternatively, you can describe these as examples,
asimjour
2017/01/16 19:28:41
Comment is updated.
asimjour
2017/01/16 19:28:41
Done.
| |
| 333 bool is_showing_overscroll_glow_; | 333 bool is_in_vr_; |
| 334 | 334 |
| 335 // ContentViewCoreImpl is our interface to the view system. | 335 // ContentViewCoreImpl is our interface to the view system. |
| 336 ContentViewCoreImpl* content_view_core_; | 336 ContentViewCoreImpl* content_view_core_; |
| 337 | 337 |
| 338 ImeAdapterAndroid ime_adapter_android_; | 338 ImeAdapterAndroid ime_adapter_android_; |
| 339 | 339 |
| 340 // Body background color of the underlying document. | 340 // Body background color of the underlying document. |
| 341 SkColor cached_background_color_; | 341 SkColor cached_background_color_; |
| 342 | 342 |
| 343 mutable ui::ViewAndroid view_; | 343 mutable ui::ViewAndroid view_; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 396 gfx::Vector2dF last_scroll_offset_; | 396 gfx::Vector2dF last_scroll_offset_; |
| 397 | 397 |
| 398 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 398 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 399 | 399 |
| 400 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 400 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 401 }; | 401 }; |
| 402 | 402 |
| 403 } // namespace content | 403 } // namespace content |
| 404 | 404 |
| 405 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 405 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |