// Copyright 2012 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_MODELS_LIST_MODEL_H_ #define UI_BASE_MODELS_LIST_MODEL_H_ #include <stddef.h> #include <memory> #include <utility> #include <vector> #include "base/check_op.h" #include "base/observer_list.h" #include "ui/base/models/list_model_observer.h" namespace ui { // A list model that manages a list of ItemType pointers. Items added to the // model are owned by the model. An item can be taken out of the model by // RemoveAt. template <class ItemType> class ListModel { … }; } // namespace ui #endif // UI_BASE_MODELS_LIST_MODEL_H_