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

Unified Diff: ui/gfx/utf16_indexing.cc

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/utf16_indexing.h ('k') | ui/gfx/utf16_indexing_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/utf16_indexing.cc
diff --git a/ui/base/text/utf16_indexing.cc b/ui/gfx/utf16_indexing.cc
similarity index 96%
rename from ui/base/text/utf16_indexing.cc
rename to ui/gfx/utf16_indexing.cc
index d217f5d75c49fd86923619b9ba4081b07a2fb459..6af10c184991f97755ea60365a94f285bcfb128d 100644
--- a/ui/base/text/utf16_indexing.cc
+++ b/ui/gfx/utf16_indexing.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/base/text/utf16_indexing.h"
+#include "ui/gfx/utf16_indexing.h"
#include "base/logging.h"
#include "base/third_party/icu/icu_utf.h"
-namespace ui {
+namespace gfx {
bool IsValidCodePointIndex(const string16& s, size_t index) {
return index == 0 || index == s.length() ||
@@ -52,4 +52,4 @@ size_t UTF16OffsetToIndex(const string16& s, size_t base, ptrdiff_t offset) {
return pos;
}
-} // namespace ui
+} // namespace gfx
« no previous file with comments | « ui/gfx/utf16_indexing.h ('k') | ui/gfx/utf16_indexing_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698