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

Unified Diff: ui/aura/window_delegate.h

Issue 8618009: Aura: Fix window resizing for large drags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix HtmlDialogBrowserTest Created 9 years, 1 month 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 | « ui/aura/window.cc ('k') | ui/aura_shell/toplevel_window_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_delegate.h
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
index 5471edf723058325c79409d95cda70599ff369b3..034ad8e49edd6a7a94107a415b76418174409cf1 100644
--- a/ui/aura/window_delegate.h
+++ b/ui/aura/window_delegate.h
@@ -14,6 +14,7 @@ namespace gfx {
class Canvas;
class Point;
class Rect;
+class Size;
}
namespace aura {
@@ -26,9 +27,8 @@ class TouchEvent;
// Delegate interface for aura::Window.
class AURA_EXPORT WindowDelegate {
public:
- // Called before the Window's position and/or size changes and deleage could
- // take this opportunity to examine and change the new bounds.
- virtual void OnBoundsChanging(gfx::Rect* new_bounds) = 0;
+ // Returns the window's minimum size, or size 0,0 if there is no limit.
+ virtual gfx::Size GetMinimumSize() const = 0;
// Called when the Window's position and/or size changes.
virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura_shell/toplevel_window_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698