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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 const base::Callback<void(bool)>& callback) OVERRIDE; | 303 const base::Callback<void(bool)>& callback) OVERRIDE; |
304 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 304 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
305 virtual bool CanSubscribeFrame() const OVERRIDE; | 305 virtual bool CanSubscribeFrame() const OVERRIDE; |
306 virtual void BeginFrameSubscription( | 306 virtual void BeginFrameSubscription( |
307 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 307 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
308 virtual void EndFrameSubscription() OVERRIDE; | 308 virtual void EndFrameSubscription() OVERRIDE; |
309 virtual void OnSwapCompositorFrame( | 309 virtual void OnSwapCompositorFrame( |
310 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 310 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
311 virtual void AcceleratedSurfaceInitialized(int host_id, | 311 virtual void AcceleratedSurfaceInitialized(int host_id, |
312 int route_id) OVERRIDE; | 312 int route_id) OVERRIDE; |
313 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; | 313 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 314 BrowserAccessibilityDelegate* delegate) OVERRIDE; |
314 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) | 315 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) |
315 OVERRIDE; | 316 OVERRIDE; |
316 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE; | 317 virtual void AccessibilityShowMenu(const gfx::Point& point) OVERRIDE; |
317 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE; | |
318 virtual bool PostProcessEventForPluginIme( | 318 virtual bool PostProcessEventForPluginIme( |
319 const NativeWebKeyboardEvent& event) OVERRIDE; | 319 const NativeWebKeyboardEvent& event) OVERRIDE; |
320 | 320 |
321 virtual void AcceleratedSurfaceBuffersSwapped( | 321 virtual void AcceleratedSurfaceBuffersSwapped( |
322 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 322 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
323 int gpu_host_id) OVERRIDE; | 323 int gpu_host_id) OVERRIDE; |
324 virtual void AcceleratedSurfacePostSubBuffer( | 324 virtual void AcceleratedSurfacePostSubBuffer( |
325 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 325 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
326 int gpu_host_id) OVERRIDE; | 326 int gpu_host_id) OVERRIDE; |
327 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 327 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 629 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
630 | 630 |
631 base::WeakPtrFactory<RenderWidgetHostViewMac> | 631 base::WeakPtrFactory<RenderWidgetHostViewMac> |
632 software_frame_weak_ptr_factory_; | 632 software_frame_weak_ptr_factory_; |
633 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 633 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
634 }; | 634 }; |
635 | 635 |
636 } // namespace content | 636 } // namespace content |
637 | 637 |
638 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 638 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |