Chromium Code Reviews| 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 |