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

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

Issue 10914231: Map fullscreen button to maximize (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix unit test Created 8 years, 3 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
Index: ui/aura/test/test_windows.cc
diff --git a/ui/aura/test/test_windows.cc b/ui/aura/test/test_windows.cc
index 085846d1a62f20973b009d1f0a984e007da17636..75cd53066056c5fbddb312be4d79751fbe99239e 100644
--- a/ui/aura/test/test_windows.cc
+++ b/ui/aura/test/test_windows.cc
@@ -5,6 +5,7 @@
#include "ui/aura/test/test_windows.h"
#include "base/string_number_conversions.h"
+#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/rect.h"
@@ -52,6 +53,7 @@ Window* CreateTestWindowWithDelegateAndType(WindowDelegate* delegate,
window->SetBounds(bounds);
window->Show();
window->SetParent(parent);
+ window->SetProperty(aura::client::kCanMaximizeKey, true);
return window;
}

Powered by Google App Engine
This is Rietveld 408576698