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

Side by Side Diff: app/table_model.h

Issue 171012: Use 'icu::' namespace explicitly (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « app/l10n_util_unittest.cc ('k') | app/table_model.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TABLE_MODEL_H_ 5 #ifndef APP_TABLE_MODEL_H_
6 #define APP_TABLE_MODEL_H_ 6 #define APP_TABLE_MODEL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // 88 //
89 // This implementation does a case insensitive locale specific string 89 // This implementation does a case insensitive locale specific string
90 // comparison. 90 // comparison.
91 virtual int CompareValues(int row1, int row2, int column_id); 91 virtual int CompareValues(int row1, int row2, int column_id);
92 92
93 // Reset the collator. 93 // Reset the collator.
94 void ClearCollator(); 94 void ClearCollator();
95 95
96 protected: 96 protected:
97 // Returns the collator used by CompareValues. 97 // Returns the collator used by CompareValues.
98 Collator* GetCollator(); 98 icu::Collator* GetCollator();
99 }; 99 };
100 100
101 // TableColumn specifies the title, alignment and size of a particular column. 101 // TableColumn specifies the title, alignment and size of a particular column.
102 struct TableColumn { 102 struct TableColumn {
103 enum Alignment { 103 enum Alignment {
104 LEFT, RIGHT, CENTER 104 LEFT, RIGHT, CENTER
105 }; 105 };
106 106
107 TableColumn(); 107 TableColumn();
108 TableColumn(int id, const std::wstring& title, 108 TableColumn(int id, const std::wstring& title,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // The minimum width required for all items in this column 144 // The minimum width required for all items in this column
145 // (including the header) 145 // (including the header)
146 // to be visible. 146 // to be visible.
147 int min_visible_width; 147 int min_visible_width;
148 148
149 // Is this column sortable? Default is false 149 // Is this column sortable? Default is false
150 bool sortable; 150 bool sortable;
151 }; 151 };
152 152
153 #endif // APP_TABLE_MODEL_H_ 153 #endif // APP_TABLE_MODEL_H_
OLDNEW
« no previous file with comments | « app/l10n_util_unittest.cc ('k') | app/table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698