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

Side by Side Diff: ui/base/models/tree_node_model.h

Issue 16431009: Use a direct include of strings headers in ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/models/tree_model.h ('k') | ui/base/models/tree_node_model_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_BASE_MODELS_TREE_NODE_MODEL_H_ 5 #ifndef UI_BASE_MODELS_TREE_NODE_MODEL_H_
6 #define UI_BASE_MODELS_TREE_NODE_MODEL_H_ 6 #define UI_BASE_MODELS_TREE_NODE_MODEL_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/scoped_vector.h" 15 #include "base/memory/scoped_vector.h"
16 #include "base/observer_list.h" 16 #include "base/observer_list.h"
17 #include "base/string16.h" 17 #include "base/strings/string16.h"
18 #include "ui/base/models/tree_model.h" 18 #include "ui/base/models/tree_model.h"
19 19
20 namespace ui { 20 namespace ui {
21 21
22 // TreeNodeModel and TreeNodes provide an implementation of TreeModel around 22 // TreeNodeModel and TreeNodes provide an implementation of TreeModel around
23 // TreeNodes. 23 // TreeNodes.
24 // 24 //
25 // TreeNodes own their children, so that deleting a node deletes all 25 // TreeNodes own their children, so that deleting a node deletes all
26 // descendants. 26 // descendants.
27 // 27 //
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 // The root. 296 // The root.
297 scoped_ptr<NodeType> root_; 297 scoped_ptr<NodeType> root_;
298 298
299 DISALLOW_COPY_AND_ASSIGN(TreeNodeModel); 299 DISALLOW_COPY_AND_ASSIGN(TreeNodeModel);
300 }; 300 };
301 301
302 } // namespace ui 302 } // namespace ui
303 303
304 #endif // UI_BASE_MODELS_TREE_NODE_MODEL_H_ 304 #endif // UI_BASE_MODELS_TREE_NODE_MODEL_H_
OLDNEW
« no previous file with comments | « ui/base/models/tree_model.h ('k') | ui/base/models/tree_node_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698