diff options
Diffstat (limited to 'views/window/native_window_win.h')
-rw-r--r-- | views/window/native_window_win.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/views/window/native_window_win.h b/views/window/native_window_win.h index 71eac11..7587832 100644 --- a/views/window/native_window_win.h +++ b/views/window/native_window_win.h @@ -151,17 +151,26 @@ class NativeWindowWin : public NativeWidgetWin, virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; virtual void SetWindowBounds(const gfx::Rect& bounds, gfx::NativeWindow other_window) OVERRIDE; + virtual void HideWindow() OVERRIDE; + virtual void Activate() OVERRIDE; + virtual void Deactivate() OVERRIDE; + virtual void Maximize() OVERRIDE; + virtual void Minimize() OVERRIDE; + virtual void Restore() OVERRIDE; + virtual bool IsActive() const OVERRIDE; + virtual bool IsVisible() const OVERRIDE; + virtual bool IsMaximized() const OVERRIDE; + virtual bool IsMinimized() const OVERRIDE; virtual void SetFullscreen(bool fullscreen) OVERRIDE; virtual bool IsFullscreen() const OVERRIDE; + virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; virtual NonClientFrameView* CreateFrameViewForWindow() OVERRIDE; virtual void UpdateFrameAfterFrameChange() OVERRIDE; + virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; virtual bool ShouldUseNativeFrame() const OVERRIDE; virtual void FrameTypeChanged() OVERRIDE; - // Overridden from NativeWidgetWin: - virtual bool IsActive() const OVERRIDE; - private: // Information saved before going into fullscreen mode, used to restore the // window afterwards. @@ -203,6 +212,9 @@ class NativeWindowWin : public NativeWidgetWin, // flicker. LRESULT CallDefaultNCActivateHandler(BOOL active); + // Executes the specified SC_command. + void ExecuteSystemMenuCommand(int command); + // A delegate implementation that handles events received here. internal::NativeWindowDelegate* delegate_; |