| 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 const gfx::Rect& src_subrect, | 305 const gfx::Rect& src_subrect, |
| 306 const scoped_refptr<media::VideoFrame>& target, | 306 const scoped_refptr<media::VideoFrame>& target, |
| 307 const base::Callback<void(bool)>& callback) OVERRIDE; | 307 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 308 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 308 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| 309 virtual bool CanSubscribeFrame() const OVERRIDE; | 309 virtual bool CanSubscribeFrame() const OVERRIDE; |
| 310 virtual void BeginFrameSubscription( | 310 virtual void BeginFrameSubscription( |
| 311 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 311 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
| 312 virtual void EndFrameSubscription() OVERRIDE; | 312 virtual void EndFrameSubscription() OVERRIDE; |
| 313 virtual void OnSwapCompositorFrame( | 313 virtual void OnSwapCompositorFrame( |
| 314 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 314 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
| 315 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | |
| 316 virtual void AcceleratedSurfaceInitialized(int host_id, | 315 virtual void AcceleratedSurfaceInitialized(int host_id, |
| 317 int route_id) OVERRIDE; | 316 int route_id) OVERRIDE; |
| 318 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; | 317 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; |
| 319 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) | 318 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) |
| 320 OVERRIDE; | 319 OVERRIDE; |
| 321 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE; | 320 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE; |
| 322 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE; | 321 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE; |
| 323 virtual bool PostProcessEventForPluginIme( | 322 virtual bool PostProcessEventForPluginIme( |
| 324 const NativeWebKeyboardEvent& event) OVERRIDE; | 323 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 325 | 324 |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 668 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
| 670 | 669 |
| 671 base::WeakPtrFactory<RenderWidgetHostViewMac> | 670 base::WeakPtrFactory<RenderWidgetHostViewMac> |
| 672 software_frame_weak_ptr_factory_; | 671 software_frame_weak_ptr_factory_; |
| 673 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 672 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 674 }; | 673 }; |
| 675 | 674 |
| 676 } // namespace content | 675 } // namespace content |
| 677 | 676 |
| 678 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 677 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |