Title: [144660] trunk/Source
- Revision
- 144660
- Author
- [email protected]
- Date
- 2013-03-04 12:42:13 -0800 (Mon, 04 Mar 2013)
Log Message
[chromium] remove deprecated hyphenation methods from Platform
https://bugs.webkit.org/show_bug.cgi?id=111101
Reviewed by Adam Barth.
Source/Platform:
* chromium/public/Platform.h:
(Platform):
Source/WebCore:
* platform/text/chromium/Hyphenation.cpp:
(WebCore::canHyphenate):
(WebCore::lastHyphenLocation):
Modified Paths
Diff
Modified: trunk/Source/Platform/ChangeLog (144659 => 144660)
--- trunk/Source/Platform/ChangeLog 2013-03-04 20:33:42 UTC (rev 144659)
+++ trunk/Source/Platform/ChangeLog 2013-03-04 20:42:13 UTC (rev 144660)
@@ -1,3 +1,13 @@
+2013-03-04 Jochen Eisinger <[email protected]>
+
+ [chromium] remove deprecated hyphenation methods from Platform
+ https://bugs.webkit.org/show_bug.cgi?id=111101
+
+ Reviewed by Adam Barth.
+
+ * chromium/public/Platform.h:
+ (Platform):
+
2013-03-04 Sami Kyostila <[email protected]>
[chromium] Add ability to wait on async upload completion
Modified: trunk/Source/Platform/chromium/public/Platform.h (144659 => 144660)
--- trunk/Source/Platform/chromium/public/Platform.h 2013-03-04 20:33:42 UTC (rev 144659)
+++ trunk/Source/Platform/chromium/public/Platform.h 2013-03-04 20:42:13 UTC (rev 144660)
@@ -184,17 +184,6 @@
virtual bool isLinkVisited(unsigned long long linkHash) { return false; }
- // Hyphenation ---------------------------------------------------------
-
- // FIXME: Remove deprecated API.
-
- // Returns whether we can support hyphenation for the given locale.
- virtual bool canHyphenate(const WebString& locale) { return false; }
-
- // Returns the last position where we can add a hyphen before the given position.
- virtual size_t computeLastHyphenLocation(const WebUChar* characters, size_t length, size_t beforeIndex, const WebString& locale) { return 0; }
-
-
// Keygen --------------------------------------------------------------
// Handle the <keygen> tag for generating client certificates
Modified: trunk/Source/WebCore/ChangeLog (144659 => 144660)
--- trunk/Source/WebCore/ChangeLog 2013-03-04 20:33:42 UTC (rev 144659)
+++ trunk/Source/WebCore/ChangeLog 2013-03-04 20:42:13 UTC (rev 144660)
@@ -1,3 +1,14 @@
+2013-03-04 Jochen Eisinger <[email protected]>
+
+ [chromium] remove deprecated hyphenation methods from Platform
+ https://bugs.webkit.org/show_bug.cgi?id=111101
+
+ Reviewed by Adam Barth.
+
+ * platform/text/chromium/Hyphenation.cpp:
+ (WebCore::canHyphenate):
+ (WebCore::lastHyphenLocation):
+
2013-03-04 Benjamin Poulain <[email protected]>
Use initialization from literal for MediaFeatureNames
Modified: trunk/Source/WebCore/platform/text/chromium/Hyphenation.cpp (144659 => 144660)
--- trunk/Source/WebCore/platform/text/chromium/Hyphenation.cpp 2013-03-04 20:33:42 UTC (rev 144659)
+++ trunk/Source/WebCore/platform/text/chromium/Hyphenation.cpp 2013-03-04 20:42:13 UTC (rev 144660)
@@ -27,17 +27,18 @@
#include "Hyphenation.h"
#include <public/Platform.h>
+#include <public/WebHyphenator.h>
namespace WebCore {
bool canHyphenate(const AtomicString& localeIdentifier)
{
- return WebKit::Platform::current()->canHyphenate(localeIdentifier);
+ return WebKit::Platform::current()->hyphenator()->canHyphenate(localeIdentifier);
}
size_t lastHyphenLocation(const UChar* characters, size_t length, size_t beforeIndex, const AtomicString& localeIdentifier)
{
- return WebKit::Platform::current()->computeLastHyphenLocation(characters, length, beforeIndex, localeIdentifier);
+ return WebKit::Platform::current()->hyphenator()->computeLastHyphenLocation(characters, length, beforeIndex, localeIdentifier);
}
} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes