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

Side by Side Diff: ui/views/examples/tree_view_example.cc

Issue 10383034: views/examples: Clean up cpplint warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/views/examples/tabbed_pane_example.h ('k') | ui/views/examples/webview_example.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 #include "ui/views/examples/tree_view_example.h" 5 #include "ui/views/examples/tree_view_example.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "ui/views/controls/menu/menu_model_adapter.h" 8 #include "ui/views/controls/menu/menu_model_adapter.h"
9 #include "ui/views/controls/menu/menu_runner.h" 9 #include "ui/views/controls/menu/menu_runner.h"
10 #include "ui/views/controls/tree/tree_view.h" 10 #include "ui/views/controls/tree/tree_view.h"
11 #include "ui/views/controls/tree/tree_view.h"
12 #include "ui/views/layout/grid_layout.h" 11 #include "ui/views/layout/grid_layout.h"
13 12
14 namespace views { 13 namespace views {
15 namespace examples { 14 namespace examples {
16 15
17 TreeViewExample::TreeViewExample() 16 TreeViewExample::TreeViewExample()
18 : ExampleBase("Tree View"), 17 : ExampleBase("Tree View"),
19 tree_view_(NULL), 18 tree_view_(NULL),
20 model_(new NodeType(ASCIIToUTF16("root"), 1)) { 19 model_(new NodeType(ASCIIToUTF16("root"), 1)) {
21 } 20 }
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 case ID_ADD: 163 case ID_ADD:
165 AddNewNode(); 164 AddNewNode();
166 break; 165 break;
167 default: 166 default:
168 NOTREACHED(); 167 NOTREACHED();
169 } 168 }
170 } 169 }
171 170
172 } // namespace examples 171 } // namespace examples
173 } // namespace views 172 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/examples/tabbed_pane_example.h ('k') | ui/views/examples/webview_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698