| Index: ui/views/views_delegate.h
|
| ===================================================================
|
| --- ui/views/views_delegate.h (revision 156649)
|
| +++ ui/views/views_delegate.h (working copy)
|
| @@ -14,6 +14,7 @@
|
| #include "base/string16.h"
|
| #include "ui/base/accessibility/accessibility_types.h"
|
| #include "ui/base/ui_base_types.h"
|
| +#include "ui/gfx/native_widget_types.h"
|
| #include "ui/views/views_export.h"
|
|
|
| namespace content {
|
| @@ -28,14 +29,17 @@
|
|
|
| namespace views {
|
|
|
| +class NativeWidget;
|
| class NonClientFrameView;
|
| class View;
|
| class Widget;
|
| -
|
| #if defined(USE_AURA)
|
| class NativeWidgetAura;
|
| class NativeWidgetHelperAura;
|
| #endif
|
| +namespace internal {
|
| +class NativeWidgetDelegate;
|
| +}
|
|
|
| // ViewsDelegate is an interface implemented by an object using the views
|
| // framework. It is used to obtain various high level application utilities
|
| @@ -111,6 +115,12 @@
|
| virtual content::WebContents* CreateWebContents(
|
| content::BrowserContext* browser_context,
|
| content::SiteInstance* site_instance) = 0;
|
| +
|
| + // Creates a NativeWidget implementation. Returning NULL means Widget will
|
| + // create a default implementation for the platform.
|
| + virtual NativeWidget* CreateNativeWidget(
|
| + internal::NativeWidgetDelegate* delegate,
|
| + gfx::NativeView parent) = 0;
|
| };
|
|
|
| } // namespace views
|
|
|