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

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: respond to comments 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
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 92184229e848f8ae0b5717feedf089b6d459ab10..0cd87b719ee2a7ad247a6d5603d0966c6bed0a79 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);
};
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698