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

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

Issue 2658293002: content: Remove Lock/Unlock CompositingSurface API from RWH. (Closed)
Patch Set: last_frame_info Created 3 years, 10 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/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 303 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
304 cc::CompositorFrame frame) override; 304 cc::CompositorFrame frame) override;
305 void ClearCompositorFrame() override; 305 void ClearCompositorFrame() override;
306 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 306 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
307 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 307 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
308 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; 308 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override;
309 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 309 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
310 310
311 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 311 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
312 gfx::Rect GetBoundsInRootWindow() override; 312 gfx::Rect GetBoundsInRootWindow() override;
313 void LockCompositingSurface() override;
314 void UnlockCompositingSurface() override;
315 313
316 bool LockMouse() override; 314 bool LockMouse() override;
317 void UnlockMouse() override; 315 void UnlockMouse() override;
318 void OnSetNeedsFlushInput() override; 316 void OnSetNeedsFlushInput() override;
319 void GestureEventAck(const blink::WebGestureEvent& event, 317 void GestureEventAck(const blink::WebGestureEvent& event,
320 InputEventAckState ack_result) override; 318 InputEventAckState ack_result) override;
321 319
322 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 320 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
323 override; 321 override;
324 322
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 562
565 // Factory used to safely scope delayed calls to ShutdownHost(). 563 // Factory used to safely scope delayed calls to ShutdownHost().
566 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 564 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
567 565
568 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 566 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
569 }; 567 };
570 568
571 } // namespace content 569 } // namespace content
572 570
573 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 571 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698