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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 171 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
172 override; | 172 override; |
173 InputEventAckState FilterInputEvent( | 173 InputEventAckState FilterInputEvent( |
174 const blink::WebInputEvent& input_event) override; | 174 const blink::WebInputEvent& input_event) override; |
175 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 175 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
176 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 176 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
177 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; | 177 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
178 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; | 178 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; |
179 bool LockMouse() override; | 179 bool LockMouse() override; |
180 void UnlockMouse() override; | 180 void UnlockMouse() override; |
181 void OnSwapCompositorFrame(uint32_t output_surface_id, | 181 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
182 cc::CompositorFrame frame) override; | 182 cc::CompositorFrame frame) override; |
183 void ClearCompositorFrame() override; | 183 void ClearCompositorFrame() override; |
184 void DidStopFlinging() override; | 184 void DidStopFlinging() override; |
185 void OnDidNavigateMainFrameToNewPage() override; | 185 void OnDidNavigateMainFrameToNewPage() override; |
186 void LockCompositingSurface() override; | 186 void LockCompositingSurface() override; |
187 void UnlockCompositingSurface() override; | 187 void UnlockCompositingSurface() override; |
188 uint32_t GetSurfaceClientId() override; | 188 uint32_t GetSurfaceClientId() override; |
189 uint32_t SurfaceClientIdAtPoint(cc::SurfaceHittestDelegate* delegate, | 189 uint32_t SurfaceClientIdAtPoint(cc::SurfaceHittestDelegate* delegate, |
190 const gfx::Point& point, | 190 const gfx::Point& point, |
191 gfx::Point* transformed_point) override; | 191 gfx::Point* transformed_point) override; |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 // DelegatedFrameHostClient implementation. | 446 // DelegatedFrameHostClient implementation. |
447 ui::Layer* DelegatedFrameHostGetLayer() const override; | 447 ui::Layer* DelegatedFrameHostGetLayer() const override; |
448 bool DelegatedFrameHostIsVisible() const override; | 448 bool DelegatedFrameHostIsVisible() const override; |
449 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; | 449 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; |
450 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; | 450 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; |
451 bool DelegatedFrameCanCreateResizeLock() const override; | 451 bool DelegatedFrameCanCreateResizeLock() const override; |
452 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( | 452 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( |
453 bool defer_compositor_lock) override; | 453 bool defer_compositor_lock) override; |
454 void DelegatedFrameHostResizeLockWasReleased() override; | 454 void DelegatedFrameHostResizeLockWasReleased() override; |
455 void DelegatedFrameHostSendReclaimCompositorResources( | 455 void DelegatedFrameHostSendReclaimCompositorResources( |
456 int output_surface_id, | 456 int compositor_frame_sink_id, |
457 bool is_swap_ack, | 457 bool is_swap_ack, |
458 const cc::ReturnedResourceArray& resources) override; | 458 const cc::ReturnedResourceArray& resources) override; |
459 void DelegatedFrameHostOnLostCompositorResources() override; | 459 void DelegatedFrameHostOnLostCompositorResources() override; |
460 void SetBeginFrameSource(cc::BeginFrameSource* source) override; | 460 void SetBeginFrameSource(cc::BeginFrameSource* source) override; |
461 bool IsAutoResizeEnabled() const override; | 461 bool IsAutoResizeEnabled() const override; |
462 | 462 |
463 // TextInputManager::Observer implementation. | 463 // TextInputManager::Observer implementation. |
464 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, | 464 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, |
465 RenderWidgetHostViewBase* updated_view, | 465 RenderWidgetHostViewBase* updated_view, |
466 bool did_update_state) override; | 466 bool did_update_state) override; |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 int32_t last_active_widget_routing_id_; | 686 int32_t last_active_widget_routing_id_; |
687 | 687 |
688 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 688 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
689 | 689 |
690 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 690 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
691 }; | 691 }; |
692 | 692 |
693 } // namespace content | 693 } // namespace content |
694 | 694 |
695 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 695 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |