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

Side by Side Diff: ui/views/view_constants_aura.cc

Issue 2632543003: Refactor and push window properties up to class properties. (Closed)
Patch Set: More changes based on feedback Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ui/views/view_constants_aura.h" 5 #include "ui/views/view_constants_aura.h"
6 6
7 #include "ui/aura/window_property.h" 7 #include "ui/base/class_property.h"
8 #include "ui/views/view.h" 8 #include "ui/views/view.h"
9 9
10 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(VIEWS_EXPORT, views::View*); 10 DECLARE_EXPORTED_UI_CLASS_PROPERTY_TYPE(VIEWS_EXPORT, views::View*);
11 11
12 namespace views { 12 namespace views {
13 13
14 DEFINE_WINDOW_PROPERTY_KEY(views::View*, kHostViewKey, NULL); 14 DEFINE_UI_CLASS_PROPERTY_KEY(views::View*, kHostViewKey, NULL);
15 15
16 } // namespace views 16 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698