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

Unified Diff: views/window/native_window.h

Issue 7054052: Move more from Window onto Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/window/dialog_delegate.cc ('k') | views/window/native_window_delegate.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 88218)
+++ views/window/native_window.h (working copy)
@@ -29,12 +29,6 @@
//
class NativeWindow {
public:
- enum ShowState {
- SHOW_RESTORED,
- SHOW_MAXIMIZED,
- SHOW_INACTIVE
- };
-
virtual ~NativeWindow() {}
// Creates an appropriate default NativeWindow implementation for the current
@@ -51,18 +45,8 @@
protected:
friend class Window;
- // Returns the bounds of the window in screen coordinates for its non-
- // maximized state, regardless of whether or not it is currently maximized.
- virtual gfx::Rect GetRestoredBounds() const = 0;
-
- // Shows the window.
- virtual void ShowNativeWindow(ShowState state) = 0;
-
// Makes the NativeWindow modal.
virtual void BecomeModal() = 0;
-
- // Enables or disables the close button for the window.
- virtual void EnableClose(bool enable) = 0;
};
} // namespace views
« no previous file with comments | « views/window/dialog_delegate.cc ('k') | views/window/native_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698