| 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_
|
|
|