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

Side by Side Diff: app/tree_node_model.h

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 years, 3 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef APP_TREE_NODE_MODEL_H_ 5 #ifndef APP_TREE_NODE_MODEL_H_
6 #define APP_TREE_NODE_MODEL_H_ 6 #define APP_TREE_NODE_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
11 11
12 #include "app/tree_model.h" 12 #include "app/tree_model.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/logging.h"
14 #include "base/observer_list.h" 15 #include "base/observer_list.h"
15 #include "base/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
16 #include "base/scoped_vector.h" 17 #include "base/scoped_vector.h"
17 #include "base/stl_util-inl.h" 18 #include "base/stl_util-inl.h"
18 #include "base/string16.h" 19 #include "base/string16.h"
19 20
20 // TreeNodeModel and TreeNodes provide an implementation of TreeModel around 21 // TreeNodeModel and TreeNodes provide an implementation of TreeModel around
21 // TreeNodes. TreeNodes form a directed acyclic graph. 22 // TreeNodes. TreeNodes form a directed acyclic graph.
22 // 23 //
23 // TreeNodes own their children, so that deleting a node deletes all 24 // TreeNodes own their children, so that deleting a node deletes all
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 private: 306 private:
306 // The observers. 307 // The observers.
307 ObserverList<TreeModelObserver> observer_list_; 308 ObserverList<TreeModelObserver> observer_list_;
308 // The root. 309 // The root.
309 scoped_ptr<NodeType> root_; 310 scoped_ptr<NodeType> root_;
310 311
311 DISALLOW_COPY_AND_ASSIGN(TreeNodeModel); 312 DISALLOW_COPY_AND_ASSIGN(TreeNodeModel);
312 }; 313 };
313 314
314 #endif // APP_TREE_NODE_MODEL_H_ 315 #endif // APP_TREE_NODE_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698