|
1 2010-09-01 Mahesh Kulkarni <mahesh.kulkarni@nokia.com> |
|
2 |
|
3 Reviewed by Laszlo Gombos. |
|
4 |
|
5 [Qt] QWebPage::allowGeolocationRequest should be async API |
|
6 https://bugs.webkit.org/show_bug.cgi?id=41364 |
|
7 |
|
8 Implements new async API for geolocation permission similar to |
|
9 Notification. WebPage maintains list of geolocation permission request |
|
10 QtWebkit and set's when LayoutTestController gets the access from test JS |
|
11 |
|
12 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: |
|
13 (WebCore::WebPage::WebPage): |
|
14 (WebCore::WebPage::resetSettings): |
|
15 (WebCore::WebPage::requestPermission): |
|
16 (WebCore::WebPage::cancelPermission): |
|
17 (WebCore::WebPage::permissionSet): |
|
18 (WebCore::DumpRenderTree::DumpRenderTree): |
|
19 (WebCore::DumpRenderTree::processLine): |
|
20 (WebCore::DumpRenderTree::geolocationPermissionSet): |
|
21 * DumpRenderTree/qt/DumpRenderTreeQt.h: |
|
22 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: |
|
23 (LayoutTestController::reset): |
|
24 (LayoutTestController::setGeolocationPermission): |
|
25 (LayoutTestController::setGeolocationPermissionCommon): |
|
26 * DumpRenderTree/qt/LayoutTestControllerQt.h: |
|
27 |
|
28 2010-08-02 Steve Block <steveblock@google.com> |
|
29 |
|
30 Reviewed by Alexey Proskuryakov. |
|
31 |
|
32 Adds Geolocation LayoutTests for the case where permission is not granted or denied immediately |
|
33 https://bugs.webkit.org/show_bug.cgi?id=40002 |
|
34 |
|
35 The code in LayoutTestController::setGeolocationPermission() was moved to |
|
36 setGeolocationPermissionCommon() to allow each port to provide its own |
|
37 implementation of setGeolocationPermission(). |
|
38 |
|
39 For the Mac port, setGeolocationPermission() notifies the UIDelegate of the |
|
40 new permission, so it can call back to WebCore if permission requests are in |
|
41 progress and are waiting for a response. A minor fix to the Mac |
|
42 MockGeolocationProvider was also required to make sure that the mock provider |
|
43 calls back to WebCore when it is first started. |
|
44 |
|
45 For other ports, LayoutTestController::setGeolocationPermission() is not |
|
46 implemented. |
|
47 |
|
48 * DumpRenderTree/LayoutTestController.cpp: |
|
49 (LayoutTestController::setGeolocationPermissionCommon): |
|
50 * DumpRenderTree/LayoutTestController.h: |
|
51 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: |
|
52 (LayoutTestController::setGeolocationPermission): |
|
53 * DumpRenderTree/mac/LayoutTestControllerMac.mm: |
|
54 (LayoutTestController::setGeolocationPermission): |
|
55 * DumpRenderTree/mac/MockGeolocationProvider.mm: |
|
56 (-[MockGeolocationProvider registerWebView:]): |
|
57 * DumpRenderTree/mac/UIDelegate.h: |
|
58 * DumpRenderTree/mac/UIDelegate.mm: |
|
59 (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]): |
|
60 (-[UIDelegate setGeolocationPermission:]): |
|
61 (-[UIDelegate dealloc]): |
|
62 * DumpRenderTree/win/LayoutTestControllerWin.cpp: |
|
63 (LayoutTestController::setGeolocationPermission): |
|
64 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: |
|
65 (LayoutTestController::setGeolocationPermission): |
|
66 |
|
67 2010-08-17 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
68 |
|
69 Reviewed by Ariya Hidayat. |
|
70 |
|
71 [Qt] [Symbian] Consistently use Q_OS_SYMBIAN to guard all Symbian platform dependencies |
|
72 https://bugs.webkit.org/show_bug.cgi?id=44124 |
|
73 |
|
74 Q_WS_S60 is not defined for Symbian^4 devices as Q_WS_S60 used to guard |
|
75 Avkon UI framework dependencies. Use Q_OS_SYMBIAN everywhere to mark |
|
76 Symbian dependencies. |
|
77 |
|
78 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: |
|
79 (WebCore::DumpRenderTree::open): |
|
80 * QtTestBrowser/launcherwindow.cpp: |
|
81 (LauncherWindow::init): |
|
82 (LauncherWindow::toggleFullScreenMode): |
|
83 (LauncherWindow::showFPS): |
|
84 (LauncherWindow::updateFPS): |
|
85 * QtTestBrowser/launcherwindow.h: |
|
86 (WindowOptions::WindowOptions): |
|
87 * QtTestBrowser/mainwindow.cpp: |
|
88 (MainWindow::buildUI): |
|
89 |
|
90 2010-08-19 Ojan Vafai <ojan@chromium.org> |
|
91 |
|
92 Reviewed by Adam Barth. |
|
93 |
|
94 install rietveld's upload script from a versioned url |
|
95 https://bugs.webkit.org/show_bug.cgi?id=44291 |
|
96 |
|
97 autoinstall expects the file at a given URL to never change. |
|
98 In order to be able to update the file, we need to be able to |
|
99 change the path. |
|
100 |
|
101 * Scripts/webkitpy/thirdparty/__init__.py: |
|
102 |
|
103 2010-08-11 Antonio Gomes <tonikitoo@webkit.org> |
|
104 |
|
105 Reviewed by Ariya Hidayat. |
|
106 |
|
107 [Qt] QtTestBrowser: after switching between QWebView and QGraphicsWebView, rotation actions get broken |
|
108 https://bugs.webkit.org/show_bug.cgi?id=43853 |
|
109 |
|
110 LauncherWindow::createChrome is connecting menu itens to WebViewGraphicsBased's slots directly. |
|
111 It behaviors badly when user launches the QtTestBrowser in QWebView mode, since then switching to |
|
112 QGraphicsWebView mode, createChrome is not called again, and menu items end up not getting connected |
|
113 to slots at all. |
|
114 |
|
115 * QtTestBrowser/launcherwindow.cpp: |
|
116 (LauncherWindow::createChrome): |
|
117 (LauncherWindow::animatedFlip): |
|
118 (LauncherWindow::animatedYFlip): |
|
119 * QtTestBrowser/launcherwindow.h: |
|
120 |
|
121 2010-08-11 Antonio Gomes <tonikitoo@webkit.org> |
|
122 |
|
123 Reviewed by Simon Hausmann. |
|
124 |
|
125 [Qt] QtTestBrowser: switching between QWebView and QGraphicsWebView modes is broken |
|
126 https://bugs.webkit.org/show_bug.cgi?id=43851 |
|
127 |
|
128 All window options data (including the bool holding if the view is either QWebView or |
|
129 QGraphicsWebView based) is stored in m_windowOptions, a class member of LauncherWindow. |
|
130 When toggle the view from QWebView to QGraphicsWebView based (and vice-versa), we were |
|
131 not updating LauncherWindow::WindowOptions::m_useGraphicsView bit, and then things were |
|
132 getting broken. |
|
133 |
|
134 Patch addresses this issue. |
|
135 |
|
136 * QtTestBrowser/launcherwindow.cpp: |
|
137 (LauncherWindow::createChrome): |
|
138 (LauncherWindow::toggleWebView): |
|
139 (LauncherWindow::toggleAcceleratedCompositing): |
|
140 |
1 2010-08-09 Antonio Gomes <tonikitoo@webkit.org> |
141 2010-08-09 Antonio Gomes <tonikitoo@webkit.org> |
2 |
142 |
3 Reviewed by Ariya Hidayat. |
143 Reviewed by Ariya Hidayat. |
4 |
144 |
5 [Qt] QtTestBrowser: proper set scene rect |
145 [Qt] QtTestBrowser: proper set scene rect |