Changeset 93949 in webkit
- Timestamp:
- Aug 28, 2011, 12:14:17 PM (15 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/qt/QtWebPageProxy.cpp (modified) (1 diff)
-
WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r93931 r93949 1 2011-08-28 Balazs Kelemen <kbalazs@webkit.org> 2 3 [Qt][WK2] Unreviewed build fix. 4 5 * UIProcess/qt/QtWebPageProxy.cpp: 6 (QtWebPageProxy::init): Initialize the WKPageUIClient with memset 7 to avoid missing initializer warning. The missing initializer is the 8 result of using a version 0 WKPageUIClient while it has newer version (1). 9 We have nothing to do with the callbacks in the new version so I voted 10 for memset. 11 * WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp: Include ResourceError.h. 12 1 13 2011-08-26 Sam Weinig <sam@webkit.org> 2 14 -
trunk/Source/WebKit2/UIProcess/qt/QtWebPageProxy.cpp
r93897 r93949 150 150 WKPageSetPageLoaderClient(pageRef(), &loadClient); 151 151 152 WKPageUIClient uiClient = { 153 0, /* version */ 154 m_viewInterface, /* clientInfo */ 155 0, /* createNewPage */ 156 0, /* showPage */ 157 0, /* close */ 158 0, /* takeFocus */ 159 0, /* focus */ 160 0, /* unfocus */ 161 0, /* runJavaScriptAlert */ 162 0, /* runJavaScriptConfirm */ 163 0, /* runJavaScriptPrompt */ 164 qt_wk_setStatusText, 165 0, /* mouseDidMoveOverElement */ 166 0, /* missingPluginButtonClicked */ 167 0, /* didNotHandleKeyEvent */ 168 0, /* didNotHandleWheelEvent */ 169 0, /* toolbarsAreVisible */ 170 0, /* setToolbarsAreVisible */ 171 0, /* menuBarIsVisible */ 172 0, /* setMenuBarIsVisible */ 173 0, /* statusBarIsVisible */ 174 0, /* setStatusBarIsVisible */ 175 0, /* isResizable */ 176 0, /* setIsResizable */ 177 0, /* getWindowFrame */ 178 0, /* setWindowFrame */ 179 0, /* runBeforeUnloadConfirmPanel */ 180 0, /* didDraw */ 181 0, /* pageDidScroll */ 182 0, /* exceededDatabaseQuota */ 183 0, /* runOpenPanel */ 184 0, /* decidePolicyForGeolocationPermissionRequest */ 185 0, /* headerHeight */ 186 0, /* footerHeight */ 187 0, /* drawHeader */ 188 0, /* drawFooter */ 189 0, /* printFrame */ 190 0, /* runModal */ 191 0, /* didCompleteRubberBandForMainFrame */ 192 0, /* saveDataToFileInDownloadsFolder */ 193 0, /* shouldInterruptJavaScript */ 194 }; 152 WKPageUIClient uiClient; 153 memset(&uiClient, 0, sizeof(WKPageUIClient)); 154 uiClient.version = 0; 155 uiClient.clientInfo = m_viewInterface; 156 uiClient.setStatusText = qt_wk_setStatusText; 195 157 WKPageSetPageUIClient(toAPI(m_webPageProxy.get()), &uiClient); 196 158 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp
r88628 r93949 28 28 #include "WebErrors.h" 29 29 30 #include <WebCore/ResourceError.h> 30 31 #include <WebCore/ResourceRequest.h> 31 32 #include <WebCore/ResourceResponse.h> … … 43 44 WebKitErrorCannotShowURL = 101, 44 45 WebKitErrorFrameLoadInterruptedByPolicyChange = 102, 45 WebKitErrorCannotUseRestrictedPort = 103,46 WebKitErrorCannotUseRestrictedPort = 103, 46 47 WebKitErrorCannotFindPlugIn = 200, 47 48 WebKitErrorCannotLoadPlugIn = 201,
Note:
See TracChangeset
for help on using the changeset viewer.