Changeset 109669 in webkit
- Timestamp:
- Mar 3, 2012 7:08:45 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/ChangeLog
r109572 r109669 1 2012-03-03 Simon Hausmann <simon.hausmann@nokia.com> 2 3 [Qt] Fix static_libs_as_shared build 4 https://bugs.webkit.org/show_bug.cgi?id=80214 5 6 Reviewed by Tor Arne Vestbø. 7 8 Add helper function to be called by WebProcess main 9 to potentially initialize the QStyle theme. 10 11 * WebCoreSupport/InitWebCoreQt.cpp: 12 (WebKit): 13 (WebKit::initializeWebKit2Theme): 14 1 15 2012-03-02 Casper van Donderen <casper.vandonderen@nokia.com> 2 16 -
trunk/Source/WebKit/qt/WebCoreSupport/InitWebCoreQt.cpp
r109542 r109669 49 49 #include <wtf/MainThread.h> 50 50 51 namespace WebKit { 52 53 // Called also from WebKit2's WebProcess. 54 Q_DECL_EXPORT void initializeWebKit2Theme() 55 { 56 if (qgetenv("QT_WEBKIT_THEME_NAME") == "qstyle") 57 WebCore::RenderThemeQt::setCustomTheme(WebCore::RenderThemeQStyle::create, new WebCore::ScrollbarThemeQStyle); 58 } 59 60 } 61 51 62 namespace WebCore { 52 63 -
trunk/Source/WebKit2/ChangeLog
r109667 r109669 1 2012-03-03 Simon Hausmann <simon.hausmann@nokia.com> 2 3 [Qt] Fix static_libs_as_shared build 4 https://bugs.webkit.org/show_bug.cgi?id=80214 5 6 Reviewed by Tor Arne Vestbø. 7 8 Replace (static) link time dependency to WK1 with entrypoint 9 in the separate WebProcess for activating the QStyle theme if 10 necessary. 11 12 * Target.pri: 13 * UIProcess/Launcher/ProcessLauncher.h: 14 * WebProcess/qt/WebProcessMainQt.cpp: 15 (WebKit::WebProcessMainQt): 16 * qt/MainQt.cpp: 17 (WebKit): 18 (main): 19 1 20 2012-03-03 Hans Wennborg <hans@chromium.org> 2 21 -
trunk/Source/WebKit2/Target.pri
r109555 r109669 726 726 WebProcess/qt/WebProcessQt.cpp 727 727 728 INCLUDEPATH += ../WebKit/qt/WebCoreSupport729 730 728 mac: { 731 729 INCLUDEPATH += \ -
trunk/Source/WebKit2/UIProcess/Launcher/ProcessLauncher.h
r95901 r109669 31 31 #include <wtf/RefPtr.h> 32 32 #include <wtf/Threading.h> 33 34 #if PLATFORM(QT)35 class QLocalSocket;36 #endif37 33 38 34 namespace WebKit { -
trunk/Source/WebKit2/WebProcess/qt/WebProcessMainQt.cpp
r109555 r109669 44 44 #endif 45 45 46 #include "RenderThemeQStyle.h"47 #include "ScrollbarThemeQStyle.h"48 49 46 #ifndef NDEBUG 50 47 #if !OS(WINDOWS) … … 207 204 WebGraphicsLayer::initFactory(); 208 205 #endif 209 if (!qgetenv("QT_WEBKIT_USE_QSTYLE_THEME").isEmpty())210 RenderThemeQt::setCustomTheme(RenderThemeQStyle::create, new ScrollbarThemeQStyle);211 206 212 207 WebKit::WebProcess::shared().initialize(identifier, RunLoop::main()); -
trunk/Source/WebKit2/qt/MainQt.cpp
r95901 r109669 29 29 namespace WebKit { 30 30 Q_DECL_IMPORT int WebProcessMainQt(int argc, char** argv); 31 Q_DECL_IMPORT void initializeWebKit2Theme(); 31 32 } 32 33 … … 36 37 int main(int argc, char** argv) 37 38 { 39 WebKit::initializeWebKit2Theme(); 38 40 return WebKit::WebProcessMainQt(argc, argv); 39 41 } -
trunk/Tools/ChangeLog
r109667 r109669 1 2012-03-03 Simon Hausmann <simon.hausmann@nokia.com> 2 3 [Qt] Fix static_libs_as_shared build 4 https://bugs.webkit.org/show_bug.cgi?id=80214 5 6 Reviewed by Tor Arne Vestbø. 7 8 * WebKitTestRunner/qt/main.cpp: 9 (main): Set the correct environment variable for choosing the theme in the 10 web process. 11 1 12 2012-03-03 Hans Wennborg <hans@chromium.org> 2 13 -
trunk/Tools/WebKitTestRunner/qt/main.cpp
r109555 r109669 93 93 } 94 94 95 qputenv("QT_WEBKIT_ USE_QSTYLE_THEME", "1");95 qputenv("QT_WEBKIT_THEME_NAME", "qstyle"); 96 96 97 97 QQuickWebViewExperimental::setFlickableViewportEnabled(false);
Note: See TracChangeset
for help on using the changeset viewer.