Changeset 248755 in webkit
- Timestamp:
- Aug 15, 2019 6:50:05 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r248738 r248755 1 2019-08-15 Brent Fulgham <bfulgham@apple.com> 2 3 [FTW] Enable CoreFoundation use if building for Apple target 4 https://bugs.webkit.org/show_bug.cgi?id=200799 5 6 Reviewed by Alex Christensen. 7 8 * PlatformFTW.cmake: Add missing files. 9 1 10 2019-08-15 Alexey Shvayka <shvaikalesh@gmail.com> 2 11 -
trunk/Source/JavaScriptCore/PlatformFTW.cmake
r246884 r248755 7 7 API/JavaScriptCore.h 8 8 ) 9 10 if (USE_CF) 11 list(APPEND JavaScriptCore_SOURCES 12 API/JSStringRefCF.cpp 13 ) 14 15 list(APPEND JavaScriptCore_PUBLIC_FRAMEWORK_HEADERS 16 API/JSStringRefCF.h 17 ) 18 19 list(APPEND JavaScriptCore_LIBRARIES 20 ${COREFOUNDATION_LIBRARY} 21 ) 22 endif () 23 24 if (NOT WTF_PLATFORM_WIN_CAIRO) 25 list(APPEND JavaScriptCore_LIBRARIES 26 winmm 27 ) 28 endif () 9 29 10 30 if (ENABLE_REMOTE_INSPECTOR) -
trunk/Source/WTF/ChangeLog
r248731 r248755 1 2019-08-15 Brent Fulgham <bfulgham@apple.com> 2 3 [FTW] Enable CoreFoundation use if building for Apple target 4 https://bugs.webkit.org/show_bug.cgi?id=200799 5 6 Reviewed by Alex Christensen. 7 8 * wtf/PlatformFTW.cmake: Add missing files. 9 1 10 2019-08-15 Commit Queue <commit-queue@webkit.org> 2 11 -
trunk/Source/WTF/wtf/PlatformFTW.cmake
r246884 r248755 34 34 ) 35 35 36 if (USE_CF) 37 list(APPEND WTF_PUBLIC_HEADERS 38 cf/CFURLExtras.h 39 cf/TypeCastsCF.h 40 41 text/cf/TextBreakIteratorCF.h 42 ) 43 list(APPEND WTF_SOURCES 44 cf/CFURLExtras.cpp 45 cf/FileSystemCF.cpp 46 cf/URLCF.cpp 47 48 text/cf/AtomStringImplCF.cpp 49 text/cf/StringCF.cpp 50 text/cf/StringImplCF.cpp 51 text/cf/StringViewCF.cpp 52 ) 53 54 list(APPEND WTF_LIBRARIES ${COREFOUNDATION_LIBRARY}) 55 endif () 56 36 57 set(WTF_OUTPUT_NAME WTF${DEBUG_SUFFIX}) -
trunk/Source/WebKit/ChangeLog
r248734 r248755 1 2019-08-15 Brent Fulgham <bfulgham@apple.com> 2 3 [FTW] Enable CoreFoundation use if building for Apple target 4 https://bugs.webkit.org/show_bug.cgi?id=200799 5 6 Reviewed by Alex Christensen. 7 8 Fix the build and remove an unused method. 9 10 * PlatformFTW.cmake: 11 * Shared/ShareableBitmap.h: 12 * Shared/win/ShareableBitmapDirect2D.cpp: 13 (WebKit::ShareableBitmap::createDirect2DSurface): 14 (WebKit::ShareableBitmap::releaseSurfaceData): Deleted. 15 1 16 2019-08-15 Sihui Liu <sihui_liu@apple.com> 2 17 -
trunk/Source/WebKit/PlatformFTW.cmake
r248444 r248755 292 292 UIProcess/API/C/WKPagePolicyClient.h 293 293 UIProcess/API/C/WKPagePrivate.h 294 UIProcess/API/C/WKPageStateClient.h 294 295 UIProcess/API/C/WKPageRenderingProgressEvents.h 295 296 UIProcess/API/C/WKPageUIClient.h -
trunk/Source/WebKit/Shared/ShareableBitmap.h
r248444 r248755 150 150 #endif 151 151 152 #if USE(CAIRO) || USE(DIRECT2D)152 #if USE(CAIRO) 153 153 static void releaseSurfaceData(void* typelessBitmap); 154 154 #endif -
trunk/Source/WebKit/Shared/win/ShareableBitmapDirect2D.cpp
r248444 r248755 97 97 { 98 98 m_bitmap = createSurfaceFromData(data(), m_size); 99 ref(); // Balanced by deref in releaseSurfaceData.100 99 return m_bitmap; 101 }102 103 void ShareableBitmap::releaseSurfaceData(void* typelessBitmap)104 {105 static_cast<ShareableBitmap*>(typelessBitmap)->deref(); // Balanced by ref in createDirect2DSurface.106 100 } 107 101 -
trunk/Source/WebKitLegacy/ChangeLog
r248734 r248755 1 2019-08-15 Brent Fulgham <bfulgham@apple.com> 2 3 [FTW] Enable CoreFoundation use if building for Apple target 4 https://bugs.webkit.org/show_bug.cgi?id=200799 5 6 Reviewed by Alex Christensen. 7 8 * PlatformFTW.cmake: 9 1 10 2019-08-15 Sihui Liu <sihui_liu@apple.com> 2 11 -
trunk/Source/WebKitLegacy/PlatformFTW.cmake
r248444 r248755 220 220 win/WebCoreSupport/WebVisitedLinkStore.h 221 221 ) 222 223 if (USE_CF) 224 list(APPEND WebKitLegacy_SOURCES_Classes 225 cf/WebCoreSupport/WebInspectorClientCF.cpp 226 ) 227 228 list(APPEND WebKitLegacy_LIBRARIES 229 ${COREFOUNDATION_LIBRARY} 230 ) 231 endif () 222 232 223 233 if (CMAKE_SIZEOF_VOID_P EQUAL 8) -
trunk/Source/WebKitLegacy/win/ChangeLog
r248728 r248755 1 2019-08-15 Brent Fulgham <bfulgham@apple.com> 2 3 [FTW] Enable CoreFoundation use if building for Apple target 4 https://bugs.webkit.org/show_bug.cgi?id=200799 5 6 Reviewed by Alex Christensen. 7 8 * FullscreenVideoController.cpp: 9 (FullscreenVideoController::FullscreenVideoController): 10 (FullscreenVideoController::enterFullscreen): 11 (FullscreenVideoController::exitFullscreen): 12 (FullscreenVideoController::createHUDWindow): 13 * FullscreenVideoController.h: 14 * WebView.cpp: 15 (WebView::exitFullscreenIfNeeded): 16 1 17 2019-08-15 Youenn Fablet <youenn@apple.com> 2 18 -
trunk/Source/WebKitLegacy/win/FullscreenVideoController.cpp
r242308 r248755 250 250 , m_rootChild(PlatformCALayerWin::create(PlatformCALayer::LayerTypeLayer, m_layerClient.get())) 251 251 #endif 252 #if ENABLE(FULLSCREEN_API) 252 253 , m_fullscreenWindow(std::make_unique<MediaPlayerPrivateFullscreenWindow>(static_cast<MediaPlayerPrivateFullscreenClient*>(this))) 254 #endif 253 255 { 254 256 } … … 275 277 void FullscreenVideoController::enterFullscreen() 276 278 { 279 #if ENABLE(FULLSCREEN_API) 277 280 if (!m_videoElement) 278 281 return; … … 300 303 301 304 createHUDWindow(); 305 #endif 302 306 } 303 307 … … 306 310 SetWindowLongPtr(m_hudWindow, 0, 0); 307 311 312 #if ENABLE(FULLSCREEN_API) 308 313 m_fullscreenWindow = nullptr; 314 #endif 309 315 310 316 ASSERT(!IsWindow(m_hudWindow)); … … 433 439 void FullscreenVideoController::createHUDWindow() 434 440 { 441 #if ENABLE(FULLSCREEN_API) 435 442 m_hudPosition.setX((m_fullscreenSize.width() - windowWidth) / 2); 436 443 m_hudPosition.setY(m_fullscreenSize.height() * initialHUDPositionY - windowHeight / 2); … … 462 469 463 470 draw(); 471 #endif 464 472 } 465 473 -
trunk/Source/WebKitLegacy/win/FullscreenVideoController.h
r228521 r248755 155 155 WebCore::IntSize m_fullscreenSize; 156 156 WebCore::IntPoint m_hudPosition; 157 #if ENABLE(FULLSCREEN_API) 157 158 std::unique_ptr<WebCore::MediaPlayerPrivateFullscreenWindow> m_fullscreenWindow; 159 #endif 158 160 159 161 #if USE(CA) -
trunk/Source/WebKitLegacy/win/WebView.cpp
r248444 r248755 7881 7881 HRESULT WebView::exitFullscreenIfNeeded() 7882 7882 { 7883 #if ENABLE(FULLSCREEN_API) 7883 7884 if (fullScreenController() && fullScreenController()->isFullScreen()) 7884 7885 fullScreenController()->close(); 7885 return S_OK; 7886 } 7886 #endif 7887 return S_OK; 7888 } -
trunk/Source/cmake/OptionsFTW.cmake
r248444 r248755 26 26 27 27 # Setup library paths 28 if (DEFINED ENV{AppleApplicationSupportSDK}) 29 file(TO_CMAKE_PATH "$ENV{AppleApplicationSupportSDK}/AppleInternal" WEBKIT_LIBRARIES_DIR) 30 set(WEBKIT_LIBRARIES_INCLUDE_DIR "${WEBKIT_LIBRARIES_DIR}/include") 31 include_directories(${WEBKIT_LIBRARIES_INCLUDE_DIR}) 32 set(APPLE_BUILD 1) 33 endif () 34 28 35 if (NOT WEBKIT_LIBRARIES_DIR) 29 36 if (DEFINED ENV{WEBKIT_LIBRARIES}) … … 205 212 WEBKIT_OPTION_END() 206 213 214 if (APPLE_BUILD) 215 include(target/icu) 216 set(COREFOUNDATION_LIBRARY CoreFoundation${DEBUG_SUFFIX}) 217 SET_AND_EXPOSE_TO_BUILD(USE_CF ON) 218 find_package(LibXml2 2.9.1 REQUIRED) 219 if (ENABLE_XSLT) 220 find_package(LibXslt 1.1.28 REQUIRED) 221 endif () 222 else () 223 find_package(ICU REQUIRED COMPONENTS data i18n uc) 224 find_package(LibXml2 2.9.7 REQUIRED) 225 if (ENABLE_XSLT) 226 find_package(LibXslt 1.1.32 REQUIRED) 227 endif () 228 endif () 229 207 230 find_package(CURL 7.60.0 REQUIRED) 208 find_package(ICU REQUIRED COMPONENTS data i18n uc)209 231 find_package(JPEG 1.5.2 REQUIRED) 210 find_package(LibXml2 2.9.7 REQUIRED)211 232 find_package(OpenSSL 2.0.0 REQUIRED) 212 233 find_package(PNG 1.6.34 REQUIRED) … … 220 241 # SET_AND_EXPOSE_TO_BUILD(USE_WEBP ON) 221 242 # endif () 222 223 if (ENABLE_XSLT)224 find_package(LibXslt 1.1.32 REQUIRED)225 endif ()226 243 227 244 SET_AND_EXPOSE_TO_BUILD(USE_CURL ON)
Note: See TracChangeset
for help on using the changeset viewer.