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

Side by Side Diff: views/controls/textfield/textfield_views_model.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "views/controls/textfield/textfield_views_model.h" 5 #include "views/controls/textfield/textfield_views_model.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/i18n/break_iterator.h" 9 #include "base/i18n/break_iterator.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/stl_util-inl.h" 11 #include "base/stl_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "ui/base/clipboard/clipboard.h" 13 #include "ui/base/clipboard/clipboard.h"
14 #include "ui/base/clipboard/scoped_clipboard_writer.h" 14 #include "ui/base/clipboard/scoped_clipboard_writer.h"
15 #include "ui/base/range/range.h" 15 #include "ui/base/range/range.h"
16 #include "ui/gfx/font.h" 16 #include "ui/gfx/font.h"
17 #include "views/controls/textfield/text_style.h" 17 #include "views/controls/textfield/text_style.h"
18 #include "views/controls/textfield/textfield.h" 18 #include "views/controls/textfield/textfield.h"
19 #include "views/views_delegate.h" 19 #include "views/views_delegate.h"
20 20
21 namespace views { 21 namespace views {
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 } 1078 }
1079 1079
1080 // static 1080 // static
1081 TextStyle* TextfieldViewsModel::CreateUnderlineStyle() { 1081 TextStyle* TextfieldViewsModel::CreateUnderlineStyle() {
1082 TextStyle* style = new TextStyle(); 1082 TextStyle* style = new TextStyle();
1083 style->set_underline(true); 1083 style->set_underline(true);
1084 return style; 1084 return style;
1085 } 1085 }
1086 1086
1087 } // namespace views 1087 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698