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

Side by Side Diff: views/controls/textfield/textfield.h

Issue 223029: Clean up a few bits of files that I'm about to modify. The only visible chan... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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
« views/controls/link.cc ('K') | « views/controls/link.cc ('k') | 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) 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 VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
6 #define VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 6 #define VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
7 7
8 #if defined (OS_LINUX) 8 #if defined (OS_LINUX)
9 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
10 #endif 10 #endif
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // This will be reported as the "desired size". Defaults to 0. 224 // This will be reported as the "desired size". Defaults to 0.
225 int default_width_in_chars_; 225 int default_width_in_chars_;
226 226
227 // Whether the border is drawn. 227 // Whether the border is drawn.
228 bool draw_border_; 228 bool draw_border_;
229 229
230 // The background color to be used when painting the Textfield, provided 230 // The background color to be used when painting the Textfield, provided
231 // |use_default_background_color_| is set to false. 231 // |use_default_background_color_| is set to false.
232 SkColor background_color_; 232 SkColor background_color_;
233 233
234 // When true, the system colors for Textfields are used when painting this 234 // When true, the system background color for Textfields is used when painting
235 // Textfield. When false, the value of |background_color_| determines the 235 // this Textfield. When false, the value of |background_color_| determines the
236 // Textfield's background color. 236 // Textfield's background color.
237 bool use_default_background_color_; 237 bool use_default_background_color_;
238 238
239 // The number of lines of text this Textfield displays at once. 239 // The number of lines of text this Textfield displays at once.
240 int num_lines_; 240 int num_lines_;
241 241
242 // TODO(beng): remove this once NativeTextfieldWin subclasses 242 // TODO(beng): remove this once NativeTextfieldWin subclasses
243 // NativeControlWin. 243 // NativeControlWin.
244 bool initialized_; 244 bool initialized_;
245 245
246 DISALLOW_COPY_AND_ASSIGN(Textfield); 246 DISALLOW_COPY_AND_ASSIGN(Textfield);
247 }; 247 };
248 248
249 } // namespace views 249 } // namespace views
250 250
251 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 251 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
OLDNEW
« views/controls/link.cc ('K') | « views/controls/link.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698