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

Unified Diff: ui/views/views_delegate.h

Issue 10081022: Aura/ash split: Remove hacks and get chrome linking without ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unterminated #if Created 8 years, 8 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/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index af9c665f621d7996352941844b632d87317ff421..d1fc739e3c791bf530af40849dbf842322768e2d 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -31,6 +31,11 @@ class NonClientFrameView;
class View;
class Widget;
+#if defined(USE_AURA)
+class NativeWidgetAura;
+class NativeWidgetHelperAura;
+#endif
+
// ViewsDelegate is an interface implemented by an object using the views
// framework. It is used to obtain various high level application utilities
// and perform some actions such as window placement saving.
@@ -96,6 +101,13 @@ class VIEWS_EXPORT ViewsDelegate {
// Converts views::Event::flags to a WindowOpenDisposition.
virtual int GetDispositionForEvent(int event_flags) = 0;
+
+#if defined(USE_AURA)
+ // Creates an object that implements desktop integration behavior. Returned
+ // object is owned by the NativeWidgetAura passed in. May return NULL.
+ virtual NativeWidgetHelperAura* CreateNativeWidgetHelper(
+ NativeWidgetAura* native_widget) = 0;
+#endif
};
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698