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

Side by Side Diff: ui/views/view_text_utils.h

Issue 16757004: Use a direct include of strings headers in ui/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « ui/views/view_model_unittest.cc ('k') | ui/views/view_unittest.cc » ('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) 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 #ifndef UI_VIEWS_VIEW_TEXT_UTILS_H_ 5 #ifndef UI_VIEWS_VIEW_TEXT_UTILS_H_
6 #define UI_VIEWS_VIEW_TEXT_UTILS_H_ 6 #define UI_VIEWS_VIEW_TEXT_UTILS_H_
7 7
8 #include "base/string16.h" 8 #include "base/strings/string16.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 class Canvas; 12 class Canvas;
13 class Font; 13 class Font;
14 class Rect; 14 class Rect;
15 class Size; 15 class Size;
16 } 16 }
17 17
18 namespace views { 18 namespace views {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // |word_width| fits at position |position| within the |bounds| rectangle. If 66 // |word_width| fits at position |position| within the |bounds| rectangle. If
67 // not, |position| is updated to wrap to the beginning of the next line. 67 // not, |position| is updated to wrap to the beginning of the next line.
68 void WrapIfWordDoesntFit(int word_width, 68 void WrapIfWordDoesntFit(int word_width,
69 int font_height, 69 int font_height,
70 gfx::Size* position, 70 gfx::Size* position,
71 const gfx::Rect& bounds); 71 const gfx::Rect& bounds);
72 72
73 } // namespace view_text_utils 73 } // namespace view_text_utils
74 74
75 #endif // UI_VIEWS_VIEW_TEXT_UTILS_H_ 75 #endif // UI_VIEWS_VIEW_TEXT_UTILS_H_
OLDNEW
« no previous file with comments | « ui/views/view_model_unittest.cc ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698