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

Unified Diff: ui/aura/test/test_window_delegate.h

Issue 9570037: Double clicking the resize handle should expand window along that axis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « ash/wm/workspace/workspace_manager.cc ('k') | ui/aura/test/test_window_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_window_delegate.h
===================================================================
--- ui/aura/test/test_window_delegate.h (revision 124527)
+++ ui/aura/test/test_window_delegate.h (working copy)
@@ -19,6 +19,10 @@
TestWindowDelegate();
virtual ~TestWindowDelegate();
+ void set_window_component(int window_component) {
+ window_component_ = window_component;
+ }
+
// Overridden from WindowDelegate:
virtual gfx::Size GetMinimumSize() const OVERRIDE;
virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
@@ -39,6 +43,8 @@
virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
private:
+ int window_component_;
+
DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
};
« no previous file with comments | « ash/wm/workspace/workspace_manager.cc ('k') | ui/aura/test/test_window_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698