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
3 // found in the LICENSE file.
5 #ifndef UI_OAK_OAK_PRETTY_PRINT_H_
6 #define UI_OAK_OAK_PRETTY_PRINT_H_
8 #include "base/string16.h"
18 // Functions that return a string consisting of a prefix and the supplied value
19 // converted to a pretty string representation.
20 string16
PropertyWithInteger(const std::string
& prefix
, int value
);
21 string16
PropertyWithVoidStar(const std::string
& prefix
, void* ptr
);
22 string16
PropertyWithBool(const std::string
& prefix
, bool value
);
23 string16
PropertyWithBounds(const std::string
& prefix
, const gfx::Rect
& bounds
);
24 string16
PropertyWithInsets(const std::string
& prefix
,
25 const gfx::Insets
& insets
);
27 } // namespace internal
30 #endif // UI_OAK_OAK_PRETTY_PRINT_H_