OLD | NEW |
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 #ifndef UI_OAK_OAK_PRETTY_PRINT_H_ | 5 #ifndef UI_OAK_OAK_PRETTY_PRINT_H_ |
6 #define UI_OAK_OAK_PRETTY_PRINT_H_ | 6 #define UI_OAK_OAK_PRETTY_PRINT_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 class Insets; | 11 class Insets; |
12 class Rect; | 12 class Rect; |
13 } | 13 } |
14 | 14 |
15 namespace oak { | 15 namespace oak { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 // Functions that return a string consisting of a prefix and the supplied value | 18 // Functions that return a string consisting of a prefix and the supplied value |
19 // converted to a pretty string representation. | 19 // converted to a pretty string representation. |
20 base::string16 PropertyWithInteger(const std::string& prefix, int value); | 20 base::string16 PropertyWithInteger(const std::string& prefix, int value); |
21 base::string16 PropertyWithVoidStar(const std::string& prefix, void* ptr); | 21 base::string16 PropertyWithVoidStar(const std::string& prefix, void* ptr); |
22 base::string16 PropertyWithBool(const std::string& prefix, bool value); | 22 base::string16 PropertyWithBool(const std::string& prefix, bool value); |
23 base::string16 PropertyWithBounds(const std::string& prefix, | 23 base::string16 PropertyWithBounds(const std::string& prefix, |
24 const gfx::Rect& bounds); | 24 const gfx::Rect& bounds); |
25 base::string16 PropertyWithInsets(const std::string& prefix, | 25 base::string16 PropertyWithInsets(const std::string& prefix, |
26 const gfx::Insets& insets); | 26 const gfx::Insets& insets); |
27 | 27 |
28 } // namespace internal | 28 } // namespace internal |
29 } // namespace oak | 29 } // namespace oak |
30 | 30 |
31 #endif // UI_OAK_OAK_PRETTY_PRINT_H_ | 31 #endif // UI_OAK_OAK_PRETTY_PRINT_H_ |
OLD | NEW |