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

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

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 | « ui/aura/test/test_window_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_window_delegate.cc
===================================================================
--- ui/aura/test/test_window_delegate.cc (revision 124527)
+++ ui/aura/test/test_window_delegate.cc (working copy)
@@ -16,7 +16,7 @@
////////////////////////////////////////////////////////////////////////////////
// TestWindowDelegate
-TestWindowDelegate::TestWindowDelegate() {
+TestWindowDelegate::TestWindowDelegate() : window_component_(HTCLIENT) {
}
TestWindowDelegate::~TestWindowDelegate() {
@@ -45,7 +45,7 @@
}
int TestWindowDelegate::GetNonClientComponent(const gfx::Point& point) const {
- return HTCLIENT;
+ return window_component_;
}
bool TestWindowDelegate::OnMouseEvent(MouseEvent* event) {
« no previous file with comments | « ui/aura/test/test_window_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698