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

Unified Diff: ui/gfx/utf16_indexing.h

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 years, 3 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/gfx/sys_color_change_listener.cc ('k') | ui/gfx/utf16_indexing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/utf16_indexing.h
diff --git a/ui/base/text/utf16_indexing.h b/ui/gfx/utf16_indexing.h
similarity index 91%
rename from ui/base/text/utf16_indexing.h
rename to ui/gfx/utf16_indexing.h
index a1af3d9acd84d28a56dae8041154975bfe0b95c5..7f56384299f390d9a664284cc612e21762318ac7 100644
--- a/ui/base/text/utf16_indexing.h
+++ b/ui/gfx/utf16_indexing.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_BASE_TEXT_UTF16_INDEXING_H_
-#define UI_BASE_TEXT_UTF16_INDEXING_H_
+#ifndef UI_GFX_UTF16_INDEXING_H_
+#define UI_GFX_UTF16_INDEXING_H_
#include "base/strings/string16.h"
-#include "ui/base/ui_export.h"
+#include "ui/gfx/gfx_export.h"
-namespace ui {
+namespace gfx {
// Returns false if s[index-1] is a high surrogate and s[index] is a low
// surrogate, true otherwise.
@@ -44,6 +44,6 @@ UI_EXPORT size_t UTF16OffsetToIndex(const string16& s,
size_t base,
ptrdiff_t offset);
-} // namespace ui
+} // namespace gfx
-#endif // UI_BASE_TEXT_UTF16_INDEXING_H_
+#endif // UI_GFX_UTF16_INDEXING_H_
« no previous file with comments | « ui/gfx/sys_color_change_listener.cc ('k') | ui/gfx/utf16_indexing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698