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

Unified Diff: ui/views/controls/table/table_view.cc

Issue 8909002: views: Convert IsEnabled() to just enabled() since it's just a simple accessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/table/native_table_win.cc ('k') | ui/views/controls/textfield/native_textfield_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/table/table_view.cc
diff --git a/ui/views/controls/table/table_view.cc b/ui/views/controls/table/table_view.cc
index 707b49b6f8d7fcd3734348fd861d294dfc744798..bdafbe51e556d324924a162610c3c757842c8ecb 100644
--- a/ui/views/controls/table/table_view.cc
+++ b/ui/views/controls/table/table_view.cc
@@ -1245,7 +1245,7 @@ LRESULT TableView::OnCustomDraw(NMLVCUSTOMDRAW* draw_info) {
list_view_, view_index, LVIS_SELECTED | LVIS_DROPHILITED);
bool drop_highlight = ((selected & LVIS_DROPHILITED) != 0);
int bg_color_index;
- if (!IsEnabled())
+ if (!enabled())
bg_color_index = COLOR_3DFACE;
else if (drop_highlight)
bg_color_index = COLOR_HIGHLIGHT;
« no previous file with comments | « ui/views/controls/table/native_table_win.cc ('k') | ui/views/controls/textfield/native_textfield_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698