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

Unified Diff: ui/views/widget/native_widget_mac.h

Issue 329743002: MacViews: Initial skeleton for implementing NativeWidgetMac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to master now we have stats Created 6 years, 6 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: ui/views/widget/native_widget_mac.h
diff --git a/ui/views/widget/native_widget_mac.h b/ui/views/widget/native_widget_mac.h
index a4e18940697e58c090177d71f68bccadf21704cd..97c7de7a6bed3d79abacdb10e7bdf91c13634d4a 100644
--- a/ui/views/widget/native_widget_mac.h
+++ b/ui/views/widget/native_widget_mac.h
@@ -5,12 +5,13 @@
#ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
#define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
-#include "base/mac/scoped_nsobject.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/views/widget/native_widget_private.h"
namespace views {
+class BridgedNativeWidget;
+
class VIEWS_EXPORT NativeWidgetMac : public internal::NativeWidgetPrivate {
public:
NativeWidgetMac(internal::NativeWidgetDelegate* delegate);
@@ -105,7 +106,7 @@ class VIEWS_EXPORT NativeWidgetMac : public internal::NativeWidgetPrivate {
private:
internal::NativeWidgetDelegate* delegate_;
- base::scoped_nsobject<NSWindow> window_;
+ scoped_ptr<BridgedNativeWidget> bridge_;
DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac);
};

Powered by Google App Engine
This is Rietveld 408576698