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

Side by Side Diff: ui/views/examples/table_example.h

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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.cc ('k') | ui/views/examples/table_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 #ifndef UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ 5 #ifndef UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_
6 #define UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ 6 #define UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 23 matching lines...) Expand all
34 public ButtonListener { 34 public ButtonListener {
35 public: 35 public:
36 TableExample(); 36 TableExample();
37 virtual ~TableExample(); 37 virtual ~TableExample();
38 38
39 // ExampleBase: 39 // ExampleBase:
40 virtual void CreateExampleView(View* container) OVERRIDE; 40 virtual void CreateExampleView(View* container) OVERRIDE;
41 41
42 // ui::TableModel: 42 // ui::TableModel:
43 virtual int RowCount() OVERRIDE; 43 virtual int RowCount() OVERRIDE;
44 virtual string16 GetText(int row, int column_id) OVERRIDE; 44 virtual base::string16 GetText(int row, int column_id) OVERRIDE;
45 virtual gfx::ImageSkia GetIcon(int row) OVERRIDE; 45 virtual gfx::ImageSkia GetIcon(int row) OVERRIDE;
46 virtual void SetObserver(ui::TableModelObserver* observer) OVERRIDE; 46 virtual void SetObserver(ui::TableModelObserver* observer) OVERRIDE;
47 47
48 // TableGrouper: 48 // TableGrouper:
49 virtual void GetGroupRange(int model_index, GroupRange* range) OVERRIDE; 49 virtual void GetGroupRange(int model_index, GroupRange* range) OVERRIDE;
50 50
51 // TableViewObserver: 51 // TableViewObserver:
52 virtual void OnSelectionChanged() OVERRIDE; 52 virtual void OnSelectionChanged() OVERRIDE;
53 virtual void OnDoubleClick() OVERRIDE; 53 virtual void OnDoubleClick() OVERRIDE;
54 virtual void OnMiddleClick() OVERRIDE; 54 virtual void OnMiddleClick() OVERRIDE;
(...skipping 14 matching lines...) Expand all
69 SkBitmap icon1_; 69 SkBitmap icon1_;
70 SkBitmap icon2_; 70 SkBitmap icon2_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(TableExample); 72 DISALLOW_COPY_AND_ASSIGN(TableExample);
73 }; 73 };
74 74
75 } // namespace examples 75 } // namespace examples
76 } // namespace views 76 } // namespace views
77 77
78 #endif // UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ 78 #endif // UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_
OLDNEW
« no previous file with comments | « ui/views/examples/tabbed_pane_example.cc ('k') | ui/views/examples/table_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698