-
aroben@apple.com authored
WebKit by and large deals with two scale factors: one intrinsic to the device on which the software is running, and one that is per-Page and can be controlled via API calls. This patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the code use those names. It should introduce no behavior changes. Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the device scale factor Reviewed by Simon Fraser. Source/WebCore: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: Removed an unused member. This is unrelated to this patch. * css/MediaQueryEvaluator.cpp: * html/HTMLCanvasElement.cpp: * html/HTMLCanvasElement.h: * loader/EmptyClients.h: * page/Chrome.cpp: * page/Chrome.h: * page/ChromeClient.h: * page/DOMWindow.cpp: * page/Frame.cpp: * page/Frame.h: * platform/graphics/GraphicsLayer.cpp: * platform/graphics/GraphicsLayer.h: * platform/graphics/GraphicsLayerClient.h: * platform/graphics/ca/GraphicsLayerCA.cpp: * rendering/RenderInline.cpp: * rendering/RenderLayerBacking.cpp: * rendering/RenderLayerBacking.h: * rendering/RenderLayerCompositor.cpp: * rendering/RenderLayerCompositor.h: * rendering/RenderObject.cpp: Source/WebKit/chromium: * src/ChromeClientImpl.cpp: * src/ChromeClientImpl.h: Source/WebKit/efl: * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ChromeClientEfl.h: Source/WebKit/gtk: * WebCoreSupport/ChromeClientGtk.cpp: * WebCoreSupport/ChromeClientGtk.h: Source/WebKit/haiku: * WebCoreSupport/ChromeClientHaiku.cpp: * WebCoreSupport/ChromeClientHaiku.h: Source/WebKit/mac: * Misc/WebNSControlExtras.m: (-[NSControl sizeToFitAndAdjustWindowHeight]): Updated this function to use more modern AppKit scale factor terminology. (This is unrelated to the rest of the patch.) * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: Source/WebKit/qt: * WebCoreSupport/ChromeClientQt.cpp: * WebCoreSupport/ChromeClientQt.h: Source/WebKit/win: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: Source/WebKit/wince: * WebCoreSupport/ChromeClientWinCE.cpp: * WebCoreSupport/ChromeClientWinCE.h: Source/WebKit/wx: * WebKitSupport/ChromeClientWx.cpp: * WebKitSupport/ChromeClientWx.h: Source/WebKit2: * Shared/UpdateInfo.cpp: * Shared/UpdateInfo.h: * Shared/WebPageCreationParameters.cpp: * Shared/WebPageCreationParameters.h: * UIProcess/API/C/WKPage.cpp: * UIProcess/API/efl/PageClientImpl.cpp: * UIProcess/API/efl/PageClientImpl.h: * UIProcess/API/gtk/PageClientImpl.h: * UIProcess/API/mac/PageClientImpl.h: * UIProcess/API/mac/PageClientImpl.mm: * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: * UIProcess/DrawingAreaProxyImpl.cpp: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/WebPopupMenuProxy.h: * UIProcess/gtk/WebPopupMenuProxyGtk.cpp: * UIProcess/gtk/WebPopupMenuProxyGtk.h: * UIProcess/mac/BackingStoreMac.mm: * UIProcess/mac/WebPageProxyMac.mm: * UIProcess/mac/WebPopupMenuProxyMac.h: * UIProcess/mac/WebPopupMenuProxyMac.mm: * UIProcess/qt/WebPopupMenuProxyQt.h: * UIProcess/win/WebPopupMenuProxyWin.h: * UIProcess/win/WebView.h: * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: * WebProcess/WebCoreSupport/WebChromeClient.cpp: * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: * WebProcess/WebPage/DrawingAreaImpl.cpp: * WebProcess/WebPage/FindController.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebPage/ca/LayerTreeHostCA.cpp: * WebProcess/WebPage/ca/LayerTreeHostCA.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
631cb90e