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

Unified Diff: views/window/native_window_delegate.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/native_window.h ('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_delegate.h
===================================================================
--- views/window/native_window_delegate.h (revision 88218)
+++ views/window/native_window_delegate.h (working copy)
@@ -23,45 +23,15 @@
public:
virtual ~NativeWindowDelegate() {}
- // Returns true if the window can be activated.
- virtual bool CanActivate() const = 0;
-
- virtual bool IsInactiveRenderingDisabled() const = 0;
- virtual void EnableInactiveRendering() = 0;
-
// Returns true if the window is modal.
virtual bool IsModal() const = 0;
// Returns true if the window is a dialog box.
virtual bool IsDialogBox() const = 0;
- // Returns the smallest size the window can be resized to by the user.
- virtual gfx::Size GetMinimumSize() = 0;
-
- // Returns the non-client component (see views/window/hit_test.h) containing
- // |point|, in client coordinates.
- virtual int GetNonClientComponent(const gfx::Point& point) = 0;
-
- // Runs the specified native command. Returns true if the command is handled.
- virtual bool ExecuteCommand(int command_id) = 0;
-
// Called just after the NativeWindow has been created.
virtual void OnNativeWindowCreated(const gfx::Rect& bounds) = 0;
- // Called when the activation state of a window has changed.
- virtual void OnNativeWindowActivationChanged(bool active) = 0;
-
- // Called when the user begins/ends to change the bounds of the window.
- virtual void OnNativeWindowBeginUserBoundsChange() = 0;
- virtual void OnNativeWindowEndUserBoundsChange() = 0;
-
- // Called just before the native window is destroyed. This is the delegate's
- // last chance to do anything with the native window handle.
- virtual void OnNativeWindowDestroying() = 0;
-
- // Called when the native window's position or size has changed.
- virtual void OnNativeWindowBoundsChanged() = 0;
-
//
virtual Window* AsWindow() = 0;
« no previous file with comments | « views/window/native_window.h ('k') | views/window/native_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698