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

Unified Diff: content/browser/compositor/browser_compositor_view_mac.h

Issue 394883007: Mac: Shift more code into C++ classes from ObjC classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@flip_fix
Patch Set: Touch-ups Created 6 years, 5 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/compositor/browser_compositor_view_mac.h
diff --git a/content/browser/compositor/browser_compositor_view_mac.h b/content/browser/compositor/browser_compositor_view_mac.h
index 0dc358bbe79a980fb84f0fe9ffe16378dc3db93d..f92945fcb5db8d6a160883ca9c5a43ec77fe89a0 100644
--- a/content/browser/compositor/browser_compositor_view_mac.h
+++ b/content/browser/compositor/browser_compositor_view_mac.h
@@ -18,8 +18,6 @@
#include "ui/events/latency_info.h"
#include "ui/gfx/geometry/size.h"
-@class BrowserCompositorViewCocoa;
-
// Additions to the NSView interface for compositor frames.
@interface NSView (BrowserCompositorView)
- (void)gotAcceleratedIOSurfaceFrame:(IOSurfaceID)surface_handle
@@ -36,6 +34,8 @@
namespace content {
+class BrowserCompositorViewMacInternal;
+
// The interface through which BrowserCompositorViewMac calls back into
// RenderWidgetHostViewMac (or any other structure that wishes to draw a
// NSView backed by a ui::Compositor).
@@ -74,7 +74,7 @@ class BrowserCompositorViewMac {
private:
BrowserCompositorViewMacClient* client_;
- base::scoped_nsobject<BrowserCompositorViewCocoa> cocoa_view_;
+ scoped_ptr<BrowserCompositorViewMacInternal> internal_view_;
};
// A class to keep around whenever a BrowserCompositorViewMac may be created.

Powered by Google App Engine
This is Rietveld 408576698