Changeset 159001 in webkit
- Timestamp:
- Nov 9, 2013 12:59:28 PM (10 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 added
- 101 edited
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r158933 r159001 1 2013-11-09 Patrick Gansterer <paroga@webkit.org> 2 3 Move RunLoop from WebCore to WTF 4 https://bugs.webkit.org/show_bug.cgi?id=116606 5 6 Reviewed by Anders Carlsson. 7 8 With this change RunLoop can be used in JavaScriptCore too. 9 10 * GNUmakefile.list.am: 11 * WTF.vcxproj/WTF.vcxproj: 12 * WTF.xcodeproj/project.pbxproj: 13 * wtf/CMakeLists.txt: 14 * wtf/PlatformBlackBerry.cmake: 15 * wtf/PlatformEfl.cmake: 16 * wtf/PlatformGTK.cmake: 17 * wtf/PlatformWin.cmake: 18 * wtf/RunLoop.cpp: Renamed from Source/WebCore/platform/RunLoop.cpp. 19 (WTF::RunLoop::Holder::Holder): 20 (WTF::RunLoop::Holder::runLoop): 21 (WTF::RunLoop::initializeMainRunLoop): 22 (WTF::RunLoop::current): 23 (WTF::RunLoop::main): 24 (WTF::RunLoop::isMain): 25 (WTF::RunLoop::performWork): 26 (WTF::RunLoop::dispatch): 27 * wtf/RunLoop.h: Renamed from Source/WebCore/platform/RunLoop.h. 28 (WTF::RunLoop::TimerBase::startRepeating): 29 (WTF::RunLoop::TimerBase::startOneShot): 30 (WTF::RunLoop::TimerBase::isRepeating): 31 (WTF::RunLoop::Timer::Timer): 32 (WTF::RunLoop::Timer::fired): 33 * wtf/blackberry/RunLoopBlackBerry.cpp: Renamed from Source/WebCore/platform/blackberry/RunLoopBlackBerry.cpp. 34 (WTF::RunLoop::RunLoop): 35 (WTF::RunLoop::~RunLoop): 36 (WTF::RunLoop::wakeUp): 37 * wtf/cf/RunLoopCF.cpp: Renamed from Source/WebCore/platform/cf/RunLoopCF.cpp. 38 (WTF::RunLoop::performWork): 39 (WTF::RunLoop::RunLoop): 40 (WTF::RunLoop::~RunLoop): 41 (WTF::RunLoop::runForDuration): 42 (WTF::RunLoop::wakeUp): 43 (WTF::RunLoop::run): 44 (WTF::RunLoop::stop): 45 (WTF::RunLoop::TimerBase::timerFired): 46 (WTF::RunLoop::TimerBase::TimerBase): 47 (WTF::RunLoop::TimerBase::~TimerBase): 48 (WTF::RunLoop::TimerBase::start): 49 (WTF::RunLoop::TimerBase::stop): 50 (WTF::RunLoop::TimerBase::isActive): 51 * wtf/efl/RunLoopEfl.cpp: Renamed from Source/WebCore/platform/efl/RunLoopEfl.cpp. 52 (WTF::RunLoop::RunLoop): 53 (WTF::RunLoop::~RunLoop): 54 (WTF::RunLoop::run): 55 (WTF::RunLoop::stop): 56 (WTF::RunLoop::wakeUpEvent): 57 (WTF::RunLoop::wakeUp): 58 (WTF::RunLoop::TimerBase::TimerBase): 59 (WTF::RunLoop::TimerBase::~TimerBase): 60 (WTF::RunLoop::TimerBase::timerFired): 61 (WTF::RunLoop::TimerBase::start): 62 (WTF::RunLoop::TimerBase::stop): 63 (WTF::RunLoop::TimerBase::isActive): 64 * wtf/gtk/RunLoopGtk.cpp: Renamed from Source/WebCore/platform/gtk/RunLoopGtk.cpp. 65 (WTF::RunLoop::RunLoop): 66 (WTF::RunLoop::~RunLoop): 67 (WTF::RunLoop::run): 68 (WTF::RunLoop::innermostLoop): 69 (WTF::RunLoop::pushNestedMainLoop): 70 (WTF::RunLoop::popNestedMainLoop): 71 (WTF::RunLoop::stop): 72 (WTF::RunLoop::queueWork): 73 (WTF::RunLoop::wakeUp): 74 (WTF::RunLoop::TimerBase::TimerBase): 75 (WTF::RunLoop::TimerBase::~TimerBase): 76 (WTF::RunLoop::TimerBase::clearTimerSource): 77 (WTF::RunLoop::TimerBase::timerFiredCallback): 78 (WTF::RunLoop::TimerBase::start): 79 (WTF::RunLoop::TimerBase::stop): 80 (WTF::RunLoop::TimerBase::isActive): 81 * wtf/win/RunLoopWin.cpp: Renamed from Source/WebCore/platform/win/RunLoopWin.cpp. 82 (WTF::RunLoop::RunLoopWndProc): 83 (WTF::RunLoop::wndProc): 84 (WTF::RunLoop::run): 85 (WTF::RunLoop::stop): 86 (WTF::RunLoop::registerRunLoopMessageWindowClass): 87 (WTF::RunLoop::RunLoop): 88 (WTF::RunLoop::~RunLoop): 89 (WTF::RunLoop::wakeUp): 90 (WTF::RunLoop::TimerBase::timerFired): 91 (WTF::generateTimerID): 92 (WTF::RunLoop::TimerBase::TimerBase): 93 (WTF::RunLoop::TimerBase::~TimerBase): 94 (WTF::RunLoop::TimerBase::start): 95 (WTF::RunLoop::TimerBase::stop): 96 (WTF::RunLoop::TimerBase::isActive): 97 1 98 2013-11-08 Alexey Proskuryakov <ap@apple.com> 2 99 -
trunk/Source/WTF/GNUmakefile.list.am
r158108 r159001 138 138 Source/WTF/wtf/RefPtrHashMap.h \ 139 139 Source/WTF/wtf/RetainPtr.h \ 140 Source/WTF/wtf/RunLoop.cpp \ 141 Source/WTF/wtf/RunLoop.h \ 140 142 Source/WTF/wtf/SHA1.cpp \ 141 143 Source/WTF/wtf/SHA1.h \ … … 217 219 Source/WTF/wtf/gobject/GlibUtilities.h \ 218 220 Source/WTF/wtf/gtk/MainThreadGtk.cpp \ 221 Source/WTF/wtf/gtk/RunLoopGtk.cpp \ 219 222 Source/WTF/wtf/text/ASCIIFastPath.h \ 220 223 Source/WTF/wtf/text/AtomicString.cpp \ -
trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj
r158471 r159001 90 90 <ClCompile Include="..\wtf\RandomNumber.cpp" /> 91 91 <ClCompile Include="..\wtf\RefCountedLeakCounter.cpp" /> 92 <ClCompile Include="..\wtf\RunLoop.cpp" /> 92 93 <ClCompile Include="..\wtf\SHA1.cpp" /> 93 94 <ClCompile Include="..\wtf\SixCharacterHash.cpp" /> … … 115 116 <ClCompile Include="..\wtf\unicode\UTF8.cpp" /> 116 117 <ClCompile Include="..\wtf\win\MainThreadWin.cpp" /> 118 <ClCompile Include="..\wtf\win\RunLoopWin.cpp" /> 117 119 <ClCompile Include="..\wtf\WTFThreadData.cpp" /> 118 120 <ClCompile Include="..\wtf\SchedulePairCF.cpp" /> … … 222 224 <ClInclude Include="..\wtf\RefPtrHashMap.h" /> 223 225 <ClInclude Include="..\wtf\RetainPtr.h" /> 226 <ClInclude Include="..\wtf\RunLoop.h" /> 224 227 <ClInclude Include="..\wtf\SaturatedArithmetic.h" /> 225 228 <ClInclude Include="..\wtf\SchedulePair.h" /> -
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
r158471 r159001 61 61 2C05385415BC819000F21B96 /* GregorianDateTime.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C05385315BC819000F21B96 /* GregorianDateTime.h */; }; 62 62 2CCD892A15C0390200285083 /* GregorianDateTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2CCD892915C0390200285083 /* GregorianDateTime.cpp */; }; 63 2CDED0EF18115C38004DBA70 /* RunLoopCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2CDED0EE18115C38004DBA70 /* RunLoopCF.cpp */; }; 64 2CDED0F318115C85004DBA70 /* RunLoop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2CDED0F118115C85004DBA70 /* RunLoop.cpp */; }; 65 2CDED0F418115C85004DBA70 /* RunLoop.h in Headers */ = {isa = PBXBuildFile; fileRef = 2CDED0F218115C85004DBA70 /* RunLoop.h */; }; 63 66 44F66008171AFAE600E4AD19 /* EnumClass.h in Headers */ = {isa = PBXBuildFile; fileRef = 44F66007171AFAA900E4AD19 /* EnumClass.h */; }; 64 67 4F0321BC156AA8D1006EBAF6 /* BitArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F0321BB156AA8D1006EBAF6 /* BitArray.h */; }; … … 325 328 2C05385315BC819000F21B96 /* GregorianDateTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GregorianDateTime.h; sourceTree = "<group>"; }; 326 329 2CCD892915C0390200285083 /* GregorianDateTime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GregorianDateTime.cpp; sourceTree = "<group>"; }; 330 2CDED0EE18115C38004DBA70 /* RunLoopCF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RunLoopCF.cpp; path = cf/RunLoopCF.cpp; sourceTree = "<group>"; }; 331 2CDED0F118115C85004DBA70 /* RunLoop.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RunLoop.cpp; sourceTree = "<group>"; }; 332 2CDED0F218115C85004DBA70 /* RunLoop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RunLoop.h; sourceTree = "<group>"; }; 327 333 44DEE74A152274BB00C6EC37 /* iOS.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = iOS.xcconfig; sourceTree = "<group>"; }; 328 334 44F66007171AFAA900E4AD19 /* EnumClass.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EnumClass.h; sourceTree = "<group>"; }; … … 566 572 sourceTree = "<group>"; 567 573 }; 574 2CDED0F018115C3F004DBA70 /* cf */ = { 575 isa = PBXGroup; 576 children = ( 577 2CDED0EE18115C38004DBA70 /* RunLoopCF.cpp */, 578 ); 579 name = cf; 580 sourceTree = "<group>"; 581 }; 568 582 5D247B5714689B8600E78B76 = { 569 583 isa = PBXGroup; … … 626 640 isa = PBXGroup; 627 641 children = ( 642 2CDED0F018115C3F004DBA70 /* cf */, 628 643 A8A47281151A825A004123FF /* dtoa */, 629 644 1FA47C87152502DA00568D1B /* ios */, … … 766 781 A8A47304151A825B004123FF /* RefPtrHashMap.h */, 767 782 A8A47305151A825B004123FF /* RetainPtr.h */, 783 2CDED0F118115C85004DBA70 /* RunLoop.cpp */, 784 2CDED0F218115C85004DBA70 /* RunLoop.h */, 768 785 1469419016EAAF6D0024E146 /* RunLoopTimer.h */, 769 786 1469419116EAAF6D0024E146 /* RunLoopTimerCF.cpp */, … … 1057 1074 A8A4741D151A825B004123FF /* RefPtrHashMap.h in Headers */, 1058 1075 A8A4741E151A825B004123FF /* RetainPtr.h in Headers */, 1076 2CDED0F418115C85004DBA70 /* RunLoop.h in Headers */, 1059 1077 1469419216EAAF6D0024E146 /* RunLoopTimer.h in Headers */, 1060 1078 14F3B0F715E45E4600210069 /* SaturatedArithmetic.h in Headers */, … … 1233 1251 A8A47414151A825B004123FF /* RandomNumber.cpp in Sources */, 1234 1252 A8A4741A151A825B004123FF /* RefCountedLeakCounter.cpp in Sources */, 1253 2CDED0F318115C85004DBA70 /* RunLoop.cpp in Sources */, 1254 2CDED0EF18115C38004DBA70 /* RunLoopCF.cpp in Sources */, 1235 1255 1469419316EAAF6D0024E146 /* RunLoopTimerCF.cpp in Sources */, 1236 1256 1469419916EAB0410024E146 /* SchedulePairCF.cpp in Sources */, -
trunk/Source/WTF/wtf/CMakeLists.txt
r157660 r159001 87 87 RefPtrHashMap.h 88 88 RetainPtr.h 89 RunLoop.h 89 90 SHA1.h 90 91 SaturatedArithmetic.h … … 174 175 RandomNumber.cpp 175 176 RefCountedLeakCounter.cpp 177 RunLoop.cpp 176 178 SHA1.cpp 177 179 SixCharacterHash.cpp -
trunk/Source/WTF/wtf/PlatformBlackBerry.cmake
r150767 r159001 1 1 list(APPEND WTF_SOURCES 2 2 blackberry/MainThreadBlackBerry.cpp 3 blackberry/RunLoopBlackBerry.cpp 3 4 ) -
trunk/Source/WTF/wtf/PlatformEfl.cmake
r156264 r159001 3 3 efl/OwnPtrEfl.cpp 4 4 efl/RefPtrEfl.cpp 5 efl/RunLoopEfl.cpp 5 6 6 7 gobject/GOwnPtr.cpp -
trunk/Source/WTF/wtf/PlatformGTK.cmake
r156264 r159001 5 5 6 6 gtk/MainThreadGtk.cpp 7 gtk/RunLoopGtk.cpp 7 8 ) 8 9 -
trunk/Source/WTF/wtf/PlatformWin.cmake
r155521 r159001 3 3 4 4 win/MainThreadWin.cpp 5 win/RunLoopWin.cpp 5 6 ) 6 7 -
trunk/Source/WTF/wtf/RunLoop.cpp
r159000 r159001 30 30 #include <wtf/ThreadSpecific.h> 31 31 32 namespace W ebCore{32 namespace WTF { 33 33 34 34 static RunLoop* s_mainRunLoop; … … 129 129 } 130 130 131 } // namespace W ebCore131 } // namespace WTF -
trunk/Source/WTF/wtf/RunLoop.h
r159000 r159001 45 45 #endif 46 46 47 namespace W ebCore{47 namespace WTF { 48 48 49 49 class RunLoop : public FunctionDispatcher { … … 51 51 // Must be called from the main thread (except for the Mac platform, where it 52 52 // can be called from any thread). 53 static void initializeMainRunLoop();53 WTF_EXPORT_PRIVATE static void initializeMainRunLoop(); 54 54 55 static RunLoop* current();56 static RunLoop* main();57 static bool isMain();55 WTF_EXPORT_PRIVATE static RunLoop* current(); 56 WTF_EXPORT_PRIVATE static RunLoop* main(); 57 WTF_EXPORT_PRIVATE static bool isMain(); 58 58 ~RunLoop(); 59 59 60 60 virtual void dispatch(std::function<void ()>) OVERRIDE; 61 61 62 static void run();63 void stop();64 void wakeUp();62 WTF_EXPORT_PRIVATE static void run(); 63 WTF_EXPORT_PRIVATE void stop(); 64 WTF_EXPORT_PRIVATE void wakeUp(); 65 65 66 66 #if PLATFORM(MAC) 67 void runForDuration(double duration);67 WTF_EXPORT_PRIVATE void runForDuration(double duration); 68 68 #endif 69 69 … … 71 71 friend class RunLoop; 72 72 public: 73 explicit TimerBase(RunLoop*);74 virtual ~TimerBase();73 WTF_EXPORT_PRIVATE explicit TimerBase(RunLoop*); 74 WTF_EXPORT_PRIVATE virtual ~TimerBase(); 75 75 76 76 void startRepeating(double repeatInterval) { start(repeatInterval, true); } 77 77 void startOneShot(double interval) { start(interval, false); } 78 78 79 void stop();80 bool isActive() const;79 WTF_EXPORT_PRIVATE void stop(); 80 WTF_EXPORT_PRIVATE bool isActive() const; 81 81 82 82 virtual void fired() = 0; 83 83 84 84 private: 85 void start(double nextFireInterval, bool repeat);85 WTF_EXPORT_PRIVATE void start(double nextFireInterval, bool repeat); 86 86 87 87 RunLoop* m_runLoop; … … 158 158 bool m_wakeUpEventRequested; 159 159 160 static void wakeUpEvent(void* data, void*, unsigned int);160 static void wakeUpEvent(void* data, void*, unsigned); 161 161 #elif USE(GLIB) 162 162 public: … … 171 171 }; 172 172 173 } // namespace WebCore 173 } // namespace WTF 174 175 using WTF::RunLoop; 174 176 175 177 #endif // RunLoop_h -
trunk/Source/WTF/wtf/blackberry/RunLoopBlackBerry.cpp
r159000 r159001 29 29 #include "NotImplemented.h" 30 30 31 namespace W ebCore{31 namespace WTF { 32 32 33 33 RunLoop::RunLoop() … … 46 46 } 47 47 48 } // namespace W ebCore48 } // namespace WTF -
trunk/Source/WTF/wtf/cf/RunLoopCF.cpp
r159000 r159001 31 31 #include <wtf/AutodrainedPool.h> 32 32 33 namespace W ebCore{33 namespace WTF { 34 34 35 35 void RunLoop::performWork(void* context) … … 127 127 } 128 128 129 } // namespace W ebCore129 } // namespace WTF -
trunk/Source/WTF/wtf/efl/RunLoopEfl.cpp
r159000 r159001 35 35 static const char wakupEcorePipeMessage[] = "W"; 36 36 37 namespace W ebCore{37 namespace WTF { 38 38 39 39 RunLoop::RunLoop() … … 59 59 } 60 60 61 void RunLoop::wakeUpEvent(void* data, void*, unsigned int)61 void RunLoop::wakeUpEvent(void* data, void*, unsigned) 62 62 { 63 63 RunLoop* loop = static_cast<RunLoop*>(data); … … 132 132 } 133 133 134 } // namespace W ebCore134 } // namespace WTF -
trunk/Source/WTF/wtf/gtk/RunLoopGtk.cpp
r159000 r159001 28 28 #include "RunLoop.h" 29 29 30 #include <gdk/gdk.h>31 30 #include <glib.h> 32 33 31 #include <wtf/MainThread.h> 34 32 35 namespace W ebCore{33 namespace WTF { 36 34 37 35 RunLoop::RunLoop() … … 169 167 } 170 168 171 } // namespace W ebCore169 } // namespace WTF -
trunk/Source/WTF/wtf/win/RunLoopWin.cpp
r159000 r159001 32 32 using namespace std; 33 33 34 namespace W ebCore{34 namespace WTF { 35 35 36 36 static const UINT PerformWorkMessage = WM_USER + 1; … … 100 100 101 101 m_runLoopMessageWindow = ::CreateWindow(kRunLoopMessageWindowClassName, 0, 0, 102 CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, 103 HWND_MESSAGE, 0, 0, this); 102 CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, HWND_MESSAGE, 0, 0, this); 104 103 ASSERT(::IsWindow(m_runLoopMessageWindow)); 105 104 } … … 177 176 } 178 177 179 } // namespace W ebCore178 } // namespace WTF -
trunk/Source/WebCore/CMakeLists.txt
r158997 r159001 1784 1784 platform/PlatformEvent.cpp 1785 1785 platform/PlatformStrategies.cpp 1786 platform/RunLoop.cpp1787 1786 platform/RuntimeApplicationChecks.cpp 1788 1787 platform/SchemeRegistry.cpp -
trunk/Source/WebCore/ChangeLog
r159000 r159001 1 2013-11-09 Patrick Gansterer <paroga@webkit.org> 2 3 Move RunLoop from WebCore to WTF 4 https://bugs.webkit.org/show_bug.cgi?id=116606 5 6 Reviewed by Anders Carlsson. 7 8 * CMakeLists.txt: 9 * GNUmakefile.list.am: 10 * PlatformBlackBerry.cmake: 11 * PlatformEfl.cmake: 12 * PlatformGTK.cmake: 13 * PlatformWin.cmake: 14 * WebCore.exp.in: 15 * WebCore.vcxproj/WebCore.vcxproj: 16 * WebCore.xcodeproj/project.pbxproj: 17 * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h: 18 * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h: 19 1 20 2013-11-09 Andreas Kling <akling@apple.com> 2 21 -
trunk/Source/WebCore/GNUmakefile.list.am
r158997 r159001 6028 6028 Source/WebCore/platform/ReferrerPolicy.h \ 6029 6029 Source/WebCore/platform/RefCountedSupplement.h \ 6030 Source/WebCore/platform/RunLoop.cpp \6031 Source/WebCore/platform/RunLoop.h \6032 6030 Source/WebCore/platform/RuntimeApplicationChecks.cpp \ 6033 6031 Source/WebCore/platform/RuntimeApplicationChecks.h \ … … 6183 6181 Source/WebCore/platform/gtk/PlatformScreenGtk.cpp \ 6184 6182 Source/WebCore/platform/gtk/PlatformWheelEventGtk.cpp \ 6185 Source/WebCore/platform/gtk/RunLoopGtk.cpp \6186 6183 Source/WebCore/platform/gtk/SearchPopupMenuGtk.cpp \ 6187 6184 Source/WebCore/platform/gtk/SearchPopupMenuGtk.h \ -
trunk/Source/WebCore/PlatformBlackBerry.cmake
r156692 r159001 121 121 platform/blackberry/PopupMenuBlackBerry.cpp 122 122 platform/blackberry/RenderThemeBlackBerry.cpp 123 platform/blackberry/RunLoopBlackBerry.cpp124 123 platform/blackberry/SSLKeyGeneratorBlackBerry.cpp 125 124 platform/blackberry/ScrollbarThemeBlackBerry.cpp -
trunk/Source/WebCore/PlatformEfl.cmake
r158848 r159001 84 84 platform/efl/PlatformWheelEventEfl.cpp 85 85 platform/efl/RenderThemeEfl.cpp 86 platform/efl/RunLoopEfl.cpp87 86 platform/efl/ScrollbarEfl.cpp 88 87 platform/efl/ScrollbarThemeEfl.cpp -
trunk/Source/WebCore/PlatformGTK.cmake
r158848 r159001 165 165 platform/gtk/RenderThemeGtk2.cpp 166 166 platform/gtk/RenderThemeGtk3.cpp 167 platform/gtk/RunLoopGtk.cpp168 167 platform/gtk/ScrollViewGtk.cpp 169 168 platform/gtk/ScrollbarThemeGtk.cpp -
trunk/Source/WebCore/PlatformWin.cmake
r158502 r159001 53 53 platform/win/PlatformScreenWin.cpp 54 54 platform/win/PopupMenuWin.cpp 55 platform/win/RunLoopWin.cpp56 55 platform/win/SSLKeyGeneratorWin.cpp 57 56 platform/win/ScrollbarThemeWin.cpp -
trunk/Source/WebCore/WebCore.exp.in
r158982 r159001 1111 1111 __ZN7WebCore7IntRectC1ERKNS_9FloatRectE 1112 1112 __ZN7WebCore7IntSizeC1ERK6CGSize 1113 __ZN7WebCore7RunLoop14runForDurationEd1114 __ZN7WebCore7RunLoop21initializeMainRunLoopEv1115 __ZN7WebCore7RunLoop3runEv1116 __ZN7WebCore7RunLoop4mainEv1117 __ZN7WebCore7RunLoop4stopEv1118 __ZN7WebCore7RunLoop6isMainEv1119 __ZN7WebCore7RunLoop6wakeUpEv1120 __ZN7WebCore7RunLoop7currentEv1121 __ZN7WebCore7RunLoop9TimerBase4stopEv1122 __ZN7WebCore7RunLoop9TimerBase5startEdb1123 __ZN7WebCore7RunLoop9TimerBaseC2EPS0_1124 __ZN7WebCore7RunLoop9TimerBaseD2Ev1125 1113 __ZN7WebCore7TextRun19allowsRoundingHacksEv 1126 1114 __ZN7WebCore7TextRun21s_allowsRoundingHacksE … … 1747 1735 __ZNK7WebCore7IntRect8containsERKS0_ 1748 1736 __ZNK7WebCore7IntRectcv6CGRectEv 1749 __ZNK7WebCore7RunLoop9TimerBase8isActiveEv1750 1737 __ZNK7WebCore8Document11completeURLERKN3WTF6StringE 1751 1738 __ZNK7WebCore8Document13axObjectCacheEv -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
r158997 r159001 7295 7295 <ClCompile Include="..\platform\PlatformEvent.cpp" /> 7296 7296 <ClCompile Include="..\platform\PlatformStrategies.cpp" /> 7297 <ClCompile Include="..\platform\RunLoop.cpp" />7298 7297 <ClCompile Include="..\platform\RuntimeApplicationChecks.cpp" /> 7299 7298 <ClCompile Include="..\platform\SchemeRegistry.cpp" /> … … 7354 7353 <ClCompile Include="..\platform\win\PlatformScreenWin.cpp" /> 7355 7354 <ClCompile Include="..\platform\win\PopupMenuWin.cpp" /> 7356 <ClCompile Include="..\platform\win\RunLoopWin.cpp" />7357 7355 <ClCompile Include="..\platform\win\ScrollbarThemeSafari.cpp" /> 7358 7356 <ClCompile Include="..\platform\win\ScrollbarThemeWin.cpp" /> … … 18900 18898 <ClInclude Include="..\platform\PurgeableBuffer.h" /> 18901 18899 <ClInclude Include="..\platform\ReferrerPolicy.h" /> 18902 <ClInclude Include="..\platform\RunLoop.h" />18903 18900 <ClInclude Include="..\platform\RuntimeApplicationChecks.h" /> 18904 18901 <ClInclude Include="..\platform\SchemeRegistry.h" /> -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r158997 r159001 923 923 297BE3D816C03CCE003316BD /* PlatformSpeechSynthesizerMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 29E4D8E016B0959800C84704 /* PlatformSpeechSynthesizerMac.mm */; }; 924 924 297BE3DA16C043D8003316BD /* PlatformSpeechSynthesizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 297BE3D916C043D8003316BD /* PlatformSpeechSynthesizer.cpp */; }; 925 29A309AC1561C99B00BBD8E5 /* RunLoopCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 29A309AB1561C99B00BBD8E5 /* RunLoopCF.cpp */; };926 925 29A8122B0FBB9C1D00510293 /* AccessibilityTable.h in Headers */ = {isa = PBXBuildFile; fileRef = 29A8120D0FBB9C1D00510293 /* AccessibilityTable.h */; }; 927 926 29A8122C0FBB9C1D00510293 /* AccessibilityList.h in Headers */ = {isa = PBXBuildFile; fileRef = 29A8120E0FBB9C1D00510293 /* AccessibilityList.h */; }; … … 4725 4724 BC06EE050BFD71AA00856E9D /* JSHTMLTableElement.h in Headers */ = {isa = PBXBuildFile; fileRef = BC06EE030BFD71AA00856E9D /* JSHTMLTableElement.h */; }; 4726 4725 BC073BAA0C399B1F000F5979 /* FloatConversion.h in Headers */ = {isa = PBXBuildFile; fileRef = BC073BA90C399B1F000F5979 /* FloatConversion.h */; }; 4727 BC0B358714C4F9830055E22A /* RunLoop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC0B358514C4F9830055E22A /* RunLoop.cpp */; };4728 BC0B358814C4F9830055E22A /* RunLoop.h in Headers */ = {isa = PBXBuildFile; fileRef = BC0B358614C4F9830055E22A /* RunLoop.h */; settings = {ATTRIBUTES = (Private, ); }; };4729 4726 BC0B36A40CD3C67C00AC7EB5 /* Console.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC0B36A10CD3C67C00AC7EB5 /* Console.cpp */; }; 4730 4727 BC0B36A50CD3C67C00AC7EB5 /* Console.h in Headers */ = {isa = PBXBuildFile; fileRef = BC0B36A20CD3C67C00AC7EB5 /* Console.h */; settings = {ATTRIBUTES = (Private, ); }; }; … … 7523 7520 2985709215CC532D006355CD /* AccessibilityNodeObject.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilityNodeObject.cpp; sourceTree = "<group>"; }; 7524 7521 2985709315CC532D006355CD /* AccessibilityNodeObject.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccessibilityNodeObject.h; sourceTree = "<group>"; }; 7525 29A309AB1561C99B00BBD8E5 /* RunLoopCF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RunLoopCF.cpp; sourceTree = "<group>"; };7526 7522 29A8120D0FBB9C1D00510293 /* AccessibilityTable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityTable.h; sourceTree = "<group>"; }; 7527 7523 29A8120E0FBB9C1D00510293 /* AccessibilityList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityList.h; sourceTree = "<group>"; }; … … 11692 11688 BC06F24D06D18A7E004A6FA3 /* XSLTProcessorLibxslt.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XSLTProcessorLibxslt.cpp; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; }; 11693 11689 BC073BA90C399B1F000F5979 /* FloatConversion.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FloatConversion.h; sourceTree = "<group>"; }; 11694 BC0B358514C4F9830055E22A /* RunLoop.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RunLoop.cpp; sourceTree = "<group>"; };11695 BC0B358614C4F9830055E22A /* RunLoop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RunLoop.h; sourceTree = "<group>"; };11696 11690 BC0B36A10CD3C67C00AC7EB5 /* Console.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Console.cpp; sourceTree = "<group>"; }; 11697 11691 BC0B36A20CD3C67C00AC7EB5 /* Console.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Console.h; sourceTree = "<group>"; }; … … 14199 14193 5160306B0CC4362300C8AC25 /* FileSystemCF.cpp */, 14200 14194 1A98956A0AA78F80005EF5EF /* URLCF.cpp */, 14201 29A309AB1561C99B00BBD8E5 /* RunLoopCF.cpp */,14202 14195 512DD8E20D91E2B4000F89EE /* SharedBufferCF.cpp */, 14203 14196 ); … … 20101 20094 A72EA3BA1585CF55004FAA26 /* RefCountedSupplement.h */, 20102 20095 9831AE49154225A200FE2644 /* ReferrerPolicy.h */, 20103 BC0B358514C4F9830055E22A /* RunLoop.cpp */,20104 BC0B358614C4F9830055E22A /* RunLoop.h */,20105 20096 293EAE201356B32E0067ACF9 /* RuntimeApplicationChecks.cpp */, 20106 20097 293EAE1E1356B2FE0067ACF9 /* RuntimeApplicationChecks.h */, … … 24274 24265 A79BADA2161E7F3F00C2E652 /* RuleFeature.h in Headers */, 24275 24266 A79BADA4161E7F3F00C2E652 /* RuleSet.h in Headers */, 24276 BC0B358814C4F9830055E22A /* RunLoop.h in Headers */,24277 24267 1A569D1F0D7E2B82007C3983 /* runtime_array.h in Headers */, 24278 24268 1A569D210D7E2B82007C3983 /* runtime_method.h in Headers */, … … 27493 27483 A79BADA3161E7F3F00C2E652 /* RuleSet.cpp in Sources */, 27494 27484 078E090217D14CEE00420AA1 /* MediaStreamTrack.cpp in Sources */, 27495 BC0B358714C4F9830055E22A /* RunLoop.cpp in Sources */,27496 29A309AC1561C99B00BBD8E5 /* RunLoopCF.cpp in Sources */,27497 27485 7C2BDD3D17C7F98C0038FF15 /* JSDOMGlobalObjectTask.cpp in Sources */, 27498 27486 1A569D1E0D7E2B82007C3983 /* runtime_array.cpp in Sources */, -
trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h
r157248 r159001 31 31 #include "Image.h" 32 32 #include "IntSize.h" 33 #include "RunLoop.h"34 33 #include "TiledBackingStore.h" 35 34 #include "TiledBackingStoreClient.h" -
trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h
r157248 r159001 31 31 #include "IntRect.h" 32 32 #include "IntSize.h" 33 #include "RunLoop.h"34 33 #include "TextureMapper.h" 35 34 #include "TextureMapperBackingStore.h" -
trunk/Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm
r105552 r159001 74 74 75 75 #import <WebCore/WebCoreObjCExtras.h> 76 #import <WebCore/RunLoop.h>77 76 #import <runtime/InitializeThreading.h> 78 77 #import <wtf/MainThread.h> 78 #import <wtf/RunLoop.h> 79 79 80 80 #import "WebKitLogging.h" … … 273 273 JSC::initializeThreading(); 274 274 WTF::initializeMainThreadToProcessMainThread(); 275 WebCore::RunLoop::initializeMainRunLoop();275 RunLoop::initializeMainRunLoop(); 276 276 WebCoreObjCFinalizeOnMainThread(self); 277 277 } -
trunk/Source/WebKit/mac/ChangeLog
r158937 r159001 1 2013-11-09 Patrick Gansterer <paroga@webkit.org> 2 3 Move RunLoop from WebCore to WTF 4 https://bugs.webkit.org/show_bug.cgi?id=116606 5 6 Reviewed by Anders Carlsson. 7 8 * Carbon/CarbonWindowAdapter.mm: 9 (+[CarbonWindowAdapter initialize]): 10 * History/WebBackForwardList.mm: 11 (+[WebBackForwardList initialize]): 12 * History/WebHistoryItem.mm: 13 (+[WebHistoryItem initialize]): 14 * Misc/WebCache.mm: 15 (+[WebCache initialize]): 16 * Misc/WebElementDictionary.mm: 17 (+[WebElementDictionary initialize]): 18 * Misc/WebIconDatabase.mm: 19 (+[WebIconDatabase initialize]): 20 * Plugins/Hosted/WebHostedNetscapePluginView.mm: 21 (+[WebHostedNetscapePluginView initialize]): 22 * Plugins/WebBaseNetscapePluginView.mm: 23 * Plugins/WebBasePluginPackage.mm: 24 * Plugins/WebNetscapePluginView.mm: 25 (+[WebNetscapePluginView initialize]): 26 * WebCoreSupport/WebEditorClient.mm: 27 (+[WebUndoStep initialize]): 28 * WebCoreSupport/WebFrameLoaderClient.mm: 29 * WebView/WebArchive.mm: 30 (+[WebArchivePrivate initialize]): 31 * WebView/WebDataSource.mm: 32 (+[WebDataSource initialize]): 33 * WebView/WebHTMLView.mm: 34 (+[WebHTMLViewPrivate initialize]): 35 (+[WebHTMLView initialize]): 36 * WebView/WebPreferences.mm: 37 (+[WebPreferences initialize]): 38 * WebView/WebResource.mm: 39 (+[WebResourcePrivate initialize]): 40 * WebView/WebTextIterator.mm: 41 (+[WebTextIteratorPrivate initialize]): 42 * WebView/WebView.mm: 43 (+[WebView initialize]): 44 * WebView/WebViewData.mm: 45 (+[WebViewPrivate initialize]): 46 1 47 2013-11-08 Mark Lam <mark.lam@apple.com> 2 48 -
trunk/Source/WebKit/mac/History/WebBackForwardList.mm
r155512 r159001 43 43 #import <WebCore/Page.h> 44 44 #import <WebCore/PageCache.h> 45 #import <WebCore/RunLoop.h>46 45 #import <WebCore/Settings.h> 47 46 #import <WebCore/ThreadCheck.h> … … 51 50 #import <wtf/MainThread.h> 52 51 #import <wtf/RetainPtr.h> 52 #import <wtf/RunLoop.h> 53 53 #import <wtf/StdLibExtras.h> 54 54 … … 106 106 JSC::initializeThreading(); 107 107 WTF::initializeMainThreadToProcessMainThread(); 108 WebCore::RunLoop::initializeMainRunLoop();108 RunLoop::initializeMainRunLoop(); 109 109 WebCoreObjCFinalizeOnMainThread(self); 110 110 } -
trunk/Source/WebKit/mac/History/WebHistoryItem.mm
r157653 r159001 48 48 #import <WebCore/URL.h> 49 49 #import <WebCore/PageCache.h> 50 #import <WebCore/RunLoop.h>51 50 #import <WebCore/ThreadCheck.h> 52 51 #import <WebCore/WebCoreObjCExtras.h> … … 54 53 #import <wtf/Assertions.h> 55 54 #import <wtf/MainThread.h> 55 #import <wtf/RunLoop.h> 56 56 #import <wtf/StdLibExtras.h> 57 57 #import <wtf/text/WTFString.h> … … 98 98 JSC::initializeThreading(); 99 99 WTF::initializeMainThreadToProcessMainThread(); 100 WebCore::RunLoop::initializeMainRunLoop();100 RunLoop::initializeMainRunLoop(); 101 101 WebCoreObjCFinalizeOnMainThread(self); 102 102 } -
trunk/Source/WebKit/mac/Misc/WebCache.mm
r156918 r159001 34 34 #import <WebCore/CrossOriginPreflightResultCache.h> 35 35 #import <WebCore/MemoryCache.h> 36 #import <WebCore/RunLoop.h>37 36 #import <runtime/InitializeThreading.h> 38 37 #import <wtf/MainThread.h> 38 #import <wtf/RunLoop.h> 39 39 40 40 @implementation WebCache … … 44 44 JSC::initializeThreading(); 45 45 WTF::initializeMainThreadToProcessMainThread(); 46 WebCore::RunLoop::initializeMainRunLoop();46 RunLoop::initializeMainRunLoop(); 47 47 InitWebCoreSystemInterface(); 48 48 } -
trunk/Source/WebKit/mac/Misc/WebElementDictionary.mm
r105552 r159001 40 40 #import <WebCore/HitTestResult.h> 41 41 #import <WebCore/Image.h> 42 #import <WebCore/RunLoop.h>43 42 #import <WebCore/WebCoreObjCExtras.h> 44 43 #import <WebKit/DOMCore.h> … … 46 45 #import <runtime/InitializeThreading.h> 47 46 #import <wtf/MainThread.h> 47 #import <wtf/RunLoop.h> 48 48 49 49 using namespace WebCore; … … 68 68 JSC::initializeThreading(); 69 69 WTF::initializeMainThreadToProcessMainThread(); 70 WebCore::RunLoop::initializeMainRunLoop();70 RunLoop::initializeMainRunLoop(); 71 71 WebCoreObjCFinalizeOnMainThread(self); 72 72 } -
trunk/Source/WebKit/mac/Misc/WebIconDatabase.mm
r156878 r159001 40 40 #import <WebCore/Image.h> 41 41 #import <WebCore/IntSize.h> 42 #import <WebCore/RunLoop.h>43 42 #import <WebCore/SharedBuffer.h> 44 43 #import <WebCore/ThreadCheck.h> 45 44 #import <runtime/InitializeThreading.h> 46 45 #import <wtf/MainThread.h> 46 #import <wtf/RunLoop.h> 47 47 48 48 using namespace WebCore; … … 91 91 JSC::initializeThreading(); 92 92 WTF::initializeMainThreadToProcessMainThread(); 93 WebCore::RunLoop::initializeMainRunLoop();93 RunLoop::initializeMainRunLoop(); 94 94 } 95 95 -
trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm
r156921 r159001 47 47 #import <WebCore/ResourceError.h> 48 48 #import <WebCore/WebCoreObjCExtras.h> 49 #import <WebCore/RunLoop.h>50 49 #import <WebCore/runtime_root.h> 51 50 #import <runtime/InitializeThreading.h> … … 53 52 #import <wtf/MainThread.h> 54 53 #import <wtf/ObjcRuntimeExtras.h> 54 #import <wtf/RunLoop.h> 55 55 56 56 using namespace WebCore; … … 74 74 JSC::initializeThreading(); 75 75 WTF::initializeMainThreadToProcessMainThread(); 76 WebCore::RunLoop::initializeMainRunLoop();76 RunLoop::initializeMainRunLoop(); 77 77 WebCoreObjCFinalizeOnMainThread(self); 78 78 WKSendUserChangeNotifications(); -
trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm
r156921 r159001 56 56 #import <WebCore/RenderView.h> 57 57 #import <WebCore/RenderWidget.h> 58 #import <WebCore/RunLoop.h>59 58 #import <WebCore/SecurityOrigin.h> 60 59 #import <WebCore/WebCoreObjCExtras.h> … … 63 62 #import <wtf/Assertions.h> 64 63 #import <wtf/MainThread.h> 64 #import <wtf/RunLoop.h> 65 65 #import <wtf/text/CString.h> 66 66 … … 76 76 JSC::initializeThreading(); 77 77 WTF::initializeMainThreadToProcessMainThread(); 78 WebCore::RunLoop::initializeMainRunLoop();78 RunLoop::initializeMainRunLoop(); 79 79 WebCoreObjCFinalizeOnMainThread(self); 80 80 WKSendUserChangeNotifications(); -
trunk/Source/WebKit/mac/Plugins/WebBasePluginPackage.mm
r154963 r159001 30 30 31 31 #import <algorithm> 32 #import <WebCore/RunLoop.h>33 32 #import <WebCore/WebCoreObjCExtras.h> 34 33 #import <WebKit/WebKitNSStringExtras.h> … … 39 38 #import <wtf/MainThread.h> 40 39 #import <wtf/ObjcRuntimeExtras.h> 40 #import <wtf/RunLoop.h> 41 41 #import <wtf/Vector.h> 42 42 #import <wtf/text/CString.h> … … 69 69 JSC::initializeThreading(); 70 70 WTF::initializeMainThreadToProcessMainThread(); 71 WebCore::RunLoop::initializeMainRunLoop();71 RunLoop::initializeMainRunLoop(); 72 72 WebCoreObjCFinalizeOnMainThread(self); 73 73 } -
trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.mm
r157653 r159001 68 68 #import <WebCore/PluginMainThreadScheduler.h> 69 69 #import <WebCore/ProxyServer.h> 70 #import <WebCore/RunLoop.h>71 70 #import <WebCore/ScriptController.h> 72 71 #import <WebCore/SecurityOrigin.h> … … 83 82 #import <wtf/Assertions.h> 84 83 #import <wtf/MainThread.h> 84 #import <wtf/RunLoop.h> 85 85 #import <wtf/text/CString.h> 86 86 … … 195 195 JSC::initializeThreading(); 196 196 WTF::initializeMainThreadToProcessMainThread(); 197 WebCore::RunLoop::initializeMainRunLoop();197 RunLoop::initializeMainRunLoop(); 198 198 WebCoreObjCFinalizeOnMainThread(self); 199 199 WKSendUserChangeNotifications(); -
trunk/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm
r157653 r159001 62 62 #import <WebCore/Page.h> 63 63 #import <WebCore/PlatformKeyboardEvent.h> 64 #import <WebCore/RunLoop.h>65 64 #import <WebCore/Settings.h> 66 65 #import <WebCore/SpellChecker.h> … … 72 71 #import <wtf/MainThread.h> 73 72 #import <wtf/PassRefPtr.h> 73 #import <wtf/RunLoop.h> 74 74 #import <wtf/text/WTFString.h> 75 75 … … 108 108 JSC::initializeThreading(); 109 109 WTF::initializeMainThreadToProcessMainThread(); 110 WebCore::RunLoop::initializeMainRunLoop();110 RunLoop::initializeMainRunLoop(); 111 111 WebCoreObjCFinalizeOnMainThread(self); 112 112 } -
trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm
r158050 r159001 116 116 #import <WebCore/ResourceLoader.h> 117 117 #import <WebCore/ResourceRequest.h> 118 #import <WebCore/RunLoop.h>119 118 #import <WebCore/ScriptController.h> 120 119 #import <WebCore/SharedBuffer.h> … … 128 127 #import <wtf/MainThread.h> 129 128 #import <wtf/PassRefPtr.h> 129 #import <wtf/RunLoop.h> 130 130 #import <wtf/text/WTFString.h> 131 131 … … 2010 2010 JSC::initializeThreading(); 2011 2011 WTF::initializeMainThreadToProcessMainThread(); 2012 WebCore::RunLoop::initializeMainRunLoop();2012 RunLoop::initializeMainRunLoop(); 2013 2013 WebCoreObjCFinalizeOnMainThread(self); 2014 2014 } -
trunk/Source/WebKit/mac/WebView/WebArchive.mm
r157653 r159001 37 37 #import <WebCore/ArchiveResource.h> 38 38 #import <WebCore/LegacyWebArchive.h> 39 #import <WebCore/RunLoop.h>40 39 #import <WebCore/ThreadCheck.h> 41 40 #import <WebCore/WebCoreObjCExtras.h> 42 41 #import <wtf/MainThread.h> 42 #import <wtf/RunLoop.h> 43 43 44 44 using namespace WebCore; … … 70 70 JSC::initializeThreading(); 71 71 WTF::initializeMainThreadToProcessMainThread(); 72 WebCore::RunLoop::initializeMainRunLoop();72 RunLoop::initializeMainRunLoop(); 73 73 WebCoreObjCFinalizeOnMainThread(self); 74 74 } -
trunk/Source/WebKit/mac/WebView/WebDataSource.mm
r157753 r159001 55 55 #import <WebCore/ResourceBuffer.h> 56 56 #import <WebCore/ResourceRequest.h> 57 #import <WebCore/RunLoop.h>58 57 #import <WebCore/SharedBuffer.h> 59 58 #import <WebCore/WebCoreObjCExtras.h> … … 66 65 #import <wtf/RefPtr.h> 67 66 #import <wtf/RetainPtr.h> 67 #import <wtf/RunLoop.h> 68 68 69 69 using namespace WebCore; … … 146 146 JSC::initializeThreading(); 147 147 WTF::initializeMainThreadToProcessMainThread(); 148 WebCore::RunLoop::initializeMainRunLoop();148 RunLoop::initializeMainRunLoop(); 149 149 WebCoreObjCFinalizeOnMainThread(self); 150 150 } -
trunk/Source/WebKit/mac/WebView/WebHTMLView.mm
r158330 r159001 112 112 #import <WebCore/RenderWidget.h> 113 113 #import <WebCore/ResourceBuffer.h> 114 #import <WebCore/RunLoop.h>115 114 #import <WebCore/RuntimeApplicationChecks.h> 116 115 #import <WebCore/SharedBuffer.h> … … 132 131 #import <wtf/MainThread.h> 133 132 #import <wtf/ObjcRuntimeExtras.h> 133 #import <wtf/RunLoop.h> 134 134 135 135 #if USE(ACCELERATED_COMPOSITING) … … 565 565 JSC::initializeThreading(); 566 566 WTF::initializeMainThreadToProcessMainThread(); 567 WebCore::RunLoop::initializeMainRunLoop();567 RunLoop::initializeMainRunLoop(); 568 568 WebCoreObjCFinalizeOnMainThread(self); 569 569 … … 2274 2274 JSC::initializeThreading(); 2275 2275 WTF::initializeMainThreadToProcessMainThread(); 2276 WebCore::RunLoop::initializeMainRunLoop();2276 RunLoop::initializeMainRunLoop(); 2277 2277 WebCoreObjCFinalizeOnMainThread(self); 2278 2278 } -
trunk/Source/WebKit/mac/WebView/WebPreferences.mm
r158599 r159001 44 44 #import <WebCore/NetworkStorageSession.h> 45 45 #import <WebCore/ResourceHandle.h> 46 #import <WebCore/RunLoop.h>47 46 #import <runtime/InitializeThreading.h> 48 47 #import <wtf/MainThread.h> 49 48 #import <wtf/RetainPtr.h> 49 #import <wtf/RunLoop.h> 50 50 51 51 using namespace WebCore; … … 307 307 JSC::initializeThreading(); 308 308 WTF::initializeMainThreadToProcessMainThread(); 309 WebCore::RunLoop::initializeMainRunLoop();309 RunLoop::initializeMainRunLoop(); 310 310 311 311 NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys: -
trunk/Source/WebKit/mac/WebView/WebResource.mm
r155641 r159001 39 39 #import <WebCore/ArchiveResource.h> 40 40 #import <WebCore/LegacyWebArchive.h> 41 #import <WebCore/RunLoop.h>42 41 #import <WebCore/RuntimeApplicationChecks.h> 43 42 #import <WebCore/TextEncoding.h> … … 46 45 #import <WebCore/WebCoreURLResponse.h> 47 46 #import <wtf/MainThread.h> 47 #import <wtf/RunLoop.h> 48 48 49 49 using namespace WebCore; … … 69 69 JSC::initializeThreading(); 70 70 WTF::initializeMainThreadToProcessMainThread(); 71 WebCore::RunLoop::initializeMainRunLoop();71 RunLoop::initializeMainRunLoop(); 72 72 WebCoreObjCFinalizeOnMainThread(self); 73 73 } -
trunk/Source/WebKit/mac/WebView/WebTextIterator.mm
r110033 r159001 29 29 #import "DOMRangeInternal.h" 30 30 #import "WebTypesInternal.h" 31 #import <wtf/Vector.h>32 #import <WebCore/RunLoop.h>33 31 #import <WebCore/TextIterator.h> 34 32 #import <WebCore/WebCoreObjCExtras.h> 35 33 #import <runtime/InitializeThreading.h> 36 34 #import <wtf/MainThread.h> 35 #import <wtf/RunLoop.h> 36 #import <wtf/Vector.h> 37 37 38 38 using namespace JSC; … … 51 51 JSC::initializeThreading(); 52 52 WTF::initializeMainThreadToProcessMainThread(); 53 WebCore::RunLoop::initializeMainRunLoop();53 RunLoop::initializeMainRunLoop(); 54 54 WebCoreObjCFinalizeOnMainThread(self); 55 55 } -
trunk/Source/WebKit/mac/WebView/WebView.mm
r158652 r159001 166 166 #import <WebCore/ResourceLoadScheduler.h> 167 167 #import <WebCore/ResourceRequest.h> 168 #import <WebCore/RunLoop.h>169 168 #import <WebCore/RuntimeApplicationChecks.h> 170 169 #import <WebCore/RuntimeEnabledFeatures.h> … … 201 200 #import <wtf/RefCountedLeakCounter.h> 202 201 #import <wtf/RefPtr.h> 202 #import <wtf/RunLoop.h> 203 203 #import <wtf/StdLibExtras.h> 204 204 … … 3362 3362 JSC::initializeThreading(); 3363 3363 WTF::initializeMainThreadToProcessMainThread(); 3364 WebCore::RunLoop::initializeMainRunLoop();3364 RunLoop::initializeMainRunLoop(); 3365 3365 3366 3366 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_applicationWillTerminate) name:NSApplicationWillTerminateNotification object:NSApp]; -
trunk/Source/WebKit/mac/WebView/WebViewData.mm
r158137 r159001 35 35 #import <WebCore/WebCoreObjCExtras.h> 36 36 #import <WebCore/HistoryItem.h> 37 #import <WebCore/RunLoop.h>38 37 #import <objc/objc-auto.h> 39 38 #import <runtime/InitializeThreading.h> 40 39 #import <wtf/MainThread.h> 40 #import <wtf/RunLoop.h> 41 41 42 42 BOOL applicationIsTerminating = NO; … … 75 75 JSC::initializeThreading(); 76 76 WTF::initializeMainThreadToProcessMainThread(); 77 WebCore::RunLoop::initializeMainRunLoop();77 RunLoop::initializeMainRunLoop(); 78 78 WebCoreObjCFinalizeOnMainThread(self); 79 79 } -
trunk/Source/WebKit2/ChangeLog
r158992 r159001 1 2013-11-09 Patrick Gansterer <paroga@webkit.org> 2 3 Move RunLoop from WebCore to WTF 4 https://bugs.webkit.org/show_bug.cgi?id=116606 5 6 Reviewed by Anders Carlsson. 7 8 * DatabaseProcess/DatabaseProcess.cpp: 9 * DatabaseProcess/DatabaseToWebProcessConnection.cpp: 10 * NetworkProcess/NetworkConnectionToWebProcess.cpp: 11 * NetworkProcess/NetworkProcess.cpp: 12 * NetworkProcess/NetworkProcess.h: 13 * NetworkProcess/NetworkResourceLoader.h: 14 * NetworkProcess/mac/DiskCacheMonitor.h: 15 * NetworkProcess/unix/NetworkProcessMainUnix.cpp: 16 * Platform/CoreIPC/Connection.cpp: 17 * Platform/CoreIPC/Connection.h: 18 * Platform/CoreIPC/mac/ConnectionMac.cpp: 19 * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm: 20 * PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm: 21 * PluginProcess/PluginControllerProxy.h: 22 * PluginProcess/PluginProcess.cpp: 23 * PluginProcess/PluginProcess.h: 24 * PluginProcess/WebProcessConnection.cpp: 25 * PluginProcess/unix/PluginProcessMainUnix.cpp: 26 * Shared/ChildProcess.cpp: 27 * Shared/ChildProcess.h: 28 * Shared/ChildProcessProxy.cpp: 29 * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h: 30 * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm: 31 * Shared/Plugins/NPObjectProxy.cpp: 32 * Shared/WebKit2Initialize.cpp: 33 (WebKit::InitializeWebKit2): 34 * UIProcess/API/gtk/WebKitFaviconDatabase.cpp: 35 * UIProcess/API/mac/FindIndicatorWindow.h: 36 * UIProcess/API/mac/WKPrintingView.mm: 37 * UIProcess/API/mac/WKView.mm: 38 * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h: 39 * UIProcess/DrawingAreaProxyImpl.h: 40 * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp: 41 * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp: 42 * UIProcess/Launcher/mac/ProcessLauncherMac.mm: 43 * UIProcess/Network/NetworkProcessProxy.cpp: 44 * UIProcess/Plugins/PluginProcessProxy.cpp: 45 * UIProcess/ResponsivenessTimer.cpp: 46 * UIProcess/ResponsivenessTimer.h: 47 * UIProcess/VisitedLinkProvider.h: 48 * UIProcess/WebContext.cpp: 49 * UIProcess/WebProcessProxy.cpp: 50 * WebProcess/Databases/WebToDatabaseProcessConnection.cpp: 51 * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm: 52 * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm: 53 * WebProcess/Network/WebResourceLoadScheduler.h: 54 * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h: 55 * WebProcess/Plugins/Netscape/NetscapePlugin.h: 56 * WebProcess/Plugins/Netscape/NetscapePluginStream.h: 57 * WebProcess/Plugins/PluginView.h: 58 * WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h: 59 * WebProcess/WebPage/DrawingAreaImpl.h: 60 * WebProcess/WebPage/EventDispatcher.cpp: 61 * WebProcess/WebPage/PageOverlay.h: 62 * WebProcess/WebPage/WebPage.cpp: 63 * WebProcess/WebPage/WebPage.h: 64 * WebProcess/WebProcess.cpp: 65 * WebProcess/efl/WebProcessMainEfl.cpp: 66 * WebProcess/gtk/WebProcessMainGtk.cpp: 67 1 68 2013-11-08 Brady Eidson <beidson@apple.com> 2 69 -
trunk/Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp
r157524 r159001 31 31 32 32 #if ENABLE(DATABASE_PROCESS) 33 34 using namespace WebCore;35 33 36 34 namespace WebKit { -
trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.cpp
r157582 r159001 30 30 #include "DatabaseProcessIDBDatabaseBackendMessages.h" 31 31 #include "DatabaseToWebProcessConnectionMessages.h" 32 #include < WebCore/RunLoop.h>32 #include <wtf/RunLoop.h> 33 33 34 34 #if ENABLE(DATABASE_PROCESS) -
trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp
r156550 r159001 40 40 #include <WebCore/ResourceLoaderOptions.h> 41 41 #include <WebCore/ResourceRequest.h> 42 #include < WebCore/RunLoop.h>42 #include <wtf/RunLoop.h> 43 43 44 44 #if ENABLE(NETWORK_PROCESS) -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.cpp
r156354 r159001 45 45 #include <WebCore/Logging.h> 46 46 #include <WebCore/ResourceRequest.h> 47 #include < WebCore/RunLoop.h>47 #include <wtf/RunLoop.h> 48 48 #include <wtf/text/CString.h> 49 49 -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.h
r157842 r159001 35 35 #include "NetworkResourceLoadScheduler.h" 36 36 #include <wtf/Forward.h> 37 38 namespace WebCore {39 class RunLoop;40 }41 37 42 38 namespace WebKit { -
trunk/Source/WebKit2/NetworkProcess/NetworkResourceLoader.h
r156688 r159001 36 36 #include <WebCore/ResourceLoaderOptions.h> 37 37 #include <WebCore/ResourceRequest.h> 38 #include <WebCore/RunLoop.h>39 38 #include <wtf/MainThread.h> 39 #include <wtf/RunLoop.h> 40 40 41 41 typedef const struct _CFCachedURLResponse* CFCachedURLResponseRef; -
trunk/Source/WebKit2/NetworkProcess/mac/DiskCacheMonitor.h
r150669 r159001 29 29 #include "MessageSender.h" 30 30 #include <WebCore/ResourceRequest.h> 31 #include < WebCore/RunLoop.h>31 #include <wtf/RunLoop.h> 32 32 33 33 typedef const struct _CFCachedURLResponse* CFCachedURLResponseRef; -
trunk/Source/WebKit2/NetworkProcess/unix/NetworkProcessMainUnix.cpp
r157406 r159001 33 33 #include "WKBase.h" 34 34 #include "WebKit2Initialize.h" 35 #include <WebCore/RunLoop.h>36 35 #include <WebKit2/NetworkProcess.h> 37 36 #include <error.h> … … 39 38 #include <stdlib.h> 40 39 #include <wtf/MainThread.h> 40 #include <wtf/RunLoop.h> 41 41 #include <wtf/gobject/GRefPtr.h> 42 42 -
trunk/Source/WebKit2/Platform/CoreIPC/Connection.cpp
r156360 r159001 27 27 #include "Connection.h" 28 28 29 #include <WebCore/RunLoop.h>30 29 #include <wtf/CurrentTime.h> 31 30 #include <wtf/HashSet.h> 31 #include <wtf/RunLoop.h> 32 32 #include <wtf/text/WTFString.h> 33 33 #include <wtf/threads/BinarySemaphore.h> 34 35 using namespace WebCore;36 34 37 35 namespace CoreIPC { -
trunk/Source/WebKit2/Platform/CoreIPC/Connection.h
r157894 r159001 50 50 #endif 51 51 52 namespace W ebCore{52 namespace WTF { 53 53 class RunLoop; 54 54 } … … 118 118 #endif 119 119 120 static PassRefPtr<Connection> createServerConnection(Identifier, Client*, W ebCore::RunLoop* clientRunLoop);121 static PassRefPtr<Connection> createClientConnection(Identifier, Client*, W ebCore::RunLoop* clientRunLoop);120 static PassRefPtr<Connection> createServerConnection(Identifier, Client*, WTF::RunLoop* clientRunLoop); 121 static PassRefPtr<Connection> createClientConnection(Identifier, Client*, WTF::RunLoop* clientRunLoop); 122 122 ~Connection(); 123 123 … … 168 168 169 169 private: 170 Connection(Identifier, bool isServer, Client*, W ebCore::RunLoop* clientRunLoop);170 Connection(Identifier, bool isServer, Client*, WTF::RunLoop* clientRunLoop); 171 171 void platformInitialize(Identifier); 172 172 void platformInvalidate(); … … 214 214 bool m_isConnected; 215 215 RefPtr<WorkQueue> m_connectionQueue; 216 W ebCore::RunLoop* m_clientRunLoop;216 WTF::RunLoop* m_clientRunLoop; 217 217 218 218 HashMap<StringReference, std::pair<RefPtr<WorkQueue>, RefPtr<WorkQueueMessageReceiver>>> m_workQueueMessageReceivers; -
trunk/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp
r158890 r159001 31 31 #include "MachPort.h" 32 32 #include "MachUtilities.h" 33 #include <WebCore/RunLoop.h>34 33 #include <mach/mach_error.h> 35 34 #include <mach/vm_map.h> 35 #include <wtf/RunLoop.h> 36 36 #include <xpc/xpc.h> 37 38 using namespace WebCore;39 37 40 38 namespace CoreIPC { -
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm
r157137 r159001 33 33 #import "PluginProcess.h" 34 34 #import "WKBase.h" 35 #import < WebCore/RunLoop.h>35 #import <wtf/RunLoop.h> 36 36 37 37 #if USE(APPKIT) -
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm
r157894 r159001 30 30 #import "WKBase.h" 31 31 #import "XPCServiceEntryPoint.h" 32 #import < WebCore/RunLoop.h>32 #import <wtf/RunLoop.h> 33 33 34 34 namespace WebKit { … … 60 60 } // namespace WebKit 61 61 62 using namespace WebCore;63 62 using namespace WebKit; 64 63 -
trunk/Source/WebKit2/PluginProcess/PluginControllerProxy.h
r156688 r159001 35 35 #include "ShareableBitmap.h" 36 36 #include "WebProcessConnectionMessages.h" 37 #include <WebCore/RunLoop.h>38 37 #include <WebCore/SecurityOrigin.h> 39 38 #include <wtf/Noncopyable.h> 39 #include <wtf/RunLoop.h> 40 40 41 41 namespace CoreIPC { … … 184 184 185 185 // The paint timer, used for coalescing painting. 186 WebCore::RunLoop::Timer<PluginControllerProxy> m_paintTimer;186 RunLoop::Timer<PluginControllerProxy> m_paintTimer; 187 187 188 188 // A counter used to prevent the plug-in from being destroyed. … … 191 191 // A timer that we use to prevent destruction of the plug-in while plug-in 192 192 // code is on the stack. 193 WebCore::RunLoop::Timer<PluginControllerProxy> m_pluginDestroyTimer;193 RunLoop::Timer<PluginControllerProxy> m_pluginDestroyTimer; 194 194 195 195 // Whether we're waiting for the plug-in proxy in the web process to draw the contents of its -
trunk/Source/WebKit2/PluginProcess/PluginProcess.cpp
r156069 r159001 39 39 #include <WebCore/MemoryPressureHandler.h> 40 40 #include <WebCore/NotImplemented.h> 41 #include < WebCore/RunLoop.h>41 #include <wtf/RunLoop.h> 42 42 43 43 #if PLATFORM(MAC) -
trunk/Source/WebKit2/PluginProcess/PluginProcess.h
r157137 r159001 110 110 bool m_supportsAsynchronousPluginInitialization; 111 111 112 WebCore::RunLoop::Timer<PluginProcess> m_minimumLifetimeTimer;112 RunLoop::Timer<PluginProcess> m_minimumLifetimeTimer; 113 113 114 114 #if USE(ACCELERATED_COMPOSITING) && PLATFORM(MAC) -
trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp
r156688 r159001 40 40 #include "PluginProxyMessages.h" 41 41 #include "WebProcessConnectionMessages.h" 42 #include <WebCore/RunLoop.h>43 42 #include <unistd.h> 43 #include <wtf/RunLoop.h> 44 44 45 45 using namespace WebCore; -
trunk/Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp
r155032 r159001 35 35 #include "PluginProcess.h" 36 36 #include "WebKit2Initialize.h" 37 #include < WebCore/RunLoop.h>37 #include <wtf/RunLoop.h> 38 38 #if PLATFORM(GTK) 39 39 #include <gtk/gtk.h> -
trunk/Source/WebKit2/Shared/ChildProcess.cpp
r157137 r159001 29 29 #include "SandboxInitializationParameters.h" 30 30 #include <unistd.h> 31 32 using namespace WebCore;33 31 34 32 namespace WebKit { -
trunk/Source/WebKit2/Shared/ChildProcess.h
r157137 r159001 30 30 #include "MessageReceiverMap.h" 31 31 #include "MessageSender.h" 32 #include <WebCore/RunLoop.h>33 32 #include <wtf/HashMap.h> 34 33 #include <wtf/RetainPtr.h> 34 #include <wtf/RunLoop.h> 35 35 #include <wtf/text/StringHash.h> 36 36 #include <wtf/text/WTFString.h> … … 115 115 unsigned m_terminationCounter; 116 116 117 WebCore::RunLoop::Timer<ChildProcess> m_terminationTimer;117 RunLoop::Timer<ChildProcess> m_terminationTimer; 118 118 119 119 RefPtr<CoreIPC::Connection> m_connection; … … 125 125 size_t m_activeTaskCount; 126 126 bool m_shouldSuspend; 127 WebCore::RunLoop::Timer<ChildProcess> m_suspensionHysteresisTimer;127 RunLoop::Timer<ChildProcess> m_suspensionHysteresisTimer; 128 128 RetainPtr<id> m_processSuppressionAssertion; 129 129 #endif -
trunk/Source/WebKit2/Shared/ChildProcessProxy.cpp
r156508 r159001 27 27 #include "ChildProcessProxy.h" 28 28 29 #include <WebCore/RunLoop.h> 30 31 using namespace WebCore; 29 #include <wtf/RunLoop.h> 32 30 33 31 namespace WebKit { -
trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h
r157137 r159001 30 30 #import "CommandLine.h" 31 31 #import "WebKit2Initialize.h" 32 #import <WebCore/RunLoop.h>33 32 #import <WebKitSystemInterface.h> 34 33 #import <sysexits.h> 34 #import <wtf/RunLoop.h> 35 35 36 36 namespace WebKit { -
trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm
r157137 r159001 34 34 35 35 #define SHOW_CRASH_REPORTER 1 36 37 using namespace WebCore;38 36 39 37 namespace WebKit { -
trunk/Source/WebKit2/Shared/Plugins/NPObjectProxy.cpp
r156069 r159001 36 36 #include "NPRuntimeUtilities.h" 37 37 #include "NPVariantData.h" 38 #include <WebCore/RunLoop.h>39 38 #include <wtf/MainThread.h> 40 41 using namespace WebCore; 39 #include <wtf/RunLoop.h> 42 40 43 41 namespace WebKit { -
trunk/Source/WebKit2/Shared/WebKit2Initialize.cpp
r153736 r159001 29 29 #include "Logging.h" 30 30 #include <WebCore/Logging.h> 31 #include <WebCore/RunLoop.h>32 31 #include <runtime/InitializeThreading.h> 33 32 #include <wtf/MainThread.h> 33 #include <wtf/RunLoop.h> 34 34 35 35 #if PLATFORM(MAC) … … 47 47 JSC::initializeThreading(); 48 48 WTF::initializeMainThread(); 49 WebCore::RunLoop::initializeMainRunLoop();49 RunLoop::initializeMainRunLoop(); 50 50 51 51 #if !LOG_DISABLED -
trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFaviconDatabase.cpp
r155930 r159001 28 28 #include <WebCore/IntSize.h> 29 29 #include <WebCore/RefPtrCairo.h> 30 #include <WebCore/RunLoop.h>31 30 #include <glib/gi18n-lib.h> 31 #include <wtf/RunLoop.h> 32 32 #include <wtf/gobject/GOwnPtr.h> 33 33 #include <wtf/gobject/GRefPtr.h> -
trunk/Source/WebKit2/UIProcess/API/mac/FindIndicatorWindow.h
r156688 r159001 28 28 29 29 #import "WebKitSystemInterface.h" 30 #import <WebCore/RunLoop.h>31 30 #import <wtf/Noncopyable.h> 32 31 #import <wtf/RefPtr.h> 33 32 #import <wtf/RetainPtr.h> 33 #import <wtf/RunLoop.h> 34 34 35 35 @class WKFindIndicatorWindowAnimation; … … 67 67 RetainPtr<WKFindIndicatorWindowAnimation> m_bounceAnimation; 68 68 69 WebCore::RunLoop::Timer<FindIndicatorWindow> m_startFadeOutTimer;69 RunLoop::Timer<FindIndicatorWindow> m_startFadeOutTimer; 70 70 RetainPtr<WKFindIndicatorWindowAnimation> m_fadeOutAnimation; 71 71 }; -
trunk/Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm
r155911 r159001 35 35 #import <PDFKit/PDFKit.h> 36 36 #import <WebCore/GraphicsContext.h> 37 #import <WebCore/RunLoop.h>38 37 #import <WebCore/WebCoreObjCExtras.h> 38 #import <wtf/RunLoop.h> 39 39 40 40 using namespace WebKit; -
trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm
r158451 r159001 80 80 #import <WebCore/PlatformScreen.h> 81 81 #import <WebCore/Region.h> 82 #import <WebCore/RunLoop.h>83 82 #import <WebCore/SharedBuffer.h> 84 83 #import <WebCore/TextAlternativeWithRange.h> … … 91 90 #import <wtf/RefPtr.h> 92 91 #import <wtf/RetainPtr.h> 92 #import <wtf/RunLoop.h> 93 93 94 94 /* API internals. */ -
trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h
r157996 r159001 33 33 #include "DrawingAreaProxy.h" 34 34 #include "LayerTreeContext.h" 35 #include <WebCore/RunLoop.h>36 35 #include <wtf/OwnPtr.h> 36 #include <wtf/RunLoop.h> 37 37 38 38 namespace WebCore { … … 117 117 std::unique_ptr<BackingStore> m_backingStore; 118 118 119 WebCore::RunLoop::Timer<CoordinatedDrawingAreaProxy> m_discardBackingStoreTimer;119 RunLoop::Timer<CoordinatedDrawingAreaProxy> m_discardBackingStoreTimer; 120 120 }; 121 121 -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h
r158084 r159001 30 30 #include "DrawingAreaProxy.h" 31 31 #include "LayerTreeContext.h" 32 #include <WebCore/RunLoop.h>33 32 #include <wtf/OwnPtr.h> 33 #include <wtf/RunLoop.h> 34 34 35 35 namespace WebCore { … … 110 110 std::unique_ptr<BackingStore> m_backingStore; 111 111 112 WebCore::RunLoop::Timer<DrawingAreaProxyImpl> m_discardBackingStoreTimer;112 RunLoop::Timer<DrawingAreaProxyImpl> m_discardBackingStoreTimer; 113 113 }; 114 114 -
trunk/Source/WebKit2/UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
r156333 r159001 28 28 #include <WebCore/NetworkingContext.h> 29 29 #include <WebCore/ResourceHandle.h> 30 #include <WebCore/RunLoop.h>31 30 #include <sys/socket.h> 31 #include <wtf/RunLoop.h> 32 32 #include <wtf/StdLibExtras.h> 33 33 #include <wtf/text/CString.h> -
trunk/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp
r158444 r159001 34 34 #include <WebCore/NetworkingContext.h> 35 35 #include <WebCore/ResourceHandle.h> 36 #include <WebCore/RunLoop.h>37 36 #include <errno.h> 38 37 #include <glib.h> 39 38 #include <locale.h> 39 #include <wtf/RunLoop.h> 40 40 #include <wtf/text/CString.h> 41 41 #include <wtf/text/WTFString.h> -
trunk/Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm
r157894 r159001 30 30 #import "EnvironmentVariables.h" 31 31 #import "WebKitSystemInterface.h" 32 #import <WebCore/RunLoop.h>33 32 #import <crt_externs.h> 34 33 #import <mach-o/dyld.h> … … 41 40 #import <wtf/PassRefPtr.h> 42 41 #import <wtf/RetainPtr.h> 42 #import <wtf/RunLoop.h> 43 43 #import <wtf/Threading.h> 44 44 #import <wtf/text/CString.h> 45 45 #import <wtf/text/WTFString.h> 46 46 #import <xpc/xpc.h> 47 48 using namespace WebCore;49 47 50 48 // FIXME: We should be doing this another way. -
trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp
r156354 r159001 36 36 #include "WebContext.h" 37 37 #include "WebProcessMessages.h" 38 #include < WebCore/RunLoop.h>38 #include <wtf/RunLoop.h> 39 39 40 40 #if USE(SECURITY_FRAMEWORK) -
trunk/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp
r156847 r159001 38 38 #include "WebProcessProxy.h" 39 39 #include <WebCore/NotImplemented.h> 40 #include < WebCore/RunLoop.h>40 #include <wtf/RunLoop.h> 41 41 42 42 #if PLATFORM(MAC) -
trunk/Source/WebKit2/UIProcess/ResponsivenessTimer.cpp
r114451 r159001 26 26 #include "config.h" 27 27 #include "ResponsivenessTimer.h" 28 29 using namespace WebCore;30 28 31 29 namespace WebKit { -
trunk/Source/WebKit2/UIProcess/ResponsivenessTimer.h
r128683 r159001 27 27 #define ResponsivenessTimer_h 28 28 29 #include < WebCore/RunLoop.h>29 #include <wtf/RunLoop.h> 30 30 31 31 namespace WebKit { … … 57 57 bool m_isResponsive; 58 58 59 WebCore::RunLoop::Timer<ResponsivenessTimer> m_timer;59 RunLoop::Timer<ResponsivenessTimer> m_timer; 60 60 }; 61 61 -
trunk/Source/WebKit2/UIProcess/VisitedLinkProvider.h
r127614 r159001 29 29 #include "VisitedLinkTable.h" 30 30 #include <WebCore/LinkHash.h> 31 #include <WebCore/RunLoop.h>32 31 #include <wtf/Forward.h> 33 32 #include <wtf/HashSet.h> 33 #include <wtf/RunLoop.h> 34 34 35 35 namespace WebKit { … … 61 61 62 62 HashSet<WebCore::LinkHash, WebCore::LinkHashHash> m_pendingVisitedLinks; 63 WebCore::RunLoop::Timer<VisitedLinkProvider> m_pendingVisitedLinksTimer;63 RunLoop::Timer<VisitedLinkProvider> m_pendingVisitedLinksTimer; 64 64 }; 65 65 -
trunk/Source/WebKit2/UIProcess/WebContext.cpp
r158600 r159001 61 61 #include <WebCore/Logging.h> 62 62 #include <WebCore/ResourceRequest.h> 63 #include <WebCore/RunLoop.h>64 63 #include <runtime/InitializeThreading.h> 65 64 #include <runtime/Operations.h> 66 65 #include <wtf/CurrentTime.h> 67 66 #include <wtf/MainThread.h> 67 #include <wtf/RunLoop.h> 68 68 69 69 #if ENABLE(BATTERY_STATUS) -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp
r157700 r159001 42 42 #include "WebProcessMessages.h" 43 43 #include "WebProcessProxyMessages.h" 44 #include <WebCore/SuddenTermination.h> 44 45 #include <WebCore/URL.h> 45 #include <WebCore/RunLoop.h>46 #include <WebCore/SuddenTermination.h>47 46 #include <stdio.h> 47 #include <wtf/RunLoop.h> 48 48 #include <wtf/text/CString.h> 49 49 #include <wtf/text/WTFString.h> -
trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.cpp
r157582 r159001 31 31 #include "WebProcess.h" 32 32 #include "WebProcessIDBDatabaseBackend.h" 33 #include < WebCore/RunLoop.h>33 #include <wtf/RunLoop.h> 34 34 35 35 #if ENABLE(INDEXED_DATABASE) -
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm
r157137 r159001 32 32 #import "WKBase.h" 33 33 #import "WebProcess.h" 34 #import <WebCore/RunLoop.h>35 34 #import <mach/mach_error.h> 36 35 #import <servers/bootstrap.h> … … 38 37 #import <stdio.h> 39 38 #import <wtf/RetainPtr.h> 39 #import <wtf/RunLoop.h> 40 40 #import <wtf/text/CString.h> 41 41 #import <wtf/text/WTFString.h> -
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm
r157894 r159001 30 30 #import "WebProcess.h" 31 31 #import "XPCServiceEntryPoint.h" 32 #import < WebCore/RunLoop.h>32 #import <wtf/RunLoop.h> 33 33 34 34 using namespace WebCore; -
trunk/Source/WebKit2/WebProcess/Network/WebResourceLoadScheduler.h
r156550 r159001 31 31 #include <WebCore/ResourceLoadScheduler.h> 32 32 #include <WebCore/ResourceLoader.h> 33 #include < WebCore/RunLoop.h>33 #include <wtf/RunLoop.h> 34 34 35 35 #if ENABLE(NETWORK_PROCESS) … … 69 69 70 70 HashSet<RefPtr<WebCore::ResourceLoader>> m_internallyFailedResourceLoaders; 71 WebCore::RunLoop::Timer<WebResourceLoadScheduler> m_internallyFailedLoadTimer;71 RunLoop::Timer<WebResourceLoadScheduler> m_internallyFailedLoadTimer; 72 72 73 73 HashMap<unsigned long, RefPtr<WebResourceLoader>> m_webResourceLoaders; -
trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h
r151060 r159001 29 29 #if ENABLE(NETSCAPE_PLUGIN_API) 30 30 31 #include <WebCore/RunLoop.h>32 31 #include <heap/Weak.h> 33 32 #include <heap/WeakInlines.h> 34 33 #include <wtf/Forward.h> 35 34 #include <wtf/HashMap.h> 35 #include <wtf/RunLoop.h> 36 36 37 37 struct NPObject; … … 99 99 HashMap<NPObject*, JSC::Weak<JSNPObject>> m_jsNPObjects; 100 100 Vector<NPObject*> m_npObjectsToFinalize; 101 WebCore::RunLoop::Timer<NPRuntimeObjectMap> m_finalizationTimer;101 RunLoop::Timer<NPRuntimeObjectMap> m_finalizationTimer; 102 102 }; 103 103 -
trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.h
r156688 r159001 34 34 #include <WebCore/GraphicsLayer.h> 35 35 #include <WebCore/IntRect.h> 36 #include <WebCore/RunLoop.h>37 36 #include <wtf/HashMap.h> 37 #include <wtf/RunLoop.h> 38 38 #include <wtf/text/CString.h> 39 39 #include <wtf/text/StringHash.h> … … 331 331 TimerFunc m_timerFunc; 332 332 333 WebCore::RunLoop::Timer<Timer> m_timer;333 RunLoop::Timer<Timer> m_timer; 334 334 }; 335 335 typedef HashMap<unsigned, std::unique_ptr<Timer>> TimerMap; … … 378 378 // FIXME: It's a bit wasteful to have one null event timer per plug-in. 379 379 // We should investigate having one per window. 380 WebCore::RunLoop::Timer<NetscapePlugin> m_nullEventTimer;380 RunLoop::Timer<NetscapePlugin> m_nullEventTimer; 381 381 NP_CGContext m_npCGContext; 382 382 #endif -
trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h
r156550 r159001 30 30 31 31 #include <WebCore/FileSystem.h> 32 #include <WebCore/RunLoop.h>33 32 #include <WebCore/npruntime_internal.h> 34 33 #include <wtf/Forward.h> … … 36 35 #include <wtf/RefCounted.h> 37 36 #include <wtf/RefPtr.h> 37 #include <wtf/RunLoop.h> 38 38 #include <wtf/text/CString.h> 39 39 … … 106 106 CString m_headers; 107 107 108 WebCore::RunLoop::Timer<NetscapePluginStream> m_deliveryDataTimer;108 RunLoop::Timer<NetscapePluginStream> m_deliveryDataTimer; 109 109 OwnPtr< Vector<uint8_t>> m_deliveryData; 110 110 bool m_stopStreamWhenDoneDelivering; -
trunk/Source/WebKit2/WebProcess/Plugins/PluginView.h
r155888 r159001 37 37 #include <WebCore/ResourceError.h> 38 38 #include <WebCore/ResourceResponse.h> 39 #include <WebCore/RunLoop.h>40 39 #include <WebCore/Timer.h> 41 40 #include <wtf/Deque.h> 41 #include <wtf/RunLoop.h> 42 42 43 43 // FIXME: Eventually this should move to WebCore. … … 235 235 // Pending URLRequests that the plug-in has made. 236 236 Deque<RefPtr<URLRequest>> m_pendingURLRequests; 237 WebCore::RunLoop::Timer<PluginView> m_pendingURLRequestsTimer;237 RunLoop::Timer<PluginView> m_pendingURLRequestsTimer; 238 238 239 239 // Pending frame loads that the plug-in has made. -
trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h
r156861 r159001 33 33 #include "LayerTreeHost.h" 34 34 #include <WebCore/Region.h> 35 #include < WebCore/RunLoop.h>35 #include <wtf/RunLoop.h> 36 36 37 37 namespace WebKit { … … 125 125 bool m_isPaintingSuspended; 126 126 127 WebCore::RunLoop::Timer<CoordinatedDrawingArea> m_displayTimer;128 WebCore::RunLoop::Timer<CoordinatedDrawingArea> m_exitCompositingTimer;127 RunLoop::Timer<CoordinatedDrawingArea> m_displayTimer; 128 RunLoop::Timer<CoordinatedDrawingArea> m_exitCompositingTimer; 129 129 130 130 // The layer tree host that handles accelerated compositing. -
trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h
r156861 r159001 30 30 #include "LayerTreeHost.h" 31 31 #include <WebCore/Region.h> 32 #include < WebCore/RunLoop.h>32 #include <wtf/RunLoop.h> 33 33 34 34 namespace WebCore { … … 128 128 bool m_alwaysUseCompositing; 129 129 130 WebCore::RunLoop::Timer<DrawingAreaImpl> m_displayTimer;131 WebCore::RunLoop::Timer<DrawingAreaImpl> m_exitCompositingTimer;130 RunLoop::Timer<DrawingAreaImpl> m_displayTimer; 131 RunLoop::Timer<DrawingAreaImpl> m_exitCompositingTimer; 132 132 133 133 // The layer tree host that handles accelerated compositing. -
trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp
r157700 r159001 34 34 #include "WebProcess.h" 35 35 #include <WebCore/Page.h> 36 #include <WebCore/RunLoop.h>37 36 #include <wtf/MainThread.h> 37 #include <wtf/RunLoop.h> 38 38 39 39 #if ENABLE(THREADED_SCROLLING) -
trunk/Source/WebKit2/WebProcess/WebPage/PageOverlay.h
r154737 r159001 29 29 #include "APIObject.h" 30 30 #include "WKBase.h" 31 #include <WebCore/RunLoop.h>32 31 #include <wtf/PassRefPtr.h> 32 #include <wtf/RunLoop.h> 33 33 34 34 namespace WebCore { … … 91 91 WebPage* m_webPage; 92 92 93 WebCore::RunLoop::Timer<PageOverlay> m_fadeAnimationTimer;93 RunLoop::Timer<PageOverlay> m_fadeAnimationTimer; 94 94 double m_fadeAnimationStartTime; 95 95 double m_fadeAnimationDuration; -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r158599 r159001 126 126 #include <WebCore/ResourceRequest.h> 127 127 #include <WebCore/ResourceResponse.h> 128 #include <WebCore/RunLoop.h>129 128 #include <WebCore/RuntimeEnabledFeatures.h> 130 129 #include <WebCore/SchemeRegistry.h> … … 143 142 #include <runtime/JSLock.h> 144 143 #include <runtime/Operations.h> 144 #include <wtf/RunLoop.h> 145 145 146 146 #if ENABLE(MHTML) -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h
r158451 r159001 863 863 String m_primaryPlugInOrigin; 864 864 String m_primaryPlugInMimeType; 865 WebCore::RunLoop::Timer<WebPage> m_determinePrimarySnapshottedPlugInTimer;865 RunLoop::Timer<WebPage> m_determinePrimarySnapshottedPlugInTimer; 866 866 #endif 867 867 … … 902 902 RefPtr<PageBanner> m_footerBanner; 903 903 904 WebCore::RunLoop::Timer<WebPage> m_setCanStartMediaTimer;905 WebCore::RunLoop::Timer<WebPage> m_sendDidUpdateViewStateTimer;904 RunLoop::Timer<WebPage> m_setCanStartMediaTimer; 905 RunLoop::Timer<WebPage> m_sendDidUpdateViewStateTimer; 906 906 bool m_mayStartMediaWhenInWindow; 907 907 -
trunk/Source/WebKit2/WebProcess/WebProcess.cpp
r157653 r159001 75 75 #include <WebCore/PageGroup.h> 76 76 #include <WebCore/ResourceHandle.h> 77 #include <WebCore/RunLoop.h>78 77 #include <WebCore/SchemeRegistry.h> 79 78 #include <WebCore/SecurityOrigin.h> … … 84 83 #include <wtf/HashCountedSet.h> 85 84 #include <wtf/PassRefPtr.h> 85 #include <wtf/RunLoop.h> 86 86 #include <wtf/text/StringHash.h> 87 87 -
trunk/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp
r149283 r159001 37 37 #include <WebCore/NetworkingContext.h> 38 38 #include <WebCore/ResourceHandle.h> 39 #include <WebCore/RunLoop.h>40 39 #include <WebKit2/WebProcess.h> 41 40 #include <libsoup/soup.h> 42 41 #include <runtime/Operations.h> 43 42 #include <unistd.h> 43 #include <wtf/RunLoop.h> 44 44 #include <wtf/text/CString.h> 45 45 -
trunk/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp
r148886 r159001 33 33 #include <WebCore/NetworkingContext.h> 34 34 #include <WebCore/ResourceHandle.h> 35 #include <WebCore/RunLoop.h>36 35 #include <WebKit2/WebProcess.h> 37 36 #include <gtk/gtk.h> … … 39 38 #include <libsoup/soup.h> 40 39 #include <unistd.h> 40 #include <wtf/RunLoop.h> 41 41 #include <wtf/gobject/GOwnPtr.h> 42 42 #include <wtf/gobject/GRefPtr.h>
Note: See TracChangeset
for help on using the changeset viewer.