Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 615503004: Remove TextureImageTransportSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NOTREACHED -> NOTIMPLEMENTED Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/IOSurfaceAPI.h> 9 #include <IOSurface/IOSurfaceAPI.h>
10 #include <list> 10 #include <list>
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 const gfx::Rect& src_subrect, 290 const gfx::Rect& src_subrect,
291 const scoped_refptr<media::VideoFrame>& target, 291 const scoped_refptr<media::VideoFrame>& target,
292 const base::Callback<void(bool)>& callback) OVERRIDE; 292 const base::Callback<void(bool)>& callback) OVERRIDE;
293 virtual bool CanCopyToVideoFrame() const OVERRIDE; 293 virtual bool CanCopyToVideoFrame() const OVERRIDE;
294 virtual bool CanSubscribeFrame() const OVERRIDE; 294 virtual bool CanSubscribeFrame() const OVERRIDE;
295 virtual void BeginFrameSubscription( 295 virtual void BeginFrameSubscription(
296 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 296 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
297 virtual void EndFrameSubscription() OVERRIDE; 297 virtual void EndFrameSubscription() OVERRIDE;
298 virtual void OnSwapCompositorFrame( 298 virtual void OnSwapCompositorFrame(
299 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 299 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
300 virtual void AcceleratedSurfaceInitialized(int host_id,
301 int route_id) OVERRIDE;
302 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 300 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
303 BrowserAccessibilityDelegate* delegate) OVERRIDE; 301 BrowserAccessibilityDelegate* delegate) OVERRIDE;
304 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) 302 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
305 OVERRIDE; 303 OVERRIDE;
306 virtual void AccessibilityShowMenu(const gfx::Point& point) OVERRIDE; 304 virtual void AccessibilityShowMenu(const gfx::Point& point) OVERRIDE;
307 virtual bool PostProcessEventForPluginIme( 305 virtual bool PostProcessEventForPluginIme(
308 const NativeWebKeyboardEvent& event) OVERRIDE; 306 const NativeWebKeyboardEvent& event) OVERRIDE;
309 307
310 virtual void AcceleratedSurfaceBuffersSwapped(
311 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
312 int gpu_host_id) OVERRIDE;
313 virtual void AcceleratedSurfacePostSubBuffer(
314 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
315 int gpu_host_id) OVERRIDE;
316 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
317 virtual void AcceleratedSurfaceRelease() OVERRIDE;
318 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 308 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
319 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; 309 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE;
320 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 310 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
321 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 311 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
322 312
323 virtual bool LockMouse() OVERRIDE; 313 virtual bool LockMouse() OVERRIDE;
324 virtual void UnlockMouse() OVERRIDE; 314 virtual void UnlockMouse() OVERRIDE;
325 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event, 315 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event,
326 InputEventAckState ack_result) OVERRIDE; 316 InputEventAckState ack_result) OVERRIDE;
327 317
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 507
518 // The current caret bounds. 508 // The current caret bounds.
519 gfx::Rect caret_rect_; 509 gfx::Rect caret_rect_;
520 510
521 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 511 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
522 }; 512 };
523 513
524 } // namespace content 514 } // namespace content
525 515
526 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 516 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698