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

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

Issue 1751018: Remove unused local variables now that subclasses don't need to track their o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 8 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 | « views/controls/single_split_view.h ('k') | views/widget/root_view.h » ('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 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // Textfield's background color. 278 // Textfield's background color.
279 bool use_default_background_color_; 279 bool use_default_background_color_;
280 280
281 // The number of lines of text this Textfield displays at once. 281 // The number of lines of text this Textfield displays at once.
282 int num_lines_; 282 int num_lines_;
283 283
284 // TODO(beng): remove this once NativeTextfieldWin subclasses 284 // TODO(beng): remove this once NativeTextfieldWin subclasses
285 // NativeControlWin. 285 // NativeControlWin.
286 bool initialized_; 286 bool initialized_;
287 287
288 // The storage string for the accessibility name associated with this control.
289 std::wstring accessible_name_;
290
291 // Text to display when empty. 288 // Text to display when empty.
292 string16 text_to_display_when_empty_; 289 string16 text_to_display_when_empty_;
293 290
294 DISALLOW_COPY_AND_ASSIGN(Textfield); 291 DISALLOW_COPY_AND_ASSIGN(Textfield);
295 }; 292 };
296 293
297 } // namespace views 294 } // namespace views
298 295
299 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 296 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
OLDNEW
« no previous file with comments | « views/controls/single_split_view.h ('k') | views/widget/root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698