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

Unified Diff: ash/ash_constants.cc

Issue 10826085: Fixing problems with constrained windows (i.e. print preview) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed namespace request Created 8 years, 5 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/ash_constants.h ('k') | ash/wm/frame_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_constants.cc
diff --git a/ash/wm/window_frame.cc b/ash/ash_constants.cc
similarity index 59%
copy from ash/wm/window_frame.cc
copy to ash/ash_constants.cc
index 1cd2f4cefa5b33047e0f4154a0fd606ac6e86f83..ba0708241fc75367d55ea243596582e41594738e 100644
--- a/ash/wm/window_frame.cc
+++ b/ash/ash_constants.cc
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/wm/window_frame.h"
+#include "ash/ash_constants.h"
#include "ui/aura/window_property.h"
-DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(ASH_EXPORT, ash::WindowFrame*);
+DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(ASH_EXPORT, bool)
namespace ash {
-DEFINE_WINDOW_PROPERTY_KEY(WindowFrame*, kWindowFrameKey, NULL);
+
+DEFINE_WINDOW_PROPERTY_KEY(bool, kConstrainedWindowKey, false);
+
} // namespace ash
« no previous file with comments | « ash/ash_constants.h ('k') | ash/wm/frame_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698