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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 511923004: Simplify IOSurface CoreAnimation code: Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use accessors Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index 648d6116797b4dd500c6dbc6011bb53982a31a4a..d829683f27583a0e81a04fbdb134d08df76a68fb 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -19,7 +19,7 @@
#include "base/time/time.h"
#include "content/browser/compositor/browser_compositor_view_mac.h"
#include "content/browser/compositor/delegated_frame_host.h"
-#include "content/browser/renderer_host/compositing_iosurface_layer_mac.h"
+#include "content/browser/compositor/io_surface_layer_mac.h"
#include "content/browser/renderer_host/display_link_mac.h"
#include "content/browser/renderer_host/render_widget_host_view_base.h"
#include "content/browser/renderer_host/software_frame_manager.h"
@@ -207,7 +207,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
public DelegatedFrameHostClient,
public BrowserCompositorViewMacClient,
public IPC::Sender,
- public CompositingIOSurfaceLayerClient,
public gfx::DisplayObserver {
public:
// The view will associate itself with the given widget. The native view must
@@ -329,11 +328,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
virtual SkColorType PreferredReadbackFormat() OVERRIDE;
- // CompositingIOSurfaceLayerClient implementation.
- virtual bool AcceleratedLayerShouldAckImmediately() const OVERRIDE;
- virtual void AcceleratedLayerDidDrawFrame() OVERRIDE;
- virtual void AcceleratedLayerHitError() OVERRIDE;
-
// gfx::DisplayObserver implementation.
virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE;
virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698