| 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_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #include <IOSurface/IOSurfaceAPI.h> | 9 #include <IOSurface/IOSurfaceAPI.h> |
| 10 #include <list> | 10 #include <list> |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 const base::Callback<void(bool)>& callback) OVERRIDE; | 306 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 307 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 307 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| 308 virtual bool CanSubscribeFrame() const OVERRIDE; | 308 virtual bool CanSubscribeFrame() const OVERRIDE; |
| 309 virtual void BeginFrameSubscription( | 309 virtual void BeginFrameSubscription( |
| 310 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 310 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
| 311 virtual void EndFrameSubscription() OVERRIDE; | 311 virtual void EndFrameSubscription() OVERRIDE; |
| 312 virtual void OnSwapCompositorFrame( | 312 virtual void OnSwapCompositorFrame( |
| 313 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 313 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
| 314 virtual void AcceleratedSurfaceInitialized(int host_id, | 314 virtual void AcceleratedSurfaceInitialized(int host_id, |
| 315 int route_id) OVERRIDE; | 315 int route_id) OVERRIDE; |
| 316 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 316 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; |
| 317 BrowserAccessibilityDelegate* delegate) OVERRIDE; | |
| 318 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) | 317 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) |
| 319 OVERRIDE; | 318 OVERRIDE; |
| 320 virtual void AccessibilityShowMenu(const gfx::Point& point) OVERRIDE; | 319 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE; |
| 320 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE; |
| 321 virtual bool PostProcessEventForPluginIme( | 321 virtual bool PostProcessEventForPluginIme( |
| 322 const NativeWebKeyboardEvent& event) OVERRIDE; | 322 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 323 | 323 |
| 324 virtual void AcceleratedSurfaceBuffersSwapped( | 324 virtual void AcceleratedSurfaceBuffersSwapped( |
| 325 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 325 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| 326 int gpu_host_id) OVERRIDE; | 326 int gpu_host_id) OVERRIDE; |
| 327 virtual void AcceleratedSurfacePostSubBuffer( | 327 virtual void AcceleratedSurfacePostSubBuffer( |
| 328 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 328 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
| 329 int gpu_host_id) OVERRIDE; | 329 int gpu_host_id) OVERRIDE; |
| 330 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 330 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 625 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
| 626 | 626 |
| 627 base::WeakPtrFactory<RenderWidgetHostViewMac> | 627 base::WeakPtrFactory<RenderWidgetHostViewMac> |
| 628 software_frame_weak_ptr_factory_; | 628 software_frame_weak_ptr_factory_; |
| 629 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 629 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 630 }; | 630 }; |
| 631 | 631 |
| 632 } // namespace content | 632 } // namespace content |
| 633 | 633 |
| 634 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 634 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |