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

Unified Diff: views/window/native_window.h

Issue 6976040: Revert 86914 - Move a bunch of functions from Window onto Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 | « views/widget/widget.cc ('k') | views/window/native_window_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/native_window.h
===================================================================
--- views/window/native_window.h (revision 86938)
+++ views/window/native_window.h (working copy)
@@ -91,11 +91,23 @@
virtual void SetWindowBounds(const gfx::Rect& bounds,
gfx::NativeWindow other_window) = 0;
+ virtual void HideWindow() = 0;
+ virtual void Activate() = 0;
+ virtual void Deactivate() = 0;
+ virtual void Maximize() = 0;
+ virtual void Minimize() = 0;
+ virtual void Restore() = 0;
+ virtual bool IsActive() const = 0;
+ virtual bool IsVisible() const = 0;
+ virtual bool IsMaximized() const = 0;
+ virtual bool IsMinimized() const = 0;
virtual void SetFullscreen(bool fullscreen) = 0;
virtual bool IsFullscreen() const = 0;
+ virtual void SetAlwaysOnTop(bool always_on_top) = 0;
virtual void SetUseDragFrame(bool use_drag_frame) = 0;
virtual NonClientFrameView* CreateFrameViewForWindow() = 0;
virtual void UpdateFrameAfterFrameChange() = 0;
+ virtual gfx::NativeWindow GetNativeWindow() const = 0;
virtual bool ShouldUseNativeFrame() const = 0;
virtual void FrameTypeChanged() = 0;
};
« no previous file with comments | « views/widget/widget.cc ('k') | views/window/native_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698