| 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/IOSurface.h> | 9 #include <IOSurface/IOSurface.h> |
| 10 #include <list> | 10 #include <list> |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 const gfx::Rect& src_subrect, | 316 const gfx::Rect& src_subrect, |
| 317 const scoped_refptr<media::VideoFrame>& target, | 317 const scoped_refptr<media::VideoFrame>& target, |
| 318 const base::Callback<void(bool)>& callback) override; | 318 const base::Callback<void(bool)>& callback) override; |
| 319 bool CanCopyToVideoFrame() const override; | 319 bool CanCopyToVideoFrame() const override; |
| 320 bool CanSubscribeFrame() const override; | 320 bool CanSubscribeFrame() const override; |
| 321 void BeginFrameSubscription( | 321 void BeginFrameSubscription( |
| 322 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 322 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
| 323 void EndFrameSubscription() override; | 323 void EndFrameSubscription() override; |
| 324 void OnSwapCompositorFrame(uint32 output_surface_id, | 324 void OnSwapCompositorFrame(uint32 output_surface_id, |
| 325 scoped_ptr<cc::CompositorFrame> frame) override; | 325 scoped_ptr<cc::CompositorFrame> frame) override; |
| 326 void ClearCompositorFrame() override; |
| 326 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 327 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 327 BrowserAccessibilityDelegate* delegate) override; | 328 BrowserAccessibilityDelegate* delegate) override; |
| 328 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; | 329 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; |
| 329 bool PostProcessEventForPluginIme( | 330 bool PostProcessEventForPluginIme( |
| 330 const NativeWebKeyboardEvent& event) override; | 331 const NativeWebKeyboardEvent& event) override; |
| 331 | 332 |
| 332 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 333 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 333 void GetScreenInfo(blink::WebScreenInfo* results) override; | 334 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 334 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 335 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 335 gfx::Rect GetBoundsInRootWindow() override; | 336 gfx::Rect GetBoundsInRootWindow() override; |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 | 594 |
| 594 // Factory used to safely scope delayed calls to ShutdownHost(). | 595 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 595 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 596 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 596 | 597 |
| 597 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 598 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 598 }; | 599 }; |
| 599 | 600 |
| 600 } // namespace content | 601 } // namespace content |
| 601 | 602 |
| 602 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 603 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |