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

Unified Diff: Source/core/platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp

Issue 14990009: Remove core/platform/text/chromium/ and move the files in the directory one level higher. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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 | « Source/core/platform/text/chromium/Hyphenation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp
diff --git a/Source/core/platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp b/Source/core/platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp
deleted file mode 100644
index 7d573dd5c0ab9aa968197737b6a14f2aaa77285e..0000000000000000000000000000000000000000
--- a/Source/core/platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (C) 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2008, 2009 Google Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
- */
-
-#include "config.h"
-#include "core/platform/text/TextBreakIteratorInternalICU.h"
-
-#include "core/platform/Language.h"
-#include <wtf/StdLibExtras.h>
-#include <wtf/text/CString.h>
-#include <wtf/text/WTFString.h>
-
-namespace WebCore {
-
-static const char* UILanguage()
-{
- // Chrome's UI language can be different from the OS UI language on Windows.
- // We want to return Chrome's UI language here.
- DEFINE_STATIC_LOCAL(CString, locale, (defaultLanguage().latin1()));
- return locale.data();
-}
-
-const char* currentSearchLocaleID()
-{
- return UILanguage();
-}
-
-const char* currentTextBreakLocaleID()
-{
- return UILanguage();
-}
-
-} // namespace WebCore
« no previous file with comments | « Source/core/platform/text/chromium/Hyphenation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698