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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 virtual void CopyFromCompositingSurfaceToVideoFrame( | 277 virtual void CopyFromCompositingSurfaceToVideoFrame( |
278 const gfx::Rect& src_subrect, | 278 const gfx::Rect& src_subrect, |
279 const scoped_refptr<media::VideoFrame>& target, | 279 const scoped_refptr<media::VideoFrame>& target, |
280 const base::Callback<void(bool)>& callback) OVERRIDE; | 280 const base::Callback<void(bool)>& callback) OVERRIDE; |
281 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 281 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
282 virtual bool CanSubscribeFrame() const OVERRIDE; | 282 virtual bool CanSubscribeFrame() const OVERRIDE; |
283 virtual void BeginFrameSubscription( | 283 virtual void BeginFrameSubscription( |
284 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 284 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
285 virtual void EndFrameSubscription() OVERRIDE; | 285 virtual void EndFrameSubscription() OVERRIDE; |
286 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 286 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
287 virtual void OnAccessibilityNotifications( | 287 virtual void OnAccessibilityEvents( |
288 const std::vector<AccessibilityHostMsg_NotificationParams>& params | 288 const std::vector<AccessibilityHostMsg_EventParams>& params |
289 ) OVERRIDE; | 289 ) OVERRIDE; |
290 virtual bool PostProcessEventForPluginIme( | 290 virtual bool PostProcessEventForPluginIme( |
291 const NativeWebKeyboardEvent& event) OVERRIDE; | 291 const NativeWebKeyboardEvent& event) OVERRIDE; |
292 | 292 |
293 virtual void AcceleratedSurfaceBuffersSwapped( | 293 virtual void AcceleratedSurfaceBuffersSwapped( |
294 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 294 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
295 int gpu_host_id) OVERRIDE; | 295 int gpu_host_id) OVERRIDE; |
296 virtual void AcceleratedSurfacePostSubBuffer( | 296 virtual void AcceleratedSurfacePostSubBuffer( |
297 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 297 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
298 int gpu_host_id) OVERRIDE; | 298 int gpu_host_id) OVERRIDE; |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 | 556 |
557 // Subscriber that listens to frame presentation events. | 557 // Subscriber that listens to frame presentation events. |
558 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 558 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
559 | 559 |
560 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 560 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
561 }; | 561 }; |
562 | 562 |
563 } // namespace content | 563 } // namespace content |
564 | 564 |
565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |