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: app/table_model.cc

Issue 4987001: Implement new task manager mocks on windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated per review feedback Created 10 years, 1 month 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/table_model.h ('k') | chrome/app/generated_resources.grd » ('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 #include "app/table_model.h" 5 #include "app/table_model.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/l10n_util_collator.h" 8 #include "app/l10n_util_collator.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 static icu::Collator* collator = NULL; 73 static icu::Collator* collator = NULL;
74 74
75 SkBitmap TableModel::GetIcon(int row) { 75 SkBitmap TableModel::GetIcon(int row) {
76 return SkBitmap(); 76 return SkBitmap();
77 } 77 }
78 78
79 std::wstring TableModel::GetTooltip(int row) { 79 std::wstring TableModel::GetTooltip(int row) {
80 return std::wstring(); 80 return std::wstring();
81 } 81 }
82 82
83 bool TableModel::ShouldIndent(int row) {
84 return false;
85 }
86
83 bool TableModel::HasGroups() { 87 bool TableModel::HasGroups() {
84 return false; 88 return false;
85 } 89 }
86 90
87 TableModel::Groups TableModel::GetGroups() { 91 TableModel::Groups TableModel::GetGroups() {
88 // If you override HasGroups to return true, you must override this as 92 // If you override HasGroups to return true, you must override this as
89 // well. 93 // well.
90 NOTREACHED(); 94 NOTREACHED();
91 return std::vector<Group>(); 95 return std::vector<Group>();
92 } 96 }
(...skipping 28 matching lines...) Expand all
121 NOTREACHED(); 125 NOTREACHED();
122 } 126 }
123 } 127 }
124 return collator; 128 return collator;
125 } 129 }
126 130
127 void TableModel::ClearCollator() { 131 void TableModel::ClearCollator() {
128 delete collator; 132 delete collator;
129 collator = NULL; 133 collator = NULL;
130 } 134 }
OLDNEW
« no previous file with comments | « app/table_model.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698