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

Side by Side Diff: app/table_model.h

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 | « no previous file | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 // column before the text. This is only used when the TableView was created 38 // column before the text. This is only used when the TableView was created
39 // with the ICON_AND_TEXT table type. Returns an isNull() bitmap if there is 39 // with the ICON_AND_TEXT table type. Returns an isNull() bitmap if there is
40 // no bitmap. 40 // no bitmap.
41 virtual SkBitmap GetIcon(int row); 41 virtual SkBitmap GetIcon(int row);
42 42
43 // Returns the tooltip, if any, to show for a particular row. If there are 43 // Returns the tooltip, if any, to show for a particular row. If there are
44 // multiple columns in the row, this will only be shown when hovering over 44 // multiple columns in the row, this will only be shown when hovering over
45 // column zero. 45 // column zero.
46 virtual std::wstring GetTooltip(int row); 46 virtual std::wstring GetTooltip(int row);
47 47
48 // If true, this row should be indented.
49 virtual bool ShouldIndent(int row);
50
48 // Returns true if the TableView has groups. Groups provide a way to visually 51 // Returns true if the TableView has groups. Groups provide a way to visually
49 // delineate the rows in a table view. When groups are enabled table view 52 // delineate the rows in a table view. When groups are enabled table view
50 // shows a visual separator for each group, followed by all the rows in 53 // shows a visual separator for each group, followed by all the rows in
51 // the group. 54 // the group.
52 // 55 //
53 // On win2k a visual separator is not rendered for the group headers. 56 // On win2k a visual separator is not rendered for the group headers.
54 virtual bool HasGroups(); 57 virtual bool HasGroups();
55 58
56 // Returns the groups. 59 // Returns the groups.
57 // This is only used if HasGroups returns true. 60 // This is only used if HasGroups returns true.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // The minimum width required for all items in this column 132 // The minimum width required for all items in this column
130 // (including the header) 133 // (including the header)
131 // to be visible. 134 // to be visible.
132 int min_visible_width; 135 int min_visible_width;
133 136
134 // Is this column sortable? Default is false 137 // Is this column sortable? Default is false
135 bool sortable; 138 bool sortable;
136 }; 139 };
137 140
138 #endif // APP_TABLE_MODEL_H_ 141 #endif // APP_TABLE_MODEL_H_
OLDNEW
« no previous file with comments | « no previous file | app/table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698