diff options
Diffstat (limited to 'Source/WebCore/platform/qt')
-rw-r--r-- | Source/WebCore/platform/qt/DeviceMotionClientQt.cpp | 1 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/GamepadsQt.cpp | 1 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/MIMETypeRegistryQt.cpp | 1 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/MainThreadSharedTimerQt.cpp | 1 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/PlatformGestureEvent.h | 1 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/PlatformScreenQt.cpp | 1 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/RenderThemeQStyle.cpp | 6 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/RenderThemeQt.cpp | 15 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/RenderThemeQtMobile.cpp | 3 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/TemporaryLinkStubsQt.cpp | 33 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/ThirdPartyCookiesQt.cpp | 2 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/URLQt.cpp | 2 | ||||
-rw-r--r-- | Source/WebCore/platform/qt/WidgetQt.cpp | 1 |
13 files changed, 9 insertions, 59 deletions
diff --git a/Source/WebCore/platform/qt/DeviceMotionClientQt.cpp b/Source/WebCore/platform/qt/DeviceMotionClientQt.cpp index 88fb5c1c6..5c01f29f5 100644 --- a/Source/WebCore/platform/qt/DeviceMotionClientQt.cpp +++ b/Source/WebCore/platform/qt/DeviceMotionClientQt.cpp @@ -23,7 +23,6 @@ #include "DeviceMotionProviderQt.h" -#include <wtf/RefPtr.h> namespace WebCore { diff --git a/Source/WebCore/platform/qt/GamepadsQt.cpp b/Source/WebCore/platform/qt/GamepadsQt.cpp index 6fff52f9a..70b4305de 100644 --- a/Source/WebCore/platform/qt/GamepadsQt.cpp +++ b/Source/WebCore/platform/qt/GamepadsQt.cpp @@ -37,7 +37,6 @@ #include <unistd.h> #include <wtf/HashMap.h> #include <wtf/NeverDestroyed.h> -#include <wtf/text/CString.h> #include <wtf/text/StringHash.h> // Forward declarations for libudev, they are all used opaque so we don't need the definitions. diff --git a/Source/WebCore/platform/qt/MIMETypeRegistryQt.cpp b/Source/WebCore/platform/qt/MIMETypeRegistryQt.cpp index 3e3f879ed..ab34c8333 100644 --- a/Source/WebCore/platform/qt/MIMETypeRegistryQt.cpp +++ b/Source/WebCore/platform/qt/MIMETypeRegistryQt.cpp @@ -31,7 +31,6 @@ #include <QMimeDatabase> #include <wtf/Assertions.h> -#include <wtf/MainThread.h> namespace WebCore { diff --git a/Source/WebCore/platform/qt/MainThreadSharedTimerQt.cpp b/Source/WebCore/platform/qt/MainThreadSharedTimerQt.cpp index 7aae3f1de..0f0864106 100644 --- a/Source/WebCore/platform/qt/MainThreadSharedTimerQt.cpp +++ b/Source/WebCore/platform/qt/MainThreadSharedTimerQt.cpp @@ -34,7 +34,6 @@ #include <QBasicTimer> #include <QCoreApplication> #include <QPointer> -#include <wtf/CurrentTime.h> namespace WebCore { diff --git a/Source/WebCore/platform/qt/PlatformGestureEvent.h b/Source/WebCore/platform/qt/PlatformGestureEvent.h index 1beac6a68..1a0006842 100644 --- a/Source/WebCore/platform/qt/PlatformGestureEvent.h +++ b/Source/WebCore/platform/qt/PlatformGestureEvent.h @@ -28,7 +28,6 @@ #if ENABLE(QT_GESTURE_EVENTS) -#include "FloatPoint.h" #include "IntPoint.h" #include "IntSize.h" #include "PlatformEvent.h" diff --git a/Source/WebCore/platform/qt/PlatformScreenQt.cpp b/Source/WebCore/platform/qt/PlatformScreenQt.cpp index 91ff0ab43..2790a0d9c 100644 --- a/Source/WebCore/platform/qt/PlatformScreenQt.cpp +++ b/Source/WebCore/platform/qt/PlatformScreenQt.cpp @@ -32,7 +32,6 @@ #include "PlatformScreen.h" #include "FloatRect.h" -#include "Frame.h" #include "FrameView.h" #include "HostWindow.h" #include "NotImplemented.h" diff --git a/Source/WebCore/platform/qt/RenderThemeQStyle.cpp b/Source/WebCore/platform/qt/RenderThemeQStyle.cpp index 7373acca7..706570399 100644 --- a/Source/WebCore/platform/qt/RenderThemeQStyle.cpp +++ b/Source/WebCore/platform/qt/RenderThemeQStyle.cpp @@ -34,23 +34,17 @@ #include "CSSValueKeywords.h" #include "Chrome.h" #include "ChromeClient.h" -#include "Color.h" #include "Document.h" -#include "Font.h" -#include "FontSelector.h" #include "GraphicsContext.h" #include "HTMLInputElement.h" #include "HTMLNames.h" -#include "LocalizedStrings.h" #include "NotImplemented.h" #include "Page.h" #include "PaintInfo.h" #include "QWebPageClient.h" #include "RenderBox.h" #include "RenderProgress.h" -#include "RenderSlider.h" #include "ScrollbarThemeQStyle.h" -#include "SliderThumbElement.h" #include "StyleResolver.h" #include "UserAgentStyleSheets.h" diff --git a/Source/WebCore/platform/qt/RenderThemeQt.cpp b/Source/WebCore/platform/qt/RenderThemeQt.cpp index 2cd35700a..01968deba 100644 --- a/Source/WebCore/platform/qt/RenderThemeQt.cpp +++ b/Source/WebCore/platform/qt/RenderThemeQt.cpp @@ -31,21 +31,15 @@ #include "RenderThemeQt.h" #include "CSSValueKeywords.h" -#include "Chrome.h" #include "ChromeClient.h" #include "Color.h" #include "ExceptionCodePlaceholder.h" #include "FileList.h" -#include "Font.h" -#include "FontSelector.h" #include "GraphicsContext.h" #include "HTMLInputElement.h" #include "HTMLMediaElement.h" #include "HTMLNames.h" #include "LocalizedStrings.h" -#if ENABLE(VIDEO) -#include "MediaControlElements.h" -#endif #include "NotImplemented.h" #include "Page.h" #include "PaintInfo.h" @@ -56,9 +50,6 @@ #include "ScrollbarTheme.h" #include "StyleResolver.h" #include "TimeRanges.h" -#if ENABLE(VIDEO) -#include "UserAgentScripts.h" -#endif #include "UserAgentStyleSheets.h" #include <wtf/text/StringBuilder.h> @@ -69,6 +60,10 @@ #include <QStyleHints> +#if ENABLE(VIDEO) +#include "UserAgentScripts.h" +#endif + namespace WebCore { using namespace HTMLNames; @@ -542,7 +537,7 @@ bool RenderThemeQt::supportsFocus(ControlPart appearance) const #if ENABLE(VIDEO) String RenderThemeQt::mediaControlsStyleSheet() { - return ASCIILiteral(mediaControlsBaseUserAgentStyleSheet); + return String(mediaControlsBaseUserAgentStyleSheet, sizeof(mediaControlsBaseUserAgentStyleSheet)); } String RenderThemeQt::mediaControlsScript() diff --git a/Source/WebCore/platform/qt/RenderThemeQtMobile.cpp b/Source/WebCore/platform/qt/RenderThemeQtMobile.cpp index e4a34de29..cf5f6491b 100644 --- a/Source/WebCore/platform/qt/RenderThemeQtMobile.cpp +++ b/Source/WebCore/platform/qt/RenderThemeQtMobile.cpp @@ -30,11 +30,8 @@ #include "HTMLInputElement.h" #include "HTMLNames.h" #include "HTMLSelectElement.h" -#include "LocalizedStrings.h" -#include "NotImplemented.h" #include "Page.h" #include "PaintInfo.h" -#include "QWebPageClient.h" #include "RenderBox.h" #include "RenderProgress.h" #include "StyleResolver.h" diff --git a/Source/WebCore/platform/qt/TemporaryLinkStubsQt.cpp b/Source/WebCore/platform/qt/TemporaryLinkStubsQt.cpp index fb3352675..1ccc38a67 100644 --- a/Source/WebCore/platform/qt/TemporaryLinkStubsQt.cpp +++ b/Source/WebCore/platform/qt/TemporaryLinkStubsQt.cpp @@ -32,42 +32,17 @@ #include "config.h" -#include "AXObjectCache.h" -#include "CachedResource.h" -#include "CookieJar.h" #include "CookieStorage.h" -#include "Cursor.h" -#include "DNS.h" -#include "FTPDirectoryDocument.h" -#include "FileSystem.h" -#include "Font.h" -#include "Frame.h" -#include "FrameLoader.h" -#include "FrameView.h" -#include "GraphicsContext.h" -#include "IconLoader.h" -#include "IntPoint.h" -#include "URL.h" -#include "Language.h" -#include "LocalizedStrings.h" -#include "Node.h" #include "NotImplemented.h" -#include "Path.h" -#include "PlatformMouseEvent.h" -#include "RenderTheme.h" -#include "SharedBuffer.h" -#include "TextBoundaries.h" -#include "Widget.h" - -#include <float.h> -#include <stdio.h> -#include <stdlib.h> -#include <wtf/text/CString.h> +#include <wtf/Vector.h> +#include <wtf/text/WTFString.h> using namespace WebCore; namespace WebCore { +class URL; + void getSupportedKeySizes(Vector<String>&) { notImplemented(); diff --git a/Source/WebCore/platform/qt/ThirdPartyCookiesQt.cpp b/Source/WebCore/platform/qt/ThirdPartyCookiesQt.cpp index 3f2f572ad..4bfb7244f 100644 --- a/Source/WebCore/platform/qt/ThirdPartyCookiesQt.cpp +++ b/Source/WebCore/platform/qt/ThirdPartyCookiesQt.cpp @@ -20,8 +20,6 @@ #include "config.h" #include "ThirdPartyCookiesQt.h" -#include "Cookie.h" -#include "CookieJar.h" #include "Document.h" #include "NetworkingContext.h" diff --git a/Source/WebCore/platform/qt/URLQt.cpp b/Source/WebCore/platform/qt/URLQt.cpp index 7b588fa5b..00ab8e7ab 100644 --- a/Source/WebCore/platform/qt/URLQt.cpp +++ b/Source/WebCore/platform/qt/URLQt.cpp @@ -20,10 +20,8 @@ #include "config.h" #include "URL.h" -#include "NotImplemented.h" #include "TextEncoding.h" #include "qurl.h" -#include <wtf/text/CString.h> namespace WebCore { diff --git a/Source/WebCore/platform/qt/WidgetQt.cpp b/Source/WebCore/platform/qt/WidgetQt.cpp index 0d1669941..715ed09ea 100644 --- a/Source/WebCore/platform/qt/WidgetQt.cpp +++ b/Source/WebCore/platform/qt/WidgetQt.cpp @@ -33,7 +33,6 @@ #include "Widget.h" #include "Cursor.h" -#include "Font.h" #include "GraphicsContext.h" #include "HostWindow.h" #include "IntRect.h" |