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

Side by Side Diff: ui/oak/oak_pretty_print.cc

Issue 16431009: Use a direct include of strings headers in ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/oak/oak_pretty_print.h ('k') | ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.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) 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/oak/oak_pretty_print.h" 5 #include "ui/oak/oak_pretty_print.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "base/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "ui/gfx/insets.h" 11 #include "ui/gfx/insets.h"
12 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
13 13
14 namespace oak { 14 namespace oak {
15 namespace internal { 15 namespace internal {
16 16
17 base::string16 PropertyWithInteger(const std::string& prefix, int value) { 17 base::string16 PropertyWithInteger(const std::string& prefix, int value) {
18 return ASCIIToUTF16(prefix) + base::IntToString16(value); 18 return ASCIIToUTF16(prefix) + base::IntToString16(value);
19 } 19 }
(...skipping 14 matching lines...) Expand all
34 return ASCIIToUTF16(prefix + bounds.ToString()); 34 return ASCIIToUTF16(prefix + bounds.ToString());
35 } 35 }
36 36
37 base::string16 PropertyWithInsets(const std::string& prefix, 37 base::string16 PropertyWithInsets(const std::string& prefix,
38 const gfx::Insets& insets) { 38 const gfx::Insets& insets) {
39 return ASCIIToUTF16(prefix + insets.ToString()); 39 return ASCIIToUTF16(prefix + insets.ToString());
40 } 40 }
41 41
42 } // namespace internal 42 } // namespace internal
43 } // namespace oak 43 } // namespace oak
OLDNEW
« no previous file with comments | « ui/oak/oak_pretty_print.h ('k') | ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698