// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_VIEW_PROP_H_ #define UI_BASE_VIEW_PROP_H_ #include "base/component_export.h" #include "base/memory/scoped_refptr.h" #include "build/build_config.h" #include "ui/gfx/native_widget_types.h" #if !BUILDFLAG(IS_WIN) && !defined(USE_AURA) #error view_prop.h is only for windows and aura builds. #endif namespace ui { // ViewProp maintains a key/value pair for a particular view. ViewProp is // designed as a replacement for the Win32's SetProp, but does not make use of // window manager memory. ViewProp shares similar semantics as SetProp, the // value for a particular view/key pair comes from the last ViewProp created. class COMPONENT_EXPORT(UI_BASE) ViewProp { … }; } // namespace ui #endif // UI_BASE_VIEW_PROP_H_