Changeset 139791 in webkit
- Timestamp:
- Jan 15, 2013, 2:20:51 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r139781 r139791 1 2013-01-15 Anders Carlsson <andersca@apple.com> 2 3 Rename LayerTreeHostCAMac to LayerTreeHostMac. 4 5 Rubber-stamped by Deth Bakin. 6 7 * WebKit2.xcodeproj/project.pbxproj: 8 * WebProcess/WebPage/LayerTreeHost.cpp: 9 * WebProcess/WebPage/mac/LayerTreeHostMac.h: Renamed from Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.h. 10 * WebProcess/WebPage/mac/LayerTreeHostMac.mm: Renamed from Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm. 11 1 12 2013-01-15 Dominik Röttsches <dominik.rottsches@intel.com> 2 13 -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r139240 r139791 195 195 1A92DC1112F8BA460017AF65 /* LayerTreeContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A92DC1012F8BA460017AF65 /* LayerTreeContext.h */; }; 196 196 1A92DC1312F8BAB90017AF65 /* LayerTreeContextMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A92DC1212F8BAB90017AF65 /* LayerTreeContextMac.mm */; }; 197 1A97E07616A5F9E0000BC9E5 /* LayerTreeHostMac.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A97E07316A5F578000BC9E5 /* LayerTreeHostMac.h */; }; 198 1A97E07716A5F9E0000BC9E5 /* LayerTreeHostMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A97E07416A5F578000BC9E5 /* LayerTreeHostMac.mm */; }; 197 199 1A9FBA8D13FF04E600DEED67 /* PluginComplexTextInputState.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A9FBA8C13FF04E600DEED67 /* PluginComplexTextInputState.h */; }; 198 200 1AA2E51D12E4C05E00BC4966 /* CGUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AA2E51B12E4C05E00BC4966 /* CGUtilities.h */; }; … … 987 989 C0337DD8127A51B6008FF4F4 /* WebTouchEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C0337DD7127A51B6008FF4F4 /* WebTouchEvent.cpp */; }; 988 990 C0337DDD127A521C008FF4F4 /* WebPlatformTouchPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C0337DDC127A521C008FF4F4 /* WebPlatformTouchPoint.cpp */; }; 989 C03A136C133BEBF900D767D1 /* LayerTreeHostCAMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = C03A136B133BEBF900D767D1 /* LayerTreeHostCAMac.mm */; };990 991 C064504A133BE709003470E2 /* LayerTreeHostCA.h in Headers */ = {isa = PBXBuildFile; fileRef = C098A053133BE1C500B199A4 /* LayerTreeHostCA.h */; }; 991 992 C06C6095124C144B0001682F /* WebPageCreationParameters.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06C6093124C14430001682F /* WebPageCreationParameters.cpp */; }; … … 998 999 C0E3AA7B1209E83500A49D01 /* Module.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C0E3AA451209E2BA00A49D01 /* Module.cpp */; }; 999 1000 C0E3AA7C1209E83C00A49D01 /* Module.h in Headers */ = {isa = PBXBuildFile; fileRef = C0E3AA441209E2BA00A49D01 /* Module.h */; }; 1000 C0FA52431345694A0028E8C2 /* LayerTreeHostCAMac.h in Headers */ = {isa = PBXBuildFile; fileRef = C0FA52421345694A0028E8C2 /* LayerTreeHostCAMac.h */; };1001 1001 C517388112DF8F4F00EE3F47 /* DragControllerAction.h in Headers */ = {isa = PBXBuildFile; fileRef = C517388012DF8F4F00EE3F47 /* DragControllerAction.h */; }; 1002 1002 C5237F6012441CA300780472 /* WebEditorClientMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = C5237F5F12441CA300780472 /* WebEditorClientMac.mm */; }; … … 1424 1424 1A92DC1012F8BA460017AF65 /* LayerTreeContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LayerTreeContext.h; sourceTree = "<group>"; }; 1425 1425 1A92DC1212F8BAB90017AF65 /* LayerTreeContextMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = LayerTreeContextMac.mm; sourceTree = "<group>"; }; 1426 1A97E07316A5F578000BC9E5 /* LayerTreeHostMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LayerTreeHostMac.h; sourceTree = "<group>"; }; 1427 1A97E07416A5F578000BC9E5 /* LayerTreeHostMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = LayerTreeHostMac.mm; sourceTree = "<group>"; }; 1426 1428 1A9FBA8C13FF04E600DEED67 /* PluginComplexTextInputState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PluginComplexTextInputState.h; sourceTree = "<group>"; }; 1427 1429 1AA1C79A100E7FC50078DEBC /* WebCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = WebCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; … … 2285 2287 C0337DD7127A51B6008FF4F4 /* WebTouchEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebTouchEvent.cpp; sourceTree = "<group>"; }; 2286 2288 C0337DDC127A521C008FF4F4 /* WebPlatformTouchPoint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebPlatformTouchPoint.cpp; sourceTree = "<group>"; }; 2287 C03A136B133BEBF900D767D1 /* LayerTreeHostCAMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = LayerTreeHostCAMac.mm; sourceTree = "<group>"; };2288 2289 C06C6093124C14430001682F /* WebPageCreationParameters.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebPageCreationParameters.cpp; sourceTree = "<group>"; }; 2289 2290 C06C6094124C14430001682F /* WebPageCreationParameters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebPageCreationParameters.h; sourceTree = "<group>"; }; … … 2301 2302 C0E3AA451209E2BA00A49D01 /* Module.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Module.cpp; sourceTree = "<group>"; }; 2302 2303 C0E3AA481209E45000A49D01 /* ModuleMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ModuleMac.mm; sourceTree = "<group>"; }; 2303 C0FA52421345694A0028E8C2 /* LayerTreeHostCAMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LayerTreeHostCAMac.h; sourceTree = "<group>"; };2304 2304 C517388012DF8F4F00EE3F47 /* DragControllerAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DragControllerAction.h; sourceTree = "<group>"; }; 2305 2305 C5237F5F12441CA300780472 /* WebEditorClientMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebEditorClientMac.mm; sourceTree = "<group>"; }; … … 4085 4085 isa = PBXGroup; 4086 4086 children = ( 4087 1A97E07316A5F578000BC9E5 /* LayerTreeHostMac.h */, 4088 1A97E07416A5F578000BC9E5 /* LayerTreeHostMac.mm */, 4087 4089 1AB16AEC164B41E400290D62 /* RemoteGraphicsLayer.h */, 4088 4090 1AB16AEB164B41E400290D62 /* RemoteGraphicsLayer.mm */, … … 4282 4284 isa = PBXGroup; 4283 4285 children = ( 4284 C0FA52421345694A0028E8C2 /* LayerTreeHostCAMac.h */,4285 C03A136B133BEBF900D767D1 /* LayerTreeHostCAMac.mm */,4286 4286 ); 4287 4287 path = mac; … … 4652 4652 1A186EEA12EF7618008E5F37 /* LayerTreeHost.h in Headers */, 4653 4653 C064504A133BE709003470E2 /* LayerTreeHostCA.h in Headers */, 4654 C0FA52431345694A0028E8C2 /* LayerTreeHostCAMac.h in Headers */,4655 4654 51A7F2F3125BF820008AEB1D /* Logging.h in Headers */, 4656 4655 BCC56F791159957D001CCAF9 /* MachPort.h in Headers */, … … 5071 5070 E179088F169BAA6A006904C7 /* SecItemShim.h in Headers */, 5072 5071 E1790891169BAA82006904C7 /* SecItemShimMessages.h in Headers */, 5072 1A97E07616A5F9E0000BC9E5 /* LayerTreeHostMac.h in Headers */, 5073 5073 ); 5074 5074 runOnlyForDeploymentPostprocessing = 0; … … 5630 5630 1A186EEB12EF7618008E5F37 /* LayerTreeHost.cpp in Sources */, 5631 5631 C0D74DDE133BE2D90089CD44 /* LayerTreeHostCA.cpp in Sources */, 5632 C03A136C133BEBF900D767D1 /* LayerTreeHostCAMac.mm in Sources */,5633 5632 51A7F2F5125BF8D4008AEB1D /* Logging.cpp in Sources */, 5634 5633 5160BFE113381DF900918999 /* Logging.mac.mm in Sources */, … … 6050 6049 E179088D169BAA62006904C7 /* SecItemShim.cpp in Sources */, 6051 6050 E1790890169BAA7F006904C7 /* SecItemShimMessageReceiver.cpp in Sources */, 6051 1A97E07716A5F9E0000BC9E5 /* LayerTreeHostMac.mm in Sources */, 6052 6052 ); 6053 6053 runOnlyForDeploymentPostprocessing = 0; -
trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeHost.cpp
r139023 r139791 28 28 29 29 #if PLATFORM(MAC) 30 #include "LayerTreeHost CAMac.h"30 #include "LayerTreeHostMac.h" 31 31 #endif 32 32 … … 46 46 { 47 47 #if PLATFORM(MAC) 48 return LayerTreeHost CAMac::create(webPage);48 return LayerTreeHostMac::create(webPage); 49 49 #elif USE(COORDINATED_GRAPHICS) 50 50 return CoordinatedLayerTreeHost::create(webPage); -
trunk/Source/WebKit2/WebProcess/WebPage/mac/LayerTreeHostMac.h
r139790 r139791 24 24 */ 25 25 26 #ifndef LayerTreeHost CAMac_h27 #define LayerTreeHost CAMac_h26 #ifndef LayerTreeHostMac_h 27 #define LayerTreeHostMac_h 28 28 29 29 #include "LayerTreeHostCA.h" … … 35 35 class LayerHostingContext; 36 36 37 class LayerTreeHost CAMac : public LayerTreeHostCA, public WebCore::LayerFlushSchedulerClient {37 class LayerTreeHostMac : public LayerTreeHostCA, public WebCore::LayerFlushSchedulerClient { 38 38 public: 39 static PassRefPtr<LayerTreeHost CAMac> create(WebPage*);40 virtual ~LayerTreeHost CAMac();39 static PassRefPtr<LayerTreeHostMac> create(WebPage*); 40 virtual ~LayerTreeHostMac(); 41 41 42 42 private: 43 explicit LayerTreeHost CAMac(WebPage*);43 explicit LayerTreeHostMac(WebPage*); 44 44 45 45 // LayerTreeHost. … … 69 69 } // namespace WebKit 70 70 71 #endif // LayerTreeHost CAMac_h71 #endif // LayerTreeHostMac_h -
trunk/Source/WebKit2/WebProcess/WebPage/mac/LayerTreeHostMac.mm
r139790 r139791 25 25 26 26 #import "config.h" 27 #import "LayerTreeHost CAMac.h"27 #import "LayerTreeHostMac.h" 28 28 29 29 #import "LayerHostingContext.h" … … 41 41 namespace WebKit { 42 42 43 PassRefPtr<LayerTreeHost CAMac> LayerTreeHostCAMac::create(WebPage* webPage)43 PassRefPtr<LayerTreeHostMac> LayerTreeHostMac::create(WebPage* webPage) 44 44 { 45 RefPtr<LayerTreeHost CAMac> host = adoptRef(new LayerTreeHostCAMac(webPage));45 RefPtr<LayerTreeHostMac> host = adoptRef(new LayerTreeHostMac(webPage)); 46 46 host->initialize(); 47 47 return host.release(); 48 48 } 49 49 50 LayerTreeHost CAMac::LayerTreeHostCAMac(WebPage* webPage)50 LayerTreeHostMac::LayerTreeHostMac(WebPage* webPage) 51 51 : LayerTreeHostCA(webPage) 52 52 , m_layerFlushScheduler(this) … … 54 54 } 55 55 56 LayerTreeHost CAMac::~LayerTreeHostCAMac()56 LayerTreeHostMac::~LayerTreeHostMac() 57 57 { 58 58 ASSERT(!m_layerHostingContext); 59 59 } 60 60 61 void LayerTreeHost CAMac::platformInitialize()61 void LayerTreeHostMac::platformInitialize() 62 62 { 63 63 switch (m_webPage->layerHostingMode()) { … … 76 76 } 77 77 78 void LayerTreeHost CAMac::scheduleLayerFlush()78 void LayerTreeHostMac::scheduleLayerFlush() 79 79 { 80 80 m_layerFlushScheduler.schedule(); 81 81 } 82 82 83 void LayerTreeHost CAMac::setLayerFlushSchedulingEnabled(bool layerFlushingEnabled)83 void LayerTreeHostMac::setLayerFlushSchedulingEnabled(bool layerFlushingEnabled) 84 84 { 85 85 if (layerFlushingEnabled) … … 89 89 } 90 90 91 void LayerTreeHost CAMac::invalidate()91 void LayerTreeHostMac::invalidate() 92 92 { 93 93 m_layerFlushScheduler.invalidate(); … … 99 99 } 100 100 101 void LayerTreeHost CAMac::sizeDidChange(const IntSize& newSize)101 void LayerTreeHostMac::sizeDidChange(const IntSize& newSize) 102 102 { 103 103 LayerTreeHostCA::sizeDidChange(newSize); … … 106 106 } 107 107 108 void LayerTreeHost CAMac::forceRepaint()108 void LayerTreeHostMac::forceRepaint() 109 109 { 110 110 LayerTreeHostCA::forceRepaint(); … … 113 113 } 114 114 115 void LayerTreeHost CAMac::pauseRendering()115 void LayerTreeHostMac::pauseRendering() 116 116 { 117 117 CALayer* root = rootLayer()->platformLayer(); … … 120 120 } 121 121 122 void LayerTreeHost CAMac::resumeRendering()122 void LayerTreeHostMac::resumeRendering() 123 123 { 124 124 CALayer* root = rootLayer()->platformLayer(); … … 127 127 } 128 128 129 bool LayerTreeHost CAMac::flushLayers()129 bool LayerTreeHostMac::flushLayers() 130 130 { 131 131 performScheduledLayerFlush(); … … 133 133 } 134 134 135 void LayerTreeHost CAMac::didPerformScheduledLayerFlush()135 void LayerTreeHostMac::didPerformScheduledLayerFlush() 136 136 { 137 137 LayerTreeHostCA::didPerformScheduledLayerFlush(); 138 138 } 139 139 140 bool LayerTreeHost CAMac::flushPendingLayerChanges()140 bool LayerTreeHostMac::flushPendingLayerChanges() 141 141 { 142 142 if (m_layerFlushScheduler.isSuspended()) … … 146 146 } 147 147 148 void LayerTreeHost CAMac::setLayerHostingMode(LayerHostingMode layerHostingMode)148 void LayerTreeHostMac::setLayerHostingMode(LayerHostingMode layerHostingMode) 149 149 { 150 150 if (layerHostingMode == m_layerHostingContext->layerHostingMode())
Note:
See TracChangeset
for help on using the changeset viewer.