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

Unified Diff: ui/oak/oak_pretty_print.cc

Issue 173183002: Remove oak windows and its flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove one more oak.gyp reference Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/oak/oak_pretty_print.h ('k') | ui/oak/oak_tree_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/oak/oak_pretty_print.cc
diff --git a/ui/oak/oak_pretty_print.cc b/ui/oak/oak_pretty_print.cc
deleted file mode 100644
index dcde03d66a20e56cd84589843c0ed0da9478731f..0000000000000000000000000000000000000000
--- a/ui/oak/oak_pretty_print.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/oak/oak_pretty_print.h"
-
-#include "base/strings/string_number_conversions.h"
-#include "base/strings/string_util.h"
-#include "base/strings/stringprintf.h"
-#include "base/strings/utf_string_conversions.h"
-#include "ui/gfx/insets.h"
-#include "ui/gfx/rect.h"
-
-namespace oak {
-namespace internal {
-
-base::string16 PropertyWithInteger(const std::string& prefix, int value) {
- return base::ASCIIToUTF16(prefix) + base::IntToString16(value);
-}
-
-base::string16 PropertyWithVoidStar(const std::string& prefix, void* ptr) {
- unsigned int cast_ptr =
- static_cast<unsigned int>(reinterpret_cast<intptr_t>(ptr));
- return base::ASCIIToUTF16(
- prefix + "0x" + (ptr ? base::StringPrintf("%x", cast_ptr) : "0"));
-}
-
-base::string16 PropertyWithBool(const std::string& prefix, bool value) {
- return base::ASCIIToUTF16(prefix + (value ? "true" : "false"));
-}
-
-base::string16 PropertyWithBounds(const std::string& prefix,
- const gfx::Rect& bounds) {
- return base::ASCIIToUTF16(prefix + bounds.ToString());
-}
-
-base::string16 PropertyWithInsets(const std::string& prefix,
- const gfx::Insets& insets) {
- return base::ASCIIToUTF16(prefix + insets.ToString());
-}
-
-} // namespace internal
-} // namespace oak
« no previous file with comments | « ui/oak/oak_pretty_print.h ('k') | ui/oak/oak_tree_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698