Title: [104231] trunk/Source
- Revision
- 104231
- Author
- [email protected]
- Date
- 2012-01-05 15:11:45 -0800 (Thu, 05 Jan 2012)
Log Message
Introduce Platform namespace for WebCore/platform
https://bugs.webkit.org/show_bug.cgi?id=75653
Reviewed by Eric Seidel.
Source/WebCore:
This patch introduces the Platform namespace for WebCore/platform.
Introducing this namespace will help us find and fix layering
violations in preparation for moving WebCore/platform to Platform.
* platform/SchemeRegistry.cpp:
* platform/SchemeRegistry.h:
Source/WebKit/qt:
* Api/qwebpage.cpp:
(QWebPage::acceptNavigationRequest):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (104230 => 104231)
--- trunk/Source/WebCore/ChangeLog 2012-01-05 23:07:33 UTC (rev 104230)
+++ trunk/Source/WebCore/ChangeLog 2012-01-05 23:11:45 UTC (rev 104231)
@@ -1,3 +1,17 @@
+2012-01-05 Adam Barth <[email protected]>
+
+ Introduce Platform namespace for WebCore/platform
+ https://bugs.webkit.org/show_bug.cgi?id=75653
+
+ Reviewed by Eric Seidel.
+
+ This patch introduces the Platform namespace for WebCore/platform.
+ Introducing this namespace will help us find and fix layering
+ violations in preparation for moving WebCore/platform to Platform.
+
+ * platform/SchemeRegistry.cpp:
+ * platform/SchemeRegistry.h:
+
2012-01-05 Ryosuke Niwa <[email protected]>
Inserting nodes is slow due to Node::notifyNodeListsAttributeChanged (20%+)
Modified: trunk/Source/WebCore/platform/SchemeRegistry.cpp (104230 => 104231)
--- trunk/Source/WebCore/platform/SchemeRegistry.cpp 2012-01-05 23:07:33 UTC (rev 104230)
+++ trunk/Source/WebCore/platform/SchemeRegistry.cpp 2012-01-05 23:11:45 UTC (rev 104231)
@@ -26,7 +26,7 @@
#include "config.h"
#include "SchemeRegistry.h"
-namespace WebCore {
+namespace Platform {
static URLSchemesMap& localURLSchemes()
{
@@ -273,4 +273,4 @@
return schemesAllowingDatabaseAccessInPrivateBrowsing().contains(scheme);
}
-} // namespace WebCore
+} // namespace Platform
Modified: trunk/Source/WebCore/platform/SchemeRegistry.h (104230 => 104231)
--- trunk/Source/WebCore/platform/SchemeRegistry.h 2012-01-05 23:07:33 UTC (rev 104230)
+++ trunk/Source/WebCore/platform/SchemeRegistry.h 2012-01-05 23:11:45 UTC (rev 104231)
@@ -26,11 +26,11 @@
#ifndef SchemeRegistry_h
#define SchemeRegistry_h
-#include "PlatformString.h"
#include <wtf/HashSet.h>
#include <wtf/text/StringHash.h>
+#include <wtf/text/WTFString.h>
-namespace WebCore {
+namespace Platform {
typedef HashSet<String, CaseFoldingHash> URLSchemesMap;
@@ -82,4 +82,6 @@
} // namespace WebCore
+using Platform::SchemeRegistry;
+
#endif // SchemeRegistry_h
Modified: trunk/Source/WebKit/qt/Api/qwebpage.cpp (104230 => 104231)
--- trunk/Source/WebKit/qt/Api/qwebpage.cpp 2012-01-05 23:07:33 UTC (rev 104230)
+++ trunk/Source/WebKit/qt/Api/qwebpage.cpp 2012-01-05 23:11:45 UTC (rev 104231)
@@ -2667,7 +2667,7 @@
return true;
case DelegateExternalLinks:
- if (WebCore::SchemeRegistry::shouldTreatURLSchemeAsLocal(request.url().scheme()))
+ if (SchemeRegistry::shouldTreatURLSchemeAsLocal(request.url().scheme()))
return true;
emit linkClicked(request.url());
return false;
Modified: trunk/Source/WebKit/qt/ChangeLog (104230 => 104231)
--- trunk/Source/WebKit/qt/ChangeLog 2012-01-05 23:07:33 UTC (rev 104230)
+++ trunk/Source/WebKit/qt/ChangeLog 2012-01-05 23:11:45 UTC (rev 104231)
@@ -1,3 +1,13 @@
+2012-01-05 Adam Barth <[email protected]>
+
+ Introduce Platform namespace for WebCore/platform
+ https://bugs.webkit.org/show_bug.cgi?id=75653
+
+ Reviewed by Eric Seidel.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::acceptNavigationRequest):
+
2012-01-05 Zeno Albisser <[email protected]>
[Qt][WK2] Implement custom URL schemes defined in QML.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes