| Index: views/window/native_window.h
|
| ===================================================================
|
| --- views/window/native_window.h (revision 85284)
|
| +++ views/window/native_window.h (working copy)
|
| @@ -37,9 +37,13 @@
|
|
|
| virtual ~NativeWindow() {}
|
|
|
| - static Window* CreateNativeWindow();
|
| + // Creates an appropriate default NativeWindow implementation for the current
|
| + // OS/circumstance.
|
| + static NativeWindow* CreateNativeWindow(
|
| + internal::NativeWindowDelegate* delegate);
|
|
|
| virtual Window* GetWindow() = 0;
|
| + virtual const Window* GetWindow() const = 0;
|
|
|
| virtual NativeWidget* AsNativeWidget() = 0;
|
| virtual const NativeWidget* AsNativeWidget() const = 0;
|
| @@ -100,7 +104,6 @@
|
| virtual void SetFullscreen(bool fullscreen) = 0;
|
| virtual bool IsFullscreen() const = 0;
|
| virtual void SetAlwaysOnTop(bool always_on_top) = 0;
|
| - virtual bool IsAppWindow() const = 0;
|
| virtual void SetUseDragFrame(bool use_drag_frame) = 0;
|
| virtual NonClientFrameView* CreateFrameViewForWindow() = 0;
|
| virtual void UpdateFrameAfterFrameChange() = 0;
|
|
|