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

Unified Diff: ash/mus/window_properties.cc

Issue 2539363005: Converts ash to use aura-mus (Closed)
Patch Set: feedback2 Created 4 years 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: ash/mus/window_properties.cc
diff --git a/ash/mus/window_properties.cc b/ash/mus/window_properties.cc
new file mode 100644
index 0000000000000000000000000000000000000000..31a29665677029fa504b6c5fa75c650f2e583a5b
--- /dev/null
+++ b/ash/mus/window_properties.cc
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ash/mus/window_properties.h"
+
+#include "ui/aura/window_property.h"
+
+namespace ash {
+namespace mus {
+
+DEFINE_WINDOW_PROPERTY_KEY(bool, kRenderTitleAreaProperty, false);
+
+// Set to true if the window server tells us the window is janky (see
+// WindowManagerDelegate::OnWmClientJankinessChanged()).
James Cook 2016/12/05 22:56:34 Either this should go in the header, or the other
sky 2016/12/06 00:56:16 Done.
+DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowIsJanky, false);
+
+} // namespace mus
+} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698