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

Unified Diff: ui/base/property_data.h

Issue 2632543003: Refactor and push window properties up to class properties. (Closed)
Patch Set: More changes based on feedback Created 3 years, 11 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 | « ui/base/class_property_unittest.cc ('k') | ui/views/view_constants_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/property_data.h
diff --git a/ui/base/property_data.h b/ui/base/property_data.h
new file mode 100644
index 0000000000000000000000000000000000000000..354b105ee8325cbe8c1aa95a1f7b56d584d5b118
--- /dev/null
+++ b/ui/base/property_data.h
@@ -0,0 +1,22 @@
+// Copyright 2017 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.
+
+#ifndef UI_BASE_PROPERTY_DATA_H_
+#define UI_BASE_PROPERTY_DATA_H_
+
+#include "ui/base/ui_base_export.h"
+
+namespace ui {
+
+// Descendants of ui::PropertyHandler may return a descendant of this class
+// when overriding BeforePropertyChange. This instance is then passed to
sky 2017/01/24 22:36:13 Generally we use () in documentation when referrin
+// AfterPropertyChange in order to preserve and/or communicate data between
+// those two calls.
+struct UI_BASE_EXPORT PropertyData {
+ virtual ~PropertyData() {}
+};
+
+}
+
+#endif
« no previous file with comments | « ui/base/class_property_unittest.cc ('k') | ui/views/view_constants_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698