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 <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 const base::Callback<void(bool)>& callback) OVERRIDE; | 298 const base::Callback<void(bool)>& callback) OVERRIDE; |
299 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 299 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
300 virtual bool CanSubscribeFrame() const OVERRIDE; | 300 virtual bool CanSubscribeFrame() const OVERRIDE; |
301 virtual void BeginFrameSubscription( | 301 virtual void BeginFrameSubscription( |
302 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 302 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
303 virtual void EndFrameSubscription() OVERRIDE; | 303 virtual void EndFrameSubscription() OVERRIDE; |
304 virtual void OnSwapCompositorFrame( | 304 virtual void OnSwapCompositorFrame( |
305 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 305 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
306 virtual void AcceleratedSurfaceInitialized(int host_id, | 306 virtual void AcceleratedSurfaceInitialized(int host_id, |
307 int route_id) OVERRIDE; | 307 int route_id) OVERRIDE; |
308 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; | 308 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 309 BrowserAccessibilityDelegate* delegate) OVERRIDE; |
309 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) | 310 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) |
310 OVERRIDE; | 311 OVERRIDE; |
311 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE; | 312 virtual void AccessibilityShowMenu(const gfx::Point& point) OVERRIDE; |
312 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE; | |
313 virtual bool PostProcessEventForPluginIme( | 313 virtual bool PostProcessEventForPluginIme( |
314 const NativeWebKeyboardEvent& event) OVERRIDE; | 314 const NativeWebKeyboardEvent& event) OVERRIDE; |
315 | 315 |
316 virtual void AcceleratedSurfaceBuffersSwapped( | 316 virtual void AcceleratedSurfaceBuffersSwapped( |
317 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 317 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
318 int gpu_host_id) OVERRIDE; | 318 int gpu_host_id) OVERRIDE; |
319 virtual void AcceleratedSurfacePostSubBuffer( | 319 virtual void AcceleratedSurfacePostSubBuffer( |
320 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 320 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
321 int gpu_host_id) OVERRIDE; | 321 int gpu_host_id) OVERRIDE; |
322 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 322 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 652 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
653 | 653 |
654 base::WeakPtrFactory<RenderWidgetHostViewMac> | 654 base::WeakPtrFactory<RenderWidgetHostViewMac> |
655 software_frame_weak_ptr_factory_; | 655 software_frame_weak_ptr_factory_; |
656 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 656 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
657 }; | 657 }; |
658 | 658 |
659 } // namespace content | 659 } // namespace content |
660 | 660 |
661 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 661 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |