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

Unified Diff: ui/views/view_text_utils.h

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/views/view_constants.cc ('k') | ui/views/view_text_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view_text_utils.h
diff --git a/views/view_text_utils.h b/ui/views/view_text_utils.h
similarity index 95%
rename from views/view_text_utils.h
rename to ui/views/view_text_utils.h
index 68ed2014ec3187406e1bd1d0c92f447f714c2a7e..c0141a586b164cfdef539b1e8e23dc1f14e8366a 100644
--- a/views/view_text_utils.h
+++ b/ui/views/view_text_utils.h
@@ -1,15 +1,13 @@
// Copyright (c) 2011 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.
-//
-// This file defines utility functions for working with text in views.
-#ifndef VIEWS_VIEW_TEXT_UTILS_H_
-#define VIEWS_VIEW_TEXT_UTILS_H_
+#ifndef UI_VIEWS_VIEW_TEXT_UTILS_H_
+#define UI_VIEWS_VIEW_TEXT_UTILS_H_
#pragma once
#include "base/string16.h"
-#include "views/views_export.h"
+#include "ui/views/views_export.h"
namespace gfx {
class Canvas;
@@ -23,6 +21,8 @@ class Label;
class Link;
}
+// This file defines utility functions for working with text in views.
+
namespace view_text_utils {
// Draws a string onto the canvas (wrapping if needed) while also keeping
@@ -73,4 +73,4 @@ void WrapIfWordDoesntFit(int word_width,
} // namespace view_text_utils
-#endif // CHROME_BROWSER_VIEWS_VIEW_TEXT_UTILS_H_
+#endif // UI_VIEWS_VIEW_TEXT_UTILS_H_
« no previous file with comments | « ui/views/view_constants.cc ('k') | ui/views/view_text_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698