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

Side by Side Diff: ash/public/cpp/window_properties.cc

Issue 2778733004: Add WindowPinType property on arua::Window (Closed)
Patch Set: Address review issues Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/public/cpp/window_properties.h" 5 #include "ash/public/cpp/window_properties.h"
6 6
7 DECLARE_EXPORTED_UI_CLASS_PROPERTY_TYPE(ASH_PUBLIC_EXPORT, ash::WindowPinType)
8
7 namespace ash { 9 namespace ash {
8 10
9 DEFINE_UI_CLASS_PROPERTY_KEY(bool, kPanelAttachedKey, true); 11 DEFINE_UI_CLASS_PROPERTY_KEY(bool, kPanelAttachedKey, true);
10
11 DEFINE_UI_CLASS_PROPERTY_KEY(int32_t, kShelfItemTypeKey, TYPE_UNDEFINED); 12 DEFINE_UI_CLASS_PROPERTY_KEY(int32_t, kShelfItemTypeKey, TYPE_UNDEFINED);
13 DEFINE_UI_CLASS_PROPERTY_KEY(WindowPinType,
14 kWindowPinTypeKey,
15 WindowPinType::NONE);
12 16
13 } // namespace ash 17 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698