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 gfx::Rect& src_subrect, | 298 const gfx::Rect& src_subrect, |
299 const scoped_refptr<media::VideoFrame>& target, | 299 const scoped_refptr<media::VideoFrame>& target, |
300 const base::Callback<void(bool)>& callback) OVERRIDE; | 300 const base::Callback<void(bool)>& callback) OVERRIDE; |
301 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 301 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
302 virtual bool CanSubscribeFrame() const OVERRIDE; | 302 virtual bool CanSubscribeFrame() const OVERRIDE; |
303 virtual void BeginFrameSubscription( | 303 virtual void BeginFrameSubscription( |
304 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 304 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
305 virtual void EndFrameSubscription() OVERRIDE; | 305 virtual void EndFrameSubscription() OVERRIDE; |
306 virtual void OnSwapCompositorFrame( | 306 virtual void OnSwapCompositorFrame( |
307 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 307 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
308 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | |
309 virtual void AcceleratedSurfaceInitialized(int host_id, | 308 virtual void AcceleratedSurfaceInitialized(int host_id, |
310 int route_id) OVERRIDE; | 309 int route_id) OVERRIDE; |
311 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; | 310 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; |
312 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) | 311 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) |
313 OVERRIDE; | 312 OVERRIDE; |
314 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE; | 313 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE; |
315 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE; | 314 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE; |
316 virtual bool PostProcessEventForPluginIme( | 315 virtual bool PostProcessEventForPluginIme( |
317 const NativeWebKeyboardEvent& event) OVERRIDE; | 316 const NativeWebKeyboardEvent& event) OVERRIDE; |
318 | 317 |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 642 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
644 | 643 |
645 base::WeakPtrFactory<RenderWidgetHostViewMac> | 644 base::WeakPtrFactory<RenderWidgetHostViewMac> |
646 software_frame_weak_ptr_factory_; | 645 software_frame_weak_ptr_factory_; |
647 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 646 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
648 }; | 647 }; |
649 | 648 |
650 } // namespace content | 649 } // namespace content |
651 | 650 |
652 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 651 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |