Changeset 159001 in webkit


Ignore:
Timestamp:
Nov 9, 2013 12:59:28 PM (10 years ago)
Author:
Patrick Gansterer
Message:

Move RunLoop from WebCore to WTF
https://bugs.webkit.org/show_bug.cgi?id=116606

Reviewed by Anders Carlsson.

Source/WebCore:

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • PlatformBlackBerry.cmake:
  • PlatformEfl.cmake:
  • PlatformGTK.cmake:
  • PlatformWin.cmake:
  • WebCore.exp.in:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
  • platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:

Source/WebKit/mac:

  • Carbon/CarbonWindowAdapter.mm:

(+[CarbonWindowAdapter initialize]):

  • History/WebBackForwardList.mm:

(+[WebBackForwardList initialize]):

  • History/WebHistoryItem.mm:

(+[WebHistoryItem initialize]):

  • Misc/WebCache.mm:

(+[WebCache initialize]):

  • Misc/WebElementDictionary.mm:

(+[WebElementDictionary initialize]):

  • Misc/WebIconDatabase.mm:

(+[WebIconDatabase initialize]):

  • Plugins/Hosted/WebHostedNetscapePluginView.mm:

(+[WebHostedNetscapePluginView initialize]):

  • Plugins/WebBaseNetscapePluginView.mm:
  • Plugins/WebBasePluginPackage.mm:
  • Plugins/WebNetscapePluginView.mm:

(+[WebNetscapePluginView initialize]):

  • WebCoreSupport/WebEditorClient.mm:

(+[WebUndoStep initialize]):

  • WebCoreSupport/WebFrameLoaderClient.mm:
  • WebView/WebArchive.mm:

(+[WebArchivePrivate initialize]):

  • WebView/WebDataSource.mm:

(+[WebDataSource initialize]):

  • WebView/WebHTMLView.mm:

(+[WebHTMLViewPrivate initialize]):
(+[WebHTMLView initialize]):

  • WebView/WebPreferences.mm:

(+[WebPreferences initialize]):

  • WebView/WebResource.mm:

(+[WebResourcePrivate initialize]):

  • WebView/WebTextIterator.mm:

(+[WebTextIteratorPrivate initialize]):

  • WebView/WebView.mm:

(+[WebView initialize]):

  • WebView/WebViewData.mm:

(+[WebViewPrivate initialize]):

Source/WebKit2:

  • DatabaseProcess/DatabaseProcess.cpp:
  • DatabaseProcess/DatabaseToWebProcessConnection.cpp:
  • NetworkProcess/NetworkConnectionToWebProcess.cpp:
  • NetworkProcess/NetworkProcess.cpp:
  • NetworkProcess/NetworkProcess.h:
  • NetworkProcess/NetworkResourceLoader.h:
  • NetworkProcess/mac/DiskCacheMonitor.h:
  • NetworkProcess/unix/NetworkProcessMainUnix.cpp:
  • Platform/CoreIPC/Connection.cpp:
  • Platform/CoreIPC/Connection.h:
  • Platform/CoreIPC/mac/ConnectionMac.cpp:
  • PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
  • PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm:
  • PluginProcess/PluginControllerProxy.h:
  • PluginProcess/PluginProcess.cpp:
  • PluginProcess/PluginProcess.h:
  • PluginProcess/WebProcessConnection.cpp:
  • PluginProcess/unix/PluginProcessMainUnix.cpp:
  • Shared/ChildProcess.cpp:
  • Shared/ChildProcess.h:
  • Shared/ChildProcessProxy.cpp:
  • Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h:
  • Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm:
  • Shared/Plugins/NPObjectProxy.cpp:
  • Shared/WebKit2Initialize.cpp:

(WebKit::InitializeWebKit2):

  • UIProcess/API/gtk/WebKitFaviconDatabase.cpp:
  • UIProcess/API/mac/FindIndicatorWindow.h:
  • UIProcess/API/mac/WKPrintingView.mm:
  • UIProcess/API/mac/WKView.mm:
  • UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h:
  • UIProcess/DrawingAreaProxyImpl.h:
  • UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
  • UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
  • UIProcess/Launcher/mac/ProcessLauncherMac.mm:
  • UIProcess/Network/NetworkProcessProxy.cpp:
  • UIProcess/Plugins/PluginProcessProxy.cpp:
  • UIProcess/ResponsivenessTimer.cpp:
  • UIProcess/ResponsivenessTimer.h:
  • UIProcess/VisitedLinkProvider.h:
  • UIProcess/WebContext.cpp:
  • UIProcess/WebProcessProxy.cpp:
  • WebProcess/Databases/WebToDatabaseProcessConnection.cpp:
  • WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
  • WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm:
  • WebProcess/Network/WebResourceLoadScheduler.h:
  • WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
  • WebProcess/Plugins/Netscape/NetscapePlugin.h:
  • WebProcess/Plugins/Netscape/NetscapePluginStream.h:
  • WebProcess/Plugins/PluginView.h:
  • WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
  • WebProcess/WebPage/DrawingAreaImpl.h:
  • WebProcess/WebPage/EventDispatcher.cpp:
  • WebProcess/WebPage/PageOverlay.h:
  • WebProcess/WebPage/WebPage.cpp:
  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebProcess.cpp:
  • WebProcess/efl/WebProcessMainEfl.cpp:
  • WebProcess/gtk/WebProcessMainGtk.cpp:

Source/WTF:

With this change RunLoop can be used in JavaScriptCore too.

  • GNUmakefile.list.am:
  • WTF.vcxproj/WTF.vcxproj:
  • WTF.xcodeproj/project.pbxproj:
  • wtf/CMakeLists.txt:
  • wtf/PlatformBlackBerry.cmake:
  • wtf/PlatformEfl.cmake:
  • wtf/PlatformGTK.cmake:
  • wtf/PlatformWin.cmake:
  • wtf/RunLoop.cpp: Renamed from Source/WebCore/platform/RunLoop.cpp.

(WTF::RunLoop::Holder::Holder):
(WTF::RunLoop::Holder::runLoop):
(WTF::RunLoop::initializeMainRunLoop):
(WTF::RunLoop::current):
(WTF::RunLoop::main):
(WTF::RunLoop::isMain):
(WTF::RunLoop::performWork):
(WTF::RunLoop::dispatch):

  • wtf/RunLoop.h: Renamed from Source/WebCore/platform/RunLoop.h.

(WTF::RunLoop::TimerBase::startRepeating):
(WTF::RunLoop::TimerBase::startOneShot):
(WTF::RunLoop::TimerBase::isRepeating):
(WTF::RunLoop::Timer::Timer):
(WTF::RunLoop::Timer::fired):

  • wtf/blackberry/RunLoopBlackBerry.cpp: Renamed from Source/WebCore/platform/blackberry/RunLoopBlackBerry.cpp.

(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::wakeUp):

  • wtf/cf/RunLoopCF.cpp: Renamed from Source/WebCore/platform/cf/RunLoopCF.cpp.

(WTF::RunLoop::performWork):
(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::runForDuration):
(WTF::RunLoop::wakeUp):
(WTF::RunLoop::run):
(WTF::RunLoop::stop):
(WTF::RunLoop::TimerBase::timerFired):
(WTF::RunLoop::TimerBase::TimerBase):
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::start):
(WTF::RunLoop::TimerBase::stop):
(WTF::RunLoop::TimerBase::isActive):

  • wtf/efl/RunLoopEfl.cpp: Renamed from Source/WebCore/platform/efl/RunLoopEfl.cpp.

(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::run):
(WTF::RunLoop::stop):
(WTF::RunLoop::wakeUpEvent):
(WTF::RunLoop::wakeUp):
(WTF::RunLoop::TimerBase::TimerBase):
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::timerFired):
(WTF::RunLoop::TimerBase::start):
(WTF::RunLoop::TimerBase::stop):
(WTF::RunLoop::TimerBase::isActive):

  • wtf/gtk/RunLoopGtk.cpp: Renamed from Source/WebCore/platform/gtk/RunLoopGtk.cpp.

(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::run):
(WTF::RunLoop::innermostLoop):
(WTF::RunLoop::pushNestedMainLoop):
(WTF::RunLoop::popNestedMainLoop):
(WTF::RunLoop::stop):
(WTF::RunLoop::queueWork):
(WTF::RunLoop::wakeUp):
(WTF::RunLoop::TimerBase::TimerBase):
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::clearTimerSource):
(WTF::RunLoop::TimerBase::timerFiredCallback):
(WTF::RunLoop::TimerBase::start):
(WTF::RunLoop::TimerBase::stop):
(WTF::RunLoop::TimerBase::isActive):

  • wtf/win/RunLoopWin.cpp: Renamed from Source/WebCore/platform/win/RunLoopWin.cpp.

(WTF::RunLoop::RunLoopWndProc):
(WTF::RunLoop::wndProc):
(WTF::RunLoop::run):
(WTF::RunLoop::stop):
(WTF::RunLoop::registerRunLoopMessageWindowClass):
(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::wakeUp):
(WTF::RunLoop::TimerBase::timerFired):
(WTF::generateTimerID):
(WTF::RunLoop::TimerBase::TimerBase):
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::start):
(WTF::RunLoop::TimerBase::stop):
(WTF::RunLoop::TimerBase::isActive):

Location:
trunk/Source
Files:
1 added
101 edited
7 moved

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r158933 r159001  
     12013-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
    1982013-11-08  Alexey Proskuryakov  <ap@apple.com>
    299
  • trunk/Source/WTF/GNUmakefile.list.am

    r158108 r159001  
    138138    Source/WTF/wtf/RefPtrHashMap.h \
    139139    Source/WTF/wtf/RetainPtr.h \
     140    Source/WTF/wtf/RunLoop.cpp \
     141    Source/WTF/wtf/RunLoop.h \
    140142    Source/WTF/wtf/SHA1.cpp \
    141143    Source/WTF/wtf/SHA1.h \
     
    217219    Source/WTF/wtf/gobject/GlibUtilities.h \
    218220    Source/WTF/wtf/gtk/MainThreadGtk.cpp \
     221    Source/WTF/wtf/gtk/RunLoopGtk.cpp \
    219222    Source/WTF/wtf/text/ASCIIFastPath.h \
    220223    Source/WTF/wtf/text/AtomicString.cpp \
  • trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj

    r158471 r159001  
    9090    <ClCompile Include="..\wtf\RandomNumber.cpp" />
    9191    <ClCompile Include="..\wtf\RefCountedLeakCounter.cpp" />
     92    <ClCompile Include="..\wtf\RunLoop.cpp" />
    9293    <ClCompile Include="..\wtf\SHA1.cpp" />
    9394    <ClCompile Include="..\wtf\SixCharacterHash.cpp" />
     
    115116    <ClCompile Include="..\wtf\unicode\UTF8.cpp" />
    116117    <ClCompile Include="..\wtf\win\MainThreadWin.cpp" />
     118    <ClCompile Include="..\wtf\win\RunLoopWin.cpp" />
    117119    <ClCompile Include="..\wtf\WTFThreadData.cpp" />
    118120    <ClCompile Include="..\wtf\SchedulePairCF.cpp" />
     
    222224    <ClInclude Include="..\wtf\RefPtrHashMap.h" />
    223225    <ClInclude Include="..\wtf\RetainPtr.h" />
     226    <ClInclude Include="..\wtf\RunLoop.h" />
    224227    <ClInclude Include="..\wtf\SaturatedArithmetic.h" />
    225228    <ClInclude Include="..\wtf\SchedulePair.h" />
  • trunk/Source/WTF/WTF.xcodeproj/project.pbxproj

    r158471 r159001  
    6161                2C05385415BC819000F21B96 /* GregorianDateTime.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C05385315BC819000F21B96 /* GregorianDateTime.h */; };
    6262                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 */; };
    6366                44F66008171AFAE600E4AD19 /* EnumClass.h in Headers */ = {isa = PBXBuildFile; fileRef = 44F66007171AFAA900E4AD19 /* EnumClass.h */; };
    6467                4F0321BC156AA8D1006EBAF6 /* BitArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F0321BB156AA8D1006EBAF6 /* BitArray.h */; };
     
    325328                2C05385315BC819000F21B96 /* GregorianDateTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GregorianDateTime.h; sourceTree = "<group>"; };
    326329                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>"; };
    327333                44DEE74A152274BB00C6EC37 /* iOS.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = iOS.xcconfig; sourceTree = "<group>"; };
    328334                44F66007171AFAA900E4AD19 /* EnumClass.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EnumClass.h; sourceTree = "<group>"; };
     
    566572                        sourceTree = "<group>";
    567573                };
     574                2CDED0F018115C3F004DBA70 /* cf */ = {
     575                        isa = PBXGroup;
     576                        children = (
     577                                2CDED0EE18115C38004DBA70 /* RunLoopCF.cpp */,
     578                        );
     579                        name = cf;
     580                        sourceTree = "<group>";
     581                };
    568582                5D247B5714689B8600E78B76 = {
    569583                        isa = PBXGroup;
     
    626640                        isa = PBXGroup;
    627641                        children = (
     642                                2CDED0F018115C3F004DBA70 /* cf */,
    628643                                A8A47281151A825A004123FF /* dtoa */,
    629644                                1FA47C87152502DA00568D1B /* ios */,
     
    766781                                A8A47304151A825B004123FF /* RefPtrHashMap.h */,
    767782                                A8A47305151A825B004123FF /* RetainPtr.h */,
     783                                2CDED0F118115C85004DBA70 /* RunLoop.cpp */,
     784                                2CDED0F218115C85004DBA70 /* RunLoop.h */,
    768785                                1469419016EAAF6D0024E146 /* RunLoopTimer.h */,
    769786                                1469419116EAAF6D0024E146 /* RunLoopTimerCF.cpp */,
     
    10571074                                A8A4741D151A825B004123FF /* RefPtrHashMap.h in Headers */,
    10581075                                A8A4741E151A825B004123FF /* RetainPtr.h in Headers */,
     1076                                2CDED0F418115C85004DBA70 /* RunLoop.h in Headers */,
    10591077                                1469419216EAAF6D0024E146 /* RunLoopTimer.h in Headers */,
    10601078                                14F3B0F715E45E4600210069 /* SaturatedArithmetic.h in Headers */,
     
    12331251                                A8A47414151A825B004123FF /* RandomNumber.cpp in Sources */,
    12341252                                A8A4741A151A825B004123FF /* RefCountedLeakCounter.cpp in Sources */,
     1253                                2CDED0F318115C85004DBA70 /* RunLoop.cpp in Sources */,
     1254                                2CDED0EF18115C38004DBA70 /* RunLoopCF.cpp in Sources */,
    12351255                                1469419316EAAF6D0024E146 /* RunLoopTimerCF.cpp in Sources */,
    12361256                                1469419916EAB0410024E146 /* SchedulePairCF.cpp in Sources */,
  • trunk/Source/WTF/wtf/CMakeLists.txt

    r157660 r159001  
    8787    RefPtrHashMap.h
    8888    RetainPtr.h
     89    RunLoop.h
    8990    SHA1.h
    9091    SaturatedArithmetic.h
     
    174175    RandomNumber.cpp
    175176    RefCountedLeakCounter.cpp
     177    RunLoop.cpp
    176178    SHA1.cpp
    177179    SixCharacterHash.cpp
  • trunk/Source/WTF/wtf/PlatformBlackBerry.cmake

    r150767 r159001  
    11list(APPEND WTF_SOURCES
    22    blackberry/MainThreadBlackBerry.cpp
     3    blackberry/RunLoopBlackBerry.cpp
    34)
  • trunk/Source/WTF/wtf/PlatformEfl.cmake

    r156264 r159001  
    33    efl/OwnPtrEfl.cpp
    44    efl/RefPtrEfl.cpp
     5    efl/RunLoopEfl.cpp
    56
    67    gobject/GOwnPtr.cpp
  • trunk/Source/WTF/wtf/PlatformGTK.cmake

    r156264 r159001  
    55
    66    gtk/MainThreadGtk.cpp
     7    gtk/RunLoopGtk.cpp
    78)
    89
  • trunk/Source/WTF/wtf/PlatformWin.cmake

    r155521 r159001  
    33
    44    win/MainThreadWin.cpp
     5    win/RunLoopWin.cpp
    56)
    67
  • trunk/Source/WTF/wtf/RunLoop.cpp

    r159000 r159001  
    3030#include <wtf/ThreadSpecific.h>
    3131
    32 namespace WebCore {
     32namespace WTF {
    3333
    3434static RunLoop* s_mainRunLoop;
     
    129129}
    130130
    131 } // namespace WebCore
     131} // namespace WTF
  • trunk/Source/WTF/wtf/RunLoop.h

    r159000 r159001  
    4545#endif
    4646
    47 namespace WebCore {
     47namespace WTF {
    4848
    4949class RunLoop : public FunctionDispatcher {
     
    5151    // Must be called from the main thread (except for the Mac platform, where it
    5252    // can be called from any thread).
    53     static void initializeMainRunLoop();
     53    WTF_EXPORT_PRIVATE static void initializeMainRunLoop();
    5454
    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();
    5858    ~RunLoop();
    5959
    6060    virtual void dispatch(std::function<void ()>) OVERRIDE;
    6161
    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();
    6565
    6666#if PLATFORM(MAC)
    67     void runForDuration(double duration);
     67    WTF_EXPORT_PRIVATE void runForDuration(double duration);
    6868#endif
    6969   
     
    7171        friend class RunLoop;
    7272    public:
    73         explicit TimerBase(RunLoop*);
    74         virtual ~TimerBase();
     73        WTF_EXPORT_PRIVATE explicit TimerBase(RunLoop*);
     74        WTF_EXPORT_PRIVATE virtual ~TimerBase();
    7575
    7676        void startRepeating(double repeatInterval) { start(repeatInterval, true); }
    7777        void startOneShot(double interval) { start(interval, false); }
    7878
    79         void stop();
    80         bool isActive() const;
     79        WTF_EXPORT_PRIVATE void stop();
     80        WTF_EXPORT_PRIVATE bool isActive() const;
    8181
    8282        virtual void fired() = 0;
    8383
    8484    private:
    85         void start(double nextFireInterval, bool repeat);
     85        WTF_EXPORT_PRIVATE void start(double nextFireInterval, bool repeat);
    8686
    8787        RunLoop* m_runLoop;
     
    158158    bool m_wakeUpEventRequested;
    159159
    160     static void wakeUpEvent(void* data, void*, unsigned int);
     160    static void wakeUpEvent(void* data, void*, unsigned);
    161161#elif USE(GLIB)
    162162public:
     
    171171};
    172172
    173 } // namespace WebCore
     173} // namespace WTF
     174
     175using WTF::RunLoop;
    174176
    175177#endif // RunLoop_h
  • trunk/Source/WTF/wtf/blackberry/RunLoopBlackBerry.cpp

    r159000 r159001  
    2929#include "NotImplemented.h"
    3030
    31 namespace WebCore {
     31namespace WTF {
    3232
    3333RunLoop::RunLoop()
     
    4646}
    4747
    48 } // namespace WebCore
     48} // namespace WTF
  • trunk/Source/WTF/wtf/cf/RunLoopCF.cpp

    r159000 r159001  
    3131#include <wtf/AutodrainedPool.h>
    3232
    33 namespace WebCore {
     33namespace WTF {
    3434
    3535void RunLoop::performWork(void* context)
     
    127127}
    128128
    129 } // namespace WebCore
     129} // namespace WTF
  • trunk/Source/WTF/wtf/efl/RunLoopEfl.cpp

    r159000 r159001  
    3535static const char wakupEcorePipeMessage[] = "W";
    3636
    37 namespace WebCore {
     37namespace WTF {
    3838
    3939RunLoop::RunLoop()
     
    5959}
    6060
    61 void RunLoop::wakeUpEvent(void* data, void*, unsigned int)
     61void RunLoop::wakeUpEvent(void* data, void*, unsigned)
    6262{
    6363    RunLoop* loop = static_cast<RunLoop*>(data);
     
    132132}
    133133
    134 } // namespace WebCore
     134} // namespace WTF
  • trunk/Source/WTF/wtf/gtk/RunLoopGtk.cpp

    r159000 r159001  
    2828#include "RunLoop.h"
    2929
    30 #include <gdk/gdk.h>
    3130#include <glib.h>
    32 
    3331#include <wtf/MainThread.h>
    3432
    35 namespace WebCore {
     33namespace WTF {
    3634
    3735RunLoop::RunLoop()
     
    169167}
    170168
    171 } // namespace WebCore
     169} // namespace WTF
  • trunk/Source/WTF/wtf/win/RunLoopWin.cpp

    r159000 r159001  
    3232using namespace std;
    3333
    34 namespace WebCore {
     34namespace WTF {
    3535
    3636static const UINT PerformWorkMessage = WM_USER + 1;
     
    100100
    101101    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);
    104103    ASSERT(::IsWindow(m_runLoopMessageWindow));
    105104}
     
    177176}
    178177
    179 } // namespace WebCore
     178} // namespace WTF
  • trunk/Source/WebCore/CMakeLists.txt

    r158997 r159001  
    17841784    platform/PlatformEvent.cpp
    17851785    platform/PlatformStrategies.cpp
    1786     platform/RunLoop.cpp
    17871786    platform/RuntimeApplicationChecks.cpp
    17881787    platform/SchemeRegistry.cpp
  • trunk/Source/WebCore/ChangeLog

    r159000 r159001  
     12013-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
    1202013-11-09  Andreas Kling  <akling@apple.com>
    221
  • trunk/Source/WebCore/GNUmakefile.list.am

    r158997 r159001  
    60286028        Source/WebCore/platform/ReferrerPolicy.h \
    60296029        Source/WebCore/platform/RefCountedSupplement.h \
    6030         Source/WebCore/platform/RunLoop.cpp \
    6031         Source/WebCore/platform/RunLoop.h \
    60326030        Source/WebCore/platform/RuntimeApplicationChecks.cpp \
    60336031        Source/WebCore/platform/RuntimeApplicationChecks.h \
     
    61836181        Source/WebCore/platform/gtk/PlatformScreenGtk.cpp \
    61846182        Source/WebCore/platform/gtk/PlatformWheelEventGtk.cpp \
    6185         Source/WebCore/platform/gtk/RunLoopGtk.cpp \
    61866183        Source/WebCore/platform/gtk/SearchPopupMenuGtk.cpp \
    61876184        Source/WebCore/platform/gtk/SearchPopupMenuGtk.h \
  • trunk/Source/WebCore/PlatformBlackBerry.cmake

    r156692 r159001  
    121121    platform/blackberry/PopupMenuBlackBerry.cpp
    122122    platform/blackberry/RenderThemeBlackBerry.cpp
    123     platform/blackberry/RunLoopBlackBerry.cpp
    124123    platform/blackberry/SSLKeyGeneratorBlackBerry.cpp
    125124    platform/blackberry/ScrollbarThemeBlackBerry.cpp
  • trunk/Source/WebCore/PlatformEfl.cmake

    r158848 r159001  
    8484    platform/efl/PlatformWheelEventEfl.cpp
    8585    platform/efl/RenderThemeEfl.cpp
    86     platform/efl/RunLoopEfl.cpp
    8786    platform/efl/ScrollbarEfl.cpp
    8887    platform/efl/ScrollbarThemeEfl.cpp
  • trunk/Source/WebCore/PlatformGTK.cmake

    r158848 r159001  
    165165    platform/gtk/RenderThemeGtk2.cpp
    166166    platform/gtk/RenderThemeGtk3.cpp
    167     platform/gtk/RunLoopGtk.cpp
    168167    platform/gtk/ScrollViewGtk.cpp
    169168    platform/gtk/ScrollbarThemeGtk.cpp
  • trunk/Source/WebCore/PlatformWin.cmake

    r158502 r159001  
    5353    platform/win/PlatformScreenWin.cpp
    5454    platform/win/PopupMenuWin.cpp
    55     platform/win/RunLoopWin.cpp
    5655    platform/win/SSLKeyGeneratorWin.cpp
    5756    platform/win/ScrollbarThemeWin.cpp
  • trunk/Source/WebCore/WebCore.exp.in

    r158982 r159001  
    11111111__ZN7WebCore7IntRectC1ERKNS_9FloatRectE
    11121112__ZN7WebCore7IntSizeC1ERK6CGSize
    1113 __ZN7WebCore7RunLoop14runForDurationEd
    1114 __ZN7WebCore7RunLoop21initializeMainRunLoopEv
    1115 __ZN7WebCore7RunLoop3runEv
    1116 __ZN7WebCore7RunLoop4mainEv
    1117 __ZN7WebCore7RunLoop4stopEv
    1118 __ZN7WebCore7RunLoop6isMainEv
    1119 __ZN7WebCore7RunLoop6wakeUpEv
    1120 __ZN7WebCore7RunLoop7currentEv
    1121 __ZN7WebCore7RunLoop9TimerBase4stopEv
    1122 __ZN7WebCore7RunLoop9TimerBase5startEdb
    1123 __ZN7WebCore7RunLoop9TimerBaseC2EPS0_
    1124 __ZN7WebCore7RunLoop9TimerBaseD2Ev
    11251113__ZN7WebCore7TextRun19allowsRoundingHacksEv
    11261114__ZN7WebCore7TextRun21s_allowsRoundingHacksE
     
    17471735__ZNK7WebCore7IntRect8containsERKS0_
    17481736__ZNK7WebCore7IntRectcv6CGRectEv
    1749 __ZNK7WebCore7RunLoop9TimerBase8isActiveEv
    17501737__ZNK7WebCore8Document11completeURLERKN3WTF6StringE
    17511738__ZNK7WebCore8Document13axObjectCacheEv
  • trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj

    r158997 r159001  
    72957295    <ClCompile Include="..\platform\PlatformEvent.cpp" />
    72967296    <ClCompile Include="..\platform\PlatformStrategies.cpp" />
    7297     <ClCompile Include="..\platform\RunLoop.cpp" />
    72987297    <ClCompile Include="..\platform\RuntimeApplicationChecks.cpp" />
    72997298    <ClCompile Include="..\platform\SchemeRegistry.cpp" />
     
    73547353    <ClCompile Include="..\platform\win\PlatformScreenWin.cpp" />
    73557354    <ClCompile Include="..\platform\win\PopupMenuWin.cpp" />
    7356     <ClCompile Include="..\platform\win\RunLoopWin.cpp" />
    73577355    <ClCompile Include="..\platform\win\ScrollbarThemeSafari.cpp" />
    73587356    <ClCompile Include="..\platform\win\ScrollbarThemeWin.cpp" />
     
    1890018898    <ClInclude Include="..\platform\PurgeableBuffer.h" />
    1890118899    <ClInclude Include="..\platform\ReferrerPolicy.h" />
    18902     <ClInclude Include="..\platform\RunLoop.h" />
    1890318900    <ClInclude Include="..\platform\RuntimeApplicationChecks.h" />
    1890418901    <ClInclude Include="..\platform\SchemeRegistry.h" />
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r158997 r159001  
    923923                297BE3D816C03CCE003316BD /* PlatformSpeechSynthesizerMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 29E4D8E016B0959800C84704 /* PlatformSpeechSynthesizerMac.mm */; };
    924924                297BE3DA16C043D8003316BD /* PlatformSpeechSynthesizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 297BE3D916C043D8003316BD /* PlatformSpeechSynthesizer.cpp */; };
    925                 29A309AC1561C99B00BBD8E5 /* RunLoopCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 29A309AB1561C99B00BBD8E5 /* RunLoopCF.cpp */; };
    926925                29A8122B0FBB9C1D00510293 /* AccessibilityTable.h in Headers */ = {isa = PBXBuildFile; fileRef = 29A8120D0FBB9C1D00510293 /* AccessibilityTable.h */; };
    927926                29A8122C0FBB9C1D00510293 /* AccessibilityList.h in Headers */ = {isa = PBXBuildFile; fileRef = 29A8120E0FBB9C1D00510293 /* AccessibilityList.h */; };
     
    47254724                BC06EE050BFD71AA00856E9D /* JSHTMLTableElement.h in Headers */ = {isa = PBXBuildFile; fileRef = BC06EE030BFD71AA00856E9D /* JSHTMLTableElement.h */; };
    47264725                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, ); }; };
    47294726                BC0B36A40CD3C67C00AC7EB5 /* Console.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC0B36A10CD3C67C00AC7EB5 /* Console.cpp */; };
    47304727                BC0B36A50CD3C67C00AC7EB5 /* Console.h in Headers */ = {isa = PBXBuildFile; fileRef = BC0B36A20CD3C67C00AC7EB5 /* Console.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    75237520                2985709215CC532D006355CD /* AccessibilityNodeObject.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilityNodeObject.cpp; sourceTree = "<group>"; };
    75247521                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>"; };
    75267522                29A8120D0FBB9C1D00510293 /* AccessibilityTable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityTable.h; sourceTree = "<group>"; };
    75277523                29A8120E0FBB9C1D00510293 /* AccessibilityList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityList.h; sourceTree = "<group>"; };
     
    1169211688                BC06F24D06D18A7E004A6FA3 /* XSLTProcessorLibxslt.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XSLTProcessorLibxslt.cpp; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
    1169311689                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>"; };
    1169611690                BC0B36A10CD3C67C00AC7EB5 /* Console.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Console.cpp; sourceTree = "<group>"; };
    1169711691                BC0B36A20CD3C67C00AC7EB5 /* Console.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Console.h; sourceTree = "<group>"; };
     
    1419914193                                5160306B0CC4362300C8AC25 /* FileSystemCF.cpp */,
    1420014194                                1A98956A0AA78F80005EF5EF /* URLCF.cpp */,
    14201                                 29A309AB1561C99B00BBD8E5 /* RunLoopCF.cpp */,
    1420214195                                512DD8E20D91E2B4000F89EE /* SharedBufferCF.cpp */,
    1420314196                        );
     
    2010120094                                A72EA3BA1585CF55004FAA26 /* RefCountedSupplement.h */,
    2010220095                                9831AE49154225A200FE2644 /* ReferrerPolicy.h */,
    20103                                 BC0B358514C4F9830055E22A /* RunLoop.cpp */,
    20104                                 BC0B358614C4F9830055E22A /* RunLoop.h */,
    2010520096                                293EAE201356B32E0067ACF9 /* RuntimeApplicationChecks.cpp */,
    2010620097                                293EAE1E1356B2FE0067ACF9 /* RuntimeApplicationChecks.h */,
     
    2427424265                                A79BADA2161E7F3F00C2E652 /* RuleFeature.h in Headers */,
    2427524266                                A79BADA4161E7F3F00C2E652 /* RuleSet.h in Headers */,
    24276                                 BC0B358814C4F9830055E22A /* RunLoop.h in Headers */,
    2427724267                                1A569D1F0D7E2B82007C3983 /* runtime_array.h in Headers */,
    2427824268                                1A569D210D7E2B82007C3983 /* runtime_method.h in Headers */,
     
    2749327483                                A79BADA3161E7F3F00C2E652 /* RuleSet.cpp in Sources */,
    2749427484                                078E090217D14CEE00420AA1 /* MediaStreamTrack.cpp in Sources */,
    27495                                 BC0B358714C4F9830055E22A /* RunLoop.cpp in Sources */,
    27496                                 29A309AC1561C99B00BBD8E5 /* RunLoopCF.cpp in Sources */,
    2749727485                                7C2BDD3D17C7F98C0038FF15 /* JSDOMGlobalObjectTask.cpp in Sources */,
    2749827486                                1A569D1E0D7E2B82007C3983 /* runtime_array.cpp in Sources */,
  • trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h

    r157248 r159001  
    3131#include "Image.h"
    3232#include "IntSize.h"
    33 #include "RunLoop.h"
    3433#include "TiledBackingStore.h"
    3534#include "TiledBackingStoreClient.h"
  • trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h

    r157248 r159001  
    3131#include "IntRect.h"
    3232#include "IntSize.h"
    33 #include "RunLoop.h"
    3433#include "TextureMapper.h"
    3534#include "TextureMapperBackingStore.h"
  • trunk/Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm

    r105552 r159001  
    7474
    7575#import <WebCore/WebCoreObjCExtras.h>
    76 #import <WebCore/RunLoop.h>
    7776#import <runtime/InitializeThreading.h>
    7877#import <wtf/MainThread.h>
     78#import <wtf/RunLoop.h>
    7979
    8080#import "WebKitLogging.h"
     
    273273    JSC::initializeThreading();
    274274    WTF::initializeMainThreadToProcessMainThread();
    275     WebCore::RunLoop::initializeMainRunLoop();
     275    RunLoop::initializeMainRunLoop();
    276276    WebCoreObjCFinalizeOnMainThread(self);
    277277}
  • trunk/Source/WebKit/mac/ChangeLog

    r158937 r159001  
     12013-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
    1472013-11-08  Mark Lam  <mark.lam@apple.com>
    248
  • trunk/Source/WebKit/mac/History/WebBackForwardList.mm

    r155512 r159001  
    4343#import <WebCore/Page.h>
    4444#import <WebCore/PageCache.h>
    45 #import <WebCore/RunLoop.h>
    4645#import <WebCore/Settings.h>
    4746#import <WebCore/ThreadCheck.h>
     
    5150#import <wtf/MainThread.h>
    5251#import <wtf/RetainPtr.h>
     52#import <wtf/RunLoop.h>
    5353#import <wtf/StdLibExtras.h>
    5454
     
    106106    JSC::initializeThreading();
    107107    WTF::initializeMainThreadToProcessMainThread();
    108     WebCore::RunLoop::initializeMainRunLoop();
     108    RunLoop::initializeMainRunLoop();
    109109    WebCoreObjCFinalizeOnMainThread(self);
    110110}
  • trunk/Source/WebKit/mac/History/WebHistoryItem.mm

    r157653 r159001  
    4848#import <WebCore/URL.h>
    4949#import <WebCore/PageCache.h>
    50 #import <WebCore/RunLoop.h>
    5150#import <WebCore/ThreadCheck.h>
    5251#import <WebCore/WebCoreObjCExtras.h>
     
    5453#import <wtf/Assertions.h>
    5554#import <wtf/MainThread.h>
     55#import <wtf/RunLoop.h>
    5656#import <wtf/StdLibExtras.h>
    5757#import <wtf/text/WTFString.h>
     
    9898    JSC::initializeThreading();
    9999    WTF::initializeMainThreadToProcessMainThread();
    100     WebCore::RunLoop::initializeMainRunLoop();
     100    RunLoop::initializeMainRunLoop();
    101101    WebCoreObjCFinalizeOnMainThread(self);
    102102}
  • trunk/Source/WebKit/mac/Misc/WebCache.mm

    r156918 r159001  
    3434#import <WebCore/CrossOriginPreflightResultCache.h>
    3535#import <WebCore/MemoryCache.h>
    36 #import <WebCore/RunLoop.h>
    3736#import <runtime/InitializeThreading.h>
    3837#import <wtf/MainThread.h>
     38#import <wtf/RunLoop.h>
    3939
    4040@implementation WebCache
     
    4444    JSC::initializeThreading();
    4545    WTF::initializeMainThreadToProcessMainThread();
    46     WebCore::RunLoop::initializeMainRunLoop();
     46    RunLoop::initializeMainRunLoop();
    4747    InitWebCoreSystemInterface();   
    4848}
  • trunk/Source/WebKit/mac/Misc/WebElementDictionary.mm

    r105552 r159001  
    4040#import <WebCore/HitTestResult.h>
    4141#import <WebCore/Image.h>
    42 #import <WebCore/RunLoop.h>
    4342#import <WebCore/WebCoreObjCExtras.h>
    4443#import <WebKit/DOMCore.h>
     
    4645#import <runtime/InitializeThreading.h>
    4746#import <wtf/MainThread.h>
     47#import <wtf/RunLoop.h>
    4848
    4949using namespace WebCore;
     
    6868    JSC::initializeThreading();
    6969    WTF::initializeMainThreadToProcessMainThread();
    70     WebCore::RunLoop::initializeMainRunLoop();
     70    RunLoop::initializeMainRunLoop();
    7171    WebCoreObjCFinalizeOnMainThread(self);
    7272}
  • trunk/Source/WebKit/mac/Misc/WebIconDatabase.mm

    r156878 r159001  
    4040#import <WebCore/Image.h>
    4141#import <WebCore/IntSize.h>
    42 #import <WebCore/RunLoop.h>
    4342#import <WebCore/SharedBuffer.h>
    4443#import <WebCore/ThreadCheck.h>
    4544#import <runtime/InitializeThreading.h>
    4645#import <wtf/MainThread.h>
     46#import <wtf/RunLoop.h>
    4747
    4848using namespace WebCore;
     
    9191    JSC::initializeThreading();
    9292    WTF::initializeMainThreadToProcessMainThread();
    93     WebCore::RunLoop::initializeMainRunLoop();
     93    RunLoop::initializeMainRunLoop();
    9494}
    9595
  • trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm

    r156921 r159001  
    4747#import <WebCore/ResourceError.h>
    4848#import <WebCore/WebCoreObjCExtras.h>
    49 #import <WebCore/RunLoop.h>
    5049#import <WebCore/runtime_root.h>
    5150#import <runtime/InitializeThreading.h>
     
    5352#import <wtf/MainThread.h>
    5453#import <wtf/ObjcRuntimeExtras.h>
     54#import <wtf/RunLoop.h>
    5555
    5656using namespace WebCore;
     
    7474    JSC::initializeThreading();
    7575    WTF::initializeMainThreadToProcessMainThread();
    76     WebCore::RunLoop::initializeMainRunLoop();
     76    RunLoop::initializeMainRunLoop();
    7777    WebCoreObjCFinalizeOnMainThread(self);
    7878    WKSendUserChangeNotifications();
  • trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm

    r156921 r159001  
    5656#import <WebCore/RenderView.h>
    5757#import <WebCore/RenderWidget.h>
    58 #import <WebCore/RunLoop.h>
    5958#import <WebCore/SecurityOrigin.h>
    6059#import <WebCore/WebCoreObjCExtras.h>
     
    6362#import <wtf/Assertions.h>
    6463#import <wtf/MainThread.h>
     64#import <wtf/RunLoop.h>
    6565#import <wtf/text/CString.h>
    6666
     
    7676    JSC::initializeThreading();
    7777    WTF::initializeMainThreadToProcessMainThread();
    78     WebCore::RunLoop::initializeMainRunLoop();
     78    RunLoop::initializeMainRunLoop();
    7979    WebCoreObjCFinalizeOnMainThread(self);
    8080    WKSendUserChangeNotifications();
  • trunk/Source/WebKit/mac/Plugins/WebBasePluginPackage.mm

    r154963 r159001  
    3030
    3131#import <algorithm>
    32 #import <WebCore/RunLoop.h>
    3332#import <WebCore/WebCoreObjCExtras.h>
    3433#import <WebKit/WebKitNSStringExtras.h>
     
    3938#import <wtf/MainThread.h>
    4039#import <wtf/ObjcRuntimeExtras.h>
     40#import <wtf/RunLoop.h>
    4141#import <wtf/Vector.h>
    4242#import <wtf/text/CString.h>
     
    6969    JSC::initializeThreading();
    7070    WTF::initializeMainThreadToProcessMainThread();
    71     WebCore::RunLoop::initializeMainRunLoop();
     71    RunLoop::initializeMainRunLoop();
    7272    WebCoreObjCFinalizeOnMainThread(self);
    7373}
  • trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.mm

    r157653 r159001  
    6868#import <WebCore/PluginMainThreadScheduler.h>
    6969#import <WebCore/ProxyServer.h>
    70 #import <WebCore/RunLoop.h>
    7170#import <WebCore/ScriptController.h>
    7271#import <WebCore/SecurityOrigin.h>
     
    8382#import <wtf/Assertions.h>
    8483#import <wtf/MainThread.h>
     84#import <wtf/RunLoop.h>
    8585#import <wtf/text/CString.h>
    8686
     
    195195    JSC::initializeThreading();
    196196    WTF::initializeMainThreadToProcessMainThread();
    197     WebCore::RunLoop::initializeMainRunLoop();
     197    RunLoop::initializeMainRunLoop();
    198198    WebCoreObjCFinalizeOnMainThread(self);
    199199    WKSendUserChangeNotifications();
  • trunk/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm

    r157653 r159001  
    6262#import <WebCore/Page.h>
    6363#import <WebCore/PlatformKeyboardEvent.h>
    64 #import <WebCore/RunLoop.h>
    6564#import <WebCore/Settings.h>
    6665#import <WebCore/SpellChecker.h>
     
    7271#import <wtf/MainThread.h>
    7372#import <wtf/PassRefPtr.h>
     73#import <wtf/RunLoop.h>
    7474#import <wtf/text/WTFString.h>
    7575
     
    108108    JSC::initializeThreading();
    109109    WTF::initializeMainThreadToProcessMainThread();
    110     WebCore::RunLoop::initializeMainRunLoop();
     110    RunLoop::initializeMainRunLoop();
    111111    WebCoreObjCFinalizeOnMainThread(self);
    112112}
  • trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm

    r158050 r159001  
    116116#import <WebCore/ResourceLoader.h>
    117117#import <WebCore/ResourceRequest.h>
    118 #import <WebCore/RunLoop.h>
    119118#import <WebCore/ScriptController.h>
    120119#import <WebCore/SharedBuffer.h>
     
    128127#import <wtf/MainThread.h>
    129128#import <wtf/PassRefPtr.h>
     129#import <wtf/RunLoop.h>
    130130#import <wtf/text/WTFString.h>
    131131
     
    20102010    JSC::initializeThreading();
    20112011    WTF::initializeMainThreadToProcessMainThread();
    2012     WebCore::RunLoop::initializeMainRunLoop();
     2012    RunLoop::initializeMainRunLoop();
    20132013    WebCoreObjCFinalizeOnMainThread(self);
    20142014}
  • trunk/Source/WebKit/mac/WebView/WebArchive.mm

    r157653 r159001  
    3737#import <WebCore/ArchiveResource.h>
    3838#import <WebCore/LegacyWebArchive.h>
    39 #import <WebCore/RunLoop.h>
    4039#import <WebCore/ThreadCheck.h>
    4140#import <WebCore/WebCoreObjCExtras.h>
    4241#import <wtf/MainThread.h>
     42#import <wtf/RunLoop.h>
    4343
    4444using namespace WebCore;
     
    7070    JSC::initializeThreading();
    7171    WTF::initializeMainThreadToProcessMainThread();
    72     WebCore::RunLoop::initializeMainRunLoop();
     72    RunLoop::initializeMainRunLoop();
    7373    WebCoreObjCFinalizeOnMainThread(self);
    7474}
  • trunk/Source/WebKit/mac/WebView/WebDataSource.mm

    r157753 r159001  
    5555#import <WebCore/ResourceBuffer.h>
    5656#import <WebCore/ResourceRequest.h>
    57 #import <WebCore/RunLoop.h>
    5857#import <WebCore/SharedBuffer.h>
    5958#import <WebCore/WebCoreObjCExtras.h>
     
    6665#import <wtf/RefPtr.h>
    6766#import <wtf/RetainPtr.h>
     67#import <wtf/RunLoop.h>
    6868
    6969using namespace WebCore;
     
    146146        JSC::initializeThreading();
    147147        WTF::initializeMainThreadToProcessMainThread();
    148         WebCore::RunLoop::initializeMainRunLoop();
     148        RunLoop::initializeMainRunLoop();
    149149        WebCoreObjCFinalizeOnMainThread(self);
    150150    }
  • trunk/Source/WebKit/mac/WebView/WebHTMLView.mm

    r158330 r159001  
    112112#import <WebCore/RenderWidget.h>
    113113#import <WebCore/ResourceBuffer.h>
    114 #import <WebCore/RunLoop.h>
    115114#import <WebCore/RuntimeApplicationChecks.h>
    116115#import <WebCore/SharedBuffer.h>
     
    132131#import <wtf/MainThread.h>
    133132#import <wtf/ObjcRuntimeExtras.h>
     133#import <wtf/RunLoop.h>
    134134
    135135#if USE(ACCELERATED_COMPOSITING)
     
    565565    JSC::initializeThreading();
    566566    WTF::initializeMainThreadToProcessMainThread();
    567     WebCore::RunLoop::initializeMainRunLoop();
     567    RunLoop::initializeMainRunLoop();
    568568    WebCoreObjCFinalizeOnMainThread(self);
    569569   
     
    22742274    JSC::initializeThreading();
    22752275    WTF::initializeMainThreadToProcessMainThread();
    2276     WebCore::RunLoop::initializeMainRunLoop();
     2276    RunLoop::initializeMainRunLoop();
    22772277    WebCoreObjCFinalizeOnMainThread(self);
    22782278}
  • trunk/Source/WebKit/mac/WebView/WebPreferences.mm

    r158599 r159001  
    4444#import <WebCore/NetworkStorageSession.h>
    4545#import <WebCore/ResourceHandle.h>
    46 #import <WebCore/RunLoop.h>
    4746#import <runtime/InitializeThreading.h>
    4847#import <wtf/MainThread.h>
    4948#import <wtf/RetainPtr.h>
     49#import <wtf/RunLoop.h>
    5050
    5151using namespace WebCore;
     
    307307    JSC::initializeThreading();
    308308    WTF::initializeMainThreadToProcessMainThread();
    309     WebCore::RunLoop::initializeMainRunLoop();
     309    RunLoop::initializeMainRunLoop();
    310310
    311311    NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
  • trunk/Source/WebKit/mac/WebView/WebResource.mm

    r155641 r159001  
    3939#import <WebCore/ArchiveResource.h>
    4040#import <WebCore/LegacyWebArchive.h>
    41 #import <WebCore/RunLoop.h>
    4241#import <WebCore/RuntimeApplicationChecks.h>
    4342#import <WebCore/TextEncoding.h>
     
    4645#import <WebCore/WebCoreURLResponse.h>
    4746#import <wtf/MainThread.h>
     47#import <wtf/RunLoop.h>
    4848
    4949using namespace WebCore;
     
    6969    JSC::initializeThreading();
    7070    WTF::initializeMainThreadToProcessMainThread();
    71     WebCore::RunLoop::initializeMainRunLoop();
     71    RunLoop::initializeMainRunLoop();
    7272    WebCoreObjCFinalizeOnMainThread(self);
    7373}
  • trunk/Source/WebKit/mac/WebView/WebTextIterator.mm

    r110033 r159001  
    2929#import "DOMRangeInternal.h"
    3030#import "WebTypesInternal.h"
    31 #import <wtf/Vector.h>
    32 #import <WebCore/RunLoop.h>
    3331#import <WebCore/TextIterator.h>
    3432#import <WebCore/WebCoreObjCExtras.h>
    3533#import <runtime/InitializeThreading.h>
    3634#import <wtf/MainThread.h>
     35#import <wtf/RunLoop.h>
     36#import <wtf/Vector.h>
    3737
    3838using namespace JSC;
     
    5151    JSC::initializeThreading();
    5252    WTF::initializeMainThreadToProcessMainThread();
    53     WebCore::RunLoop::initializeMainRunLoop();
     53    RunLoop::initializeMainRunLoop();
    5454    WebCoreObjCFinalizeOnMainThread(self);
    5555}
  • trunk/Source/WebKit/mac/WebView/WebView.mm

    r158652 r159001  
    166166#import <WebCore/ResourceLoadScheduler.h>
    167167#import <WebCore/ResourceRequest.h>
    168 #import <WebCore/RunLoop.h>
    169168#import <WebCore/RuntimeApplicationChecks.h>
    170169#import <WebCore/RuntimeEnabledFeatures.h>
     
    201200#import <wtf/RefCountedLeakCounter.h>
    202201#import <wtf/RefPtr.h>
     202#import <wtf/RunLoop.h>
    203203#import <wtf/StdLibExtras.h>
    204204
     
    33623362    JSC::initializeThreading();
    33633363    WTF::initializeMainThreadToProcessMainThread();
    3364     WebCore::RunLoop::initializeMainRunLoop();
     3364    RunLoop::initializeMainRunLoop();
    33653365
    33663366    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_applicationWillTerminate) name:NSApplicationWillTerminateNotification object:NSApp];
  • trunk/Source/WebKit/mac/WebView/WebViewData.mm

    r158137 r159001  
    3535#import <WebCore/WebCoreObjCExtras.h>
    3636#import <WebCore/HistoryItem.h>
    37 #import <WebCore/RunLoop.h>
    3837#import <objc/objc-auto.h>
    3938#import <runtime/InitializeThreading.h>
    4039#import <wtf/MainThread.h>
     40#import <wtf/RunLoop.h>
    4141
    4242BOOL applicationIsTerminating = NO;
     
    7575    JSC::initializeThreading();
    7676    WTF::initializeMainThreadToProcessMainThread();
    77     WebCore::RunLoop::initializeMainRunLoop();
     77    RunLoop::initializeMainRunLoop();
    7878    WebCoreObjCFinalizeOnMainThread(self);
    7979}
  • trunk/Source/WebKit2/ChangeLog

    r158992 r159001  
     12013-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
    1682013-11-08  Brady Eidson  <beidson@apple.com>
    269
  • trunk/Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp

    r157524 r159001  
    3131
    3232#if ENABLE(DATABASE_PROCESS)
    33 
    34 using namespace WebCore;
    3533
    3634namespace WebKit {
  • trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.cpp

    r157582 r159001  
    3030#include "DatabaseProcessIDBDatabaseBackendMessages.h"
    3131#include "DatabaseToWebProcessConnectionMessages.h"
    32 #include <WebCore/RunLoop.h>
     32#include <wtf/RunLoop.h>
    3333
    3434#if ENABLE(DATABASE_PROCESS)
  • trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp

    r156550 r159001  
    4040#include <WebCore/ResourceLoaderOptions.h>
    4141#include <WebCore/ResourceRequest.h>
    42 #include <WebCore/RunLoop.h>
     42#include <wtf/RunLoop.h>
    4343
    4444#if ENABLE(NETWORK_PROCESS)
  • trunk/Source/WebKit2/NetworkProcess/NetworkProcess.cpp

    r156354 r159001  
    4545#include <WebCore/Logging.h>
    4646#include <WebCore/ResourceRequest.h>
    47 #include <WebCore/RunLoop.h>
     47#include <wtf/RunLoop.h>
    4848#include <wtf/text/CString.h>
    4949
  • trunk/Source/WebKit2/NetworkProcess/NetworkProcess.h

    r157842 r159001  
    3535#include "NetworkResourceLoadScheduler.h"
    3636#include <wtf/Forward.h>
    37 
    38 namespace WebCore {
    39     class RunLoop;
    40 }
    4137
    4238namespace WebKit {
  • trunk/Source/WebKit2/NetworkProcess/NetworkResourceLoader.h

    r156688 r159001  
    3636#include <WebCore/ResourceLoaderOptions.h>
    3737#include <WebCore/ResourceRequest.h>
    38 #include <WebCore/RunLoop.h>
    3938#include <wtf/MainThread.h>
     39#include <wtf/RunLoop.h>
    4040
    4141typedef const struct _CFCachedURLResponse* CFCachedURLResponseRef;
  • trunk/Source/WebKit2/NetworkProcess/mac/DiskCacheMonitor.h

    r150669 r159001  
    2929#include "MessageSender.h"
    3030#include <WebCore/ResourceRequest.h>
    31 #include <WebCore/RunLoop.h>
     31#include <wtf/RunLoop.h>
    3232
    3333typedef const struct _CFCachedURLResponse* CFCachedURLResponseRef;
  • trunk/Source/WebKit2/NetworkProcess/unix/NetworkProcessMainUnix.cpp

    r157406 r159001  
    3333#include "WKBase.h"
    3434#include "WebKit2Initialize.h"
    35 #include <WebCore/RunLoop.h>
    3635#include <WebKit2/NetworkProcess.h>
    3736#include <error.h>
     
    3938#include <stdlib.h>
    4039#include <wtf/MainThread.h>
     40#include <wtf/RunLoop.h>
    4141#include <wtf/gobject/GRefPtr.h>
    4242
  • trunk/Source/WebKit2/Platform/CoreIPC/Connection.cpp

    r156360 r159001  
    2727#include "Connection.h"
    2828
    29 #include <WebCore/RunLoop.h>
    3029#include <wtf/CurrentTime.h>
    3130#include <wtf/HashSet.h>
     31#include <wtf/RunLoop.h>
    3232#include <wtf/text/WTFString.h>
    3333#include <wtf/threads/BinarySemaphore.h>
    34 
    35 using namespace WebCore;
    3634
    3735namespace CoreIPC {
  • trunk/Source/WebKit2/Platform/CoreIPC/Connection.h

    r157894 r159001  
    5050#endif
    5151
    52 namespace WebCore {
     52namespace WTF {
    5353class RunLoop;
    5454}
     
    118118#endif
    119119
    120     static PassRefPtr<Connection> createServerConnection(Identifier, Client*, WebCore::RunLoop* clientRunLoop);
    121     static PassRefPtr<Connection> createClientConnection(Identifier, Client*, WebCore::RunLoop* clientRunLoop);
     120    static PassRefPtr<Connection> createServerConnection(Identifier, Client*, WTF::RunLoop* clientRunLoop);
     121    static PassRefPtr<Connection> createClientConnection(Identifier, Client*, WTF::RunLoop* clientRunLoop);
    122122    ~Connection();
    123123
     
    168168
    169169private:
    170     Connection(Identifier, bool isServer, Client*, WebCore::RunLoop* clientRunLoop);
     170    Connection(Identifier, bool isServer, Client*, WTF::RunLoop* clientRunLoop);
    171171    void platformInitialize(Identifier);
    172172    void platformInvalidate();
     
    214214    bool m_isConnected;
    215215    RefPtr<WorkQueue> m_connectionQueue;
    216     WebCore::RunLoop* m_clientRunLoop;
     216    WTF::RunLoop* m_clientRunLoop;
    217217
    218218    HashMap<StringReference, std::pair<RefPtr<WorkQueue>, RefPtr<WorkQueueMessageReceiver>>> m_workQueueMessageReceivers;
  • trunk/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp

    r158890 r159001  
    3131#include "MachPort.h"
    3232#include "MachUtilities.h"
    33 #include <WebCore/RunLoop.h>
    3433#include <mach/mach_error.h>
    3534#include <mach/vm_map.h>
     35#include <wtf/RunLoop.h>
    3636#include <xpc/xpc.h>
    37 
    38 using namespace WebCore;
    3937
    4038namespace CoreIPC {
  • trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm

    r157137 r159001  
    3333#import "PluginProcess.h"
    3434#import "WKBase.h"
    35 #import <WebCore/RunLoop.h>
     35#import <wtf/RunLoop.h>
    3636
    3737#if USE(APPKIT)
  • trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm

    r157894 r159001  
    3030#import "WKBase.h"
    3131#import "XPCServiceEntryPoint.h"
    32 #import <WebCore/RunLoop.h>
     32#import <wtf/RunLoop.h>
    3333
    3434namespace WebKit {
     
    6060} // namespace WebKit
    6161
    62 using namespace WebCore;
    6362using namespace WebKit;
    6463
  • trunk/Source/WebKit2/PluginProcess/PluginControllerProxy.h

    r156688 r159001  
    3535#include "ShareableBitmap.h"
    3636#include "WebProcessConnectionMessages.h"
    37 #include <WebCore/RunLoop.h>
    3837#include <WebCore/SecurityOrigin.h>
    3938#include <wtf/Noncopyable.h>
     39#include <wtf/RunLoop.h>
    4040
    4141namespace CoreIPC {
     
    184184
    185185    // The paint timer, used for coalescing painting.
    186     WebCore::RunLoop::Timer<PluginControllerProxy> m_paintTimer;
     186    RunLoop::Timer<PluginControllerProxy> m_paintTimer;
    187187   
    188188    // A counter used to prevent the plug-in from being destroyed.
     
    191191    // A timer that we use to prevent destruction of the plug-in while plug-in
    192192    // code is on the stack.
    193     WebCore::RunLoop::Timer<PluginControllerProxy> m_pluginDestroyTimer;
     193    RunLoop::Timer<PluginControllerProxy> m_pluginDestroyTimer;
    194194
    195195    // 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  
    3939#include <WebCore/MemoryPressureHandler.h>
    4040#include <WebCore/NotImplemented.h>
    41 #include <WebCore/RunLoop.h>
     41#include <wtf/RunLoop.h>
    4242
    4343#if PLATFORM(MAC)
  • trunk/Source/WebKit2/PluginProcess/PluginProcess.h

    r157137 r159001  
    110110    bool m_supportsAsynchronousPluginInitialization;
    111111
    112     WebCore::RunLoop::Timer<PluginProcess> m_minimumLifetimeTimer;
     112    RunLoop::Timer<PluginProcess> m_minimumLifetimeTimer;
    113113
    114114#if USE(ACCELERATED_COMPOSITING) && PLATFORM(MAC)
  • trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp

    r156688 r159001  
    4040#include "PluginProxyMessages.h"
    4141#include "WebProcessConnectionMessages.h"
    42 #include <WebCore/RunLoop.h>
    4342#include <unistd.h>
     43#include <wtf/RunLoop.h>
    4444
    4545using namespace WebCore;
  • trunk/Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp

    r155032 r159001  
    3535#include "PluginProcess.h"
    3636#include "WebKit2Initialize.h"
    37 #include <WebCore/RunLoop.h>
     37#include <wtf/RunLoop.h>
    3838#if PLATFORM(GTK)
    3939#include <gtk/gtk.h>
  • trunk/Source/WebKit2/Shared/ChildProcess.cpp

    r157137 r159001  
    2929#include "SandboxInitializationParameters.h"
    3030#include <unistd.h>
    31 
    32 using namespace WebCore;
    3331
    3432namespace WebKit {
  • trunk/Source/WebKit2/Shared/ChildProcess.h

    r157137 r159001  
    3030#include "MessageReceiverMap.h"
    3131#include "MessageSender.h"
    32 #include <WebCore/RunLoop.h>
    3332#include <wtf/HashMap.h>
    3433#include <wtf/RetainPtr.h>
     34#include <wtf/RunLoop.h>
    3535#include <wtf/text/StringHash.h>
    3636#include <wtf/text/WTFString.h>
     
    115115    unsigned m_terminationCounter;
    116116
    117     WebCore::RunLoop::Timer<ChildProcess> m_terminationTimer;
     117    RunLoop::Timer<ChildProcess> m_terminationTimer;
    118118
    119119    RefPtr<CoreIPC::Connection> m_connection;
     
    125125    size_t m_activeTaskCount;
    126126    bool m_shouldSuspend;
    127     WebCore::RunLoop::Timer<ChildProcess> m_suspensionHysteresisTimer;
     127    RunLoop::Timer<ChildProcess> m_suspensionHysteresisTimer;
    128128    RetainPtr<id> m_processSuppressionAssertion;
    129129#endif
  • trunk/Source/WebKit2/Shared/ChildProcessProxy.cpp

    r156508 r159001  
    2727#include "ChildProcessProxy.h"
    2828
    29 #include <WebCore/RunLoop.h>
    30 
    31 using namespace WebCore;
     29#include <wtf/RunLoop.h>
    3230
    3331namespace WebKit {
  • trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h

    r157137 r159001  
    3030#import "CommandLine.h"
    3131#import "WebKit2Initialize.h"
    32 #import <WebCore/RunLoop.h>
    3332#import <WebKitSystemInterface.h>
    3433#import <sysexits.h>
     34#import <wtf/RunLoop.h>
    3535
    3636namespace WebKit {
  • trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm

    r157137 r159001  
    3434
    3535#define SHOW_CRASH_REPORTER 1
    36 
    37 using namespace WebCore;
    3836
    3937namespace WebKit {
  • trunk/Source/WebKit2/Shared/Plugins/NPObjectProxy.cpp

    r156069 r159001  
    3636#include "NPRuntimeUtilities.h"
    3737#include "NPVariantData.h"
    38 #include <WebCore/RunLoop.h>
    3938#include <wtf/MainThread.h>
    40 
    41 using namespace WebCore;
     39#include <wtf/RunLoop.h>
    4240
    4341namespace WebKit {
  • trunk/Source/WebKit2/Shared/WebKit2Initialize.cpp

    r153736 r159001  
    2929#include "Logging.h"
    3030#include <WebCore/Logging.h>
    31 #include <WebCore/RunLoop.h>
    3231#include <runtime/InitializeThreading.h>
    3332#include <wtf/MainThread.h>
     33#include <wtf/RunLoop.h>
    3434
    3535#if PLATFORM(MAC)
     
    4747    JSC::initializeThreading();
    4848    WTF::initializeMainThread();
    49     WebCore::RunLoop::initializeMainRunLoop();
     49    RunLoop::initializeMainRunLoop();
    5050
    5151#if !LOG_DISABLED
  • trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFaviconDatabase.cpp

    r155930 r159001  
    2828#include <WebCore/IntSize.h>
    2929#include <WebCore/RefPtrCairo.h>
    30 #include <WebCore/RunLoop.h>
    3130#include <glib/gi18n-lib.h>
     31#include <wtf/RunLoop.h>
    3232#include <wtf/gobject/GOwnPtr.h>
    3333#include <wtf/gobject/GRefPtr.h>
  • trunk/Source/WebKit2/UIProcess/API/mac/FindIndicatorWindow.h

    r156688 r159001  
    2828
    2929#import "WebKitSystemInterface.h"
    30 #import <WebCore/RunLoop.h>
    3130#import <wtf/Noncopyable.h>
    3231#import <wtf/RefPtr.h>
    3332#import <wtf/RetainPtr.h>
     33#import <wtf/RunLoop.h>
    3434
    3535@class WKFindIndicatorWindowAnimation;
     
    6767    RetainPtr<WKFindIndicatorWindowAnimation> m_bounceAnimation;
    6868
    69     WebCore::RunLoop::Timer<FindIndicatorWindow> m_startFadeOutTimer;
     69    RunLoop::Timer<FindIndicatorWindow> m_startFadeOutTimer;
    7070    RetainPtr<WKFindIndicatorWindowAnimation> m_fadeOutAnimation;
    7171};
  • trunk/Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm

    r155911 r159001  
    3535#import <PDFKit/PDFKit.h>
    3636#import <WebCore/GraphicsContext.h>
    37 #import <WebCore/RunLoop.h>
    3837#import <WebCore/WebCoreObjCExtras.h>
     38#import <wtf/RunLoop.h>
    3939
    4040using namespace WebKit;
  • trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm

    r158451 r159001  
    8080#import <WebCore/PlatformScreen.h>
    8181#import <WebCore/Region.h>
    82 #import <WebCore/RunLoop.h>
    8382#import <WebCore/SharedBuffer.h>
    8483#import <WebCore/TextAlternativeWithRange.h>
     
    9190#import <wtf/RefPtr.h>
    9291#import <wtf/RetainPtr.h>
     92#import <wtf/RunLoop.h>
    9393
    9494/* API internals. */
  • trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h

    r157996 r159001  
    3333#include "DrawingAreaProxy.h"
    3434#include "LayerTreeContext.h"
    35 #include <WebCore/RunLoop.h>
    3635#include <wtf/OwnPtr.h>
     36#include <wtf/RunLoop.h>
    3737
    3838namespace WebCore {
     
    117117    std::unique_ptr<BackingStore> m_backingStore;
    118118
    119     WebCore::RunLoop::Timer<CoordinatedDrawingAreaProxy> m_discardBackingStoreTimer;
     119    RunLoop::Timer<CoordinatedDrawingAreaProxy> m_discardBackingStoreTimer;
    120120};
    121121
  • trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h

    r158084 r159001  
    3030#include "DrawingAreaProxy.h"
    3131#include "LayerTreeContext.h"
    32 #include <WebCore/RunLoop.h>
    3332#include <wtf/OwnPtr.h>
     33#include <wtf/RunLoop.h>
    3434
    3535namespace WebCore {
     
    110110    std::unique_ptr<BackingStore> m_backingStore;
    111111
    112     WebCore::RunLoop::Timer<DrawingAreaProxyImpl> m_discardBackingStoreTimer;
     112    RunLoop::Timer<DrawingAreaProxyImpl> m_discardBackingStoreTimer;
    113113};
    114114
  • trunk/Source/WebKit2/UIProcess/Launcher/efl/ProcessLauncherEfl.cpp

    r156333 r159001  
    2828#include <WebCore/NetworkingContext.h>
    2929#include <WebCore/ResourceHandle.h>
    30 #include <WebCore/RunLoop.h>
    3130#include <sys/socket.h>
     31#include <wtf/RunLoop.h>
    3232#include <wtf/StdLibExtras.h>
    3333#include <wtf/text/CString.h>
  • trunk/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp

    r158444 r159001  
    3434#include <WebCore/NetworkingContext.h>
    3535#include <WebCore/ResourceHandle.h>
    36 #include <WebCore/RunLoop.h>
    3736#include <errno.h>
    3837#include <glib.h>
    3938#include <locale.h>
     39#include <wtf/RunLoop.h>
    4040#include <wtf/text/CString.h>
    4141#include <wtf/text/WTFString.h>
  • trunk/Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm

    r157894 r159001  
    3030#import "EnvironmentVariables.h"
    3131#import "WebKitSystemInterface.h"
    32 #import <WebCore/RunLoop.h>
    3332#import <crt_externs.h>
    3433#import <mach-o/dyld.h>
     
    4140#import <wtf/PassRefPtr.h>
    4241#import <wtf/RetainPtr.h>
     42#import <wtf/RunLoop.h>
    4343#import <wtf/Threading.h>
    4444#import <wtf/text/CString.h>
    4545#import <wtf/text/WTFString.h>
    4646#import <xpc/xpc.h>
    47 
    48 using namespace WebCore;
    4947
    5048// FIXME: We should be doing this another way.
  • trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp

    r156354 r159001  
    3636#include "WebContext.h"
    3737#include "WebProcessMessages.h"
    38 #include <WebCore/RunLoop.h>
     38#include <wtf/RunLoop.h>
    3939
    4040#if USE(SECURITY_FRAMEWORK)
  • trunk/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp

    r156847 r159001  
    3838#include "WebProcessProxy.h"
    3939#include <WebCore/NotImplemented.h>
    40 #include <WebCore/RunLoop.h>
     40#include <wtf/RunLoop.h>
    4141
    4242#if PLATFORM(MAC)
  • trunk/Source/WebKit2/UIProcess/ResponsivenessTimer.cpp

    r114451 r159001  
    2626#include "config.h"
    2727#include "ResponsivenessTimer.h"
    28 
    29 using namespace WebCore;
    3028
    3129namespace WebKit {
  • trunk/Source/WebKit2/UIProcess/ResponsivenessTimer.h

    r128683 r159001  
    2727#define ResponsivenessTimer_h
    2828
    29 #include <WebCore/RunLoop.h>
     29#include <wtf/RunLoop.h>
    3030
    3131namespace WebKit {
     
    5757    bool m_isResponsive;
    5858
    59     WebCore::RunLoop::Timer<ResponsivenessTimer> m_timer;
     59    RunLoop::Timer<ResponsivenessTimer> m_timer;
    6060};
    6161
  • trunk/Source/WebKit2/UIProcess/VisitedLinkProvider.h

    r127614 r159001  
    2929#include "VisitedLinkTable.h"
    3030#include <WebCore/LinkHash.h>
    31 #include <WebCore/RunLoop.h>
    3231#include <wtf/Forward.h>
    3332#include <wtf/HashSet.h>
     33#include <wtf/RunLoop.h>
    3434
    3535namespace WebKit {
     
    6161
    6262    HashSet<WebCore::LinkHash, WebCore::LinkHashHash> m_pendingVisitedLinks;
    63     WebCore::RunLoop::Timer<VisitedLinkProvider> m_pendingVisitedLinksTimer;
     63    RunLoop::Timer<VisitedLinkProvider> m_pendingVisitedLinksTimer;
    6464};
    6565
  • trunk/Source/WebKit2/UIProcess/WebContext.cpp

    r158600 r159001  
    6161#include <WebCore/Logging.h>
    6262#include <WebCore/ResourceRequest.h>
    63 #include <WebCore/RunLoop.h>
    6463#include <runtime/InitializeThreading.h>
    6564#include <runtime/Operations.h>
    6665#include <wtf/CurrentTime.h>
    6766#include <wtf/MainThread.h>
     67#include <wtf/RunLoop.h>
    6868
    6969#if ENABLE(BATTERY_STATUS)
  • trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp

    r157700 r159001  
    4242#include "WebProcessMessages.h"
    4343#include "WebProcessProxyMessages.h"
     44#include <WebCore/SuddenTermination.h>
    4445#include <WebCore/URL.h>
    45 #include <WebCore/RunLoop.h>
    46 #include <WebCore/SuddenTermination.h>
    4746#include <stdio.h>
     47#include <wtf/RunLoop.h>
    4848#include <wtf/text/CString.h>
    4949#include <wtf/text/WTFString.h>
  • trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.cpp

    r157582 r159001  
    3131#include "WebProcess.h"
    3232#include "WebProcessIDBDatabaseBackend.h"
    33 #include <WebCore/RunLoop.h>
     33#include <wtf/RunLoop.h>
    3434
    3535#if ENABLE(INDEXED_DATABASE)
  • trunk/Source/WebKit2/WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm

    r157137 r159001  
    3232#import "WKBase.h"
    3333#import "WebProcess.h"
    34 #import <WebCore/RunLoop.h>
    3534#import <mach/mach_error.h>
    3635#import <servers/bootstrap.h>
     
    3837#import <stdio.h>
    3938#import <wtf/RetainPtr.h>
     39#import <wtf/RunLoop.h>
    4040#import <wtf/text/CString.h>
    4141#import <wtf/text/WTFString.h>
  • trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm

    r157894 r159001  
    3030#import "WebProcess.h"
    3131#import "XPCServiceEntryPoint.h"
    32 #import <WebCore/RunLoop.h>
     32#import <wtf/RunLoop.h>
    3333
    3434using namespace WebCore;
  • trunk/Source/WebKit2/WebProcess/Network/WebResourceLoadScheduler.h

    r156550 r159001  
    3131#include <WebCore/ResourceLoadScheduler.h>
    3232#include <WebCore/ResourceLoader.h>
    33 #include <WebCore/RunLoop.h>
     33#include <wtf/RunLoop.h>
    3434
    3535#if ENABLE(NETWORK_PROCESS)
     
    6969   
    7070    HashSet<RefPtr<WebCore::ResourceLoader>> m_internallyFailedResourceLoaders;
    71     WebCore::RunLoop::Timer<WebResourceLoadScheduler> m_internallyFailedLoadTimer;
     71    RunLoop::Timer<WebResourceLoadScheduler> m_internallyFailedLoadTimer;
    7272   
    7373    HashMap<unsigned long, RefPtr<WebResourceLoader>> m_webResourceLoaders;
  • trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h

    r151060 r159001  
    2929#if ENABLE(NETSCAPE_PLUGIN_API)
    3030
    31 #include <WebCore/RunLoop.h>
    3231#include <heap/Weak.h>
    3332#include <heap/WeakInlines.h>
    3433#include <wtf/Forward.h>
    3534#include <wtf/HashMap.h>
     35#include <wtf/RunLoop.h>
    3636
    3737struct NPObject;
     
    9999    HashMap<NPObject*, JSC::Weak<JSNPObject>> m_jsNPObjects;
    100100    Vector<NPObject*> m_npObjectsToFinalize;
    101     WebCore::RunLoop::Timer<NPRuntimeObjectMap> m_finalizationTimer;
     101    RunLoop::Timer<NPRuntimeObjectMap> m_finalizationTimer;
    102102};
    103103
  • trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.h

    r156688 r159001  
    3434#include <WebCore/GraphicsLayer.h>
    3535#include <WebCore/IntRect.h>
    36 #include <WebCore/RunLoop.h>
    3736#include <wtf/HashMap.h>
     37#include <wtf/RunLoop.h>
    3838#include <wtf/text/CString.h>
    3939#include <wtf/text/StringHash.h>
     
    331331        TimerFunc m_timerFunc;
    332332
    333         WebCore::RunLoop::Timer<Timer> m_timer;
     333        RunLoop::Timer<Timer> m_timer;
    334334    };
    335335    typedef HashMap<unsigned, std::unique_ptr<Timer>> TimerMap;
     
    378378    // FIXME: It's a bit wasteful to have one null event timer per plug-in.
    379379    // We should investigate having one per window.
    380     WebCore::RunLoop::Timer<NetscapePlugin> m_nullEventTimer;
     380    RunLoop::Timer<NetscapePlugin> m_nullEventTimer;
    381381    NP_CGContext m_npCGContext;
    382382#endif
  • trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h

    r156550 r159001  
    3030
    3131#include <WebCore/FileSystem.h>
    32 #include <WebCore/RunLoop.h>
    3332#include <WebCore/npruntime_internal.h>
    3433#include <wtf/Forward.h>
     
    3635#include <wtf/RefCounted.h>
    3736#include <wtf/RefPtr.h>
     37#include <wtf/RunLoop.h>
    3838#include <wtf/text/CString.h>
    3939
     
    106106    CString m_headers;
    107107
    108     WebCore::RunLoop::Timer<NetscapePluginStream> m_deliveryDataTimer;
     108    RunLoop::Timer<NetscapePluginStream> m_deliveryDataTimer;
    109109    OwnPtr< Vector<uint8_t>> m_deliveryData;
    110110    bool m_stopStreamWhenDoneDelivering;
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginView.h

    r155888 r159001  
    3737#include <WebCore/ResourceError.h>
    3838#include <WebCore/ResourceResponse.h>
    39 #include <WebCore/RunLoop.h>
    4039#include <WebCore/Timer.h>
    4140#include <wtf/Deque.h>
     41#include <wtf/RunLoop.h>
    4242
    4343// FIXME: Eventually this should move to WebCore.
     
    235235    // Pending URLRequests that the plug-in has made.
    236236    Deque<RefPtr<URLRequest>> m_pendingURLRequests;
    237     WebCore::RunLoop::Timer<PluginView> m_pendingURLRequestsTimer;
     237    RunLoop::Timer<PluginView> m_pendingURLRequestsTimer;
    238238
    239239    // Pending frame loads that the plug-in has made.
  • trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h

    r156861 r159001  
    3333#include "LayerTreeHost.h"
    3434#include <WebCore/Region.h>
    35 #include <WebCore/RunLoop.h>
     35#include <wtf/RunLoop.h>
    3636
    3737namespace WebKit {
     
    125125    bool m_isPaintingSuspended;
    126126
    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;
    129129
    130130    // The layer tree host that handles accelerated compositing.
  • trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h

    r156861 r159001  
    3030#include "LayerTreeHost.h"
    3131#include <WebCore/Region.h>
    32 #include <WebCore/RunLoop.h>
     32#include <wtf/RunLoop.h>
    3333
    3434namespace WebCore {
     
    128128    bool m_alwaysUseCompositing;
    129129
    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;
    132132
    133133    // The layer tree host that handles accelerated compositing.
  • trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp

    r157700 r159001  
    3434#include "WebProcess.h"
    3535#include <WebCore/Page.h>
    36 #include <WebCore/RunLoop.h>
    3736#include <wtf/MainThread.h>
     37#include <wtf/RunLoop.h>
    3838
    3939#if ENABLE(THREADED_SCROLLING)
  • trunk/Source/WebKit2/WebProcess/WebPage/PageOverlay.h

    r154737 r159001  
    2929#include "APIObject.h"
    3030#include "WKBase.h"
    31 #include <WebCore/RunLoop.h>
    3231#include <wtf/PassRefPtr.h>
     32#include <wtf/RunLoop.h>
    3333
    3434namespace WebCore {
     
    9191    WebPage* m_webPage;
    9292
    93     WebCore::RunLoop::Timer<PageOverlay> m_fadeAnimationTimer;
     93    RunLoop::Timer<PageOverlay> m_fadeAnimationTimer;
    9494    double m_fadeAnimationStartTime;
    9595    double m_fadeAnimationDuration;
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r158599 r159001  
    126126#include <WebCore/ResourceRequest.h>
    127127#include <WebCore/ResourceResponse.h>
    128 #include <WebCore/RunLoop.h>
    129128#include <WebCore/RuntimeEnabledFeatures.h>
    130129#include <WebCore/SchemeRegistry.h>
     
    143142#include <runtime/JSLock.h>
    144143#include <runtime/Operations.h>
     144#include <wtf/RunLoop.h>
    145145
    146146#if ENABLE(MHTML)
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h

    r158451 r159001  
    863863    String m_primaryPlugInOrigin;
    864864    String m_primaryPlugInMimeType;
    865     WebCore::RunLoop::Timer<WebPage> m_determinePrimarySnapshottedPlugInTimer;
     865    RunLoop::Timer<WebPage> m_determinePrimarySnapshottedPlugInTimer;
    866866#endif
    867867
     
    902902    RefPtr<PageBanner> m_footerBanner;
    903903
    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;
    906906    bool m_mayStartMediaWhenInWindow;
    907907
  • trunk/Source/WebKit2/WebProcess/WebProcess.cpp

    r157653 r159001  
    7575#include <WebCore/PageGroup.h>
    7676#include <WebCore/ResourceHandle.h>
    77 #include <WebCore/RunLoop.h>
    7877#include <WebCore/SchemeRegistry.h>
    7978#include <WebCore/SecurityOrigin.h>
     
    8483#include <wtf/HashCountedSet.h>
    8584#include <wtf/PassRefPtr.h>
     85#include <wtf/RunLoop.h>
    8686#include <wtf/text/StringHash.h>
    8787
  • trunk/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp

    r149283 r159001  
    3737#include <WebCore/NetworkingContext.h>
    3838#include <WebCore/ResourceHandle.h>
    39 #include <WebCore/RunLoop.h>
    4039#include <WebKit2/WebProcess.h>
    4140#include <libsoup/soup.h>
    4241#include <runtime/Operations.h>
    4342#include <unistd.h>
     43#include <wtf/RunLoop.h>
    4444#include <wtf/text/CString.h>
    4545
  • trunk/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp

    r148886 r159001  
    3333#include <WebCore/NetworkingContext.h>
    3434#include <WebCore/ResourceHandle.h>
    35 #include <WebCore/RunLoop.h>
    3635#include <WebKit2/WebProcess.h>
    3736#include <gtk/gtk.h>
     
    3938#include <libsoup/soup.h>
    4039#include <unistd.h>
     40#include <wtf/RunLoop.h>
    4141#include <wtf/gobject/GOwnPtr.h>
    4242#include <wtf/gobject/GRefPtr.h>
Note: See TracChangeset for help on using the changeset viewer.