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

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

Issue 9192001: Fix compile on linux_views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | « no previous file | no next file » | 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 #include "ui/views/examples/table_example.h" 5 #include "ui/views/examples/table_example.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 } else if (sender == column2_visible_checkbox_) { 137 } else if (sender == column2_visible_checkbox_) {
138 index = 1; 138 index = 1;
139 show = column2_visible_checkbox_->checked(); 139 show = column2_visible_checkbox_->checked();
140 } else if (sender == column3_visible_checkbox_) { 140 } else if (sender == column3_visible_checkbox_) {
141 index = 2; 141 index = 2;
142 show = column3_visible_checkbox_->checked(); 142 show = column3_visible_checkbox_->checked();
143 } else if (sender == column4_visible_checkbox_) { 143 } else if (sender == column4_visible_checkbox_) {
144 index = 3; 144 index = 3;
145 show = column4_visible_checkbox_->checked(); 145 show = column4_visible_checkbox_->checked();
146 } 146 }
147 #if !defined(USE_AURA) 147 #if defined(OS_WIN) && !defined(USE_AURA)
148 table_->SetColumnVisibility(index, show); 148 table_->SetColumnVisibility(index, show);
149 #endif 149 #endif
150 } 150 }
151 151
152 } // namespace examples 152 } // namespace examples
153 } // namespace views 153 } // namespace views
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698