Changeset 153483 in webkit
- Timestamp:
- Jul 30, 2013 11:54:18 AM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 14 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r153460 r153483 1 2013-07-30 Patrick Gansterer <paroga@webkit.org> 2 3 Move WindowsExtras.h from WebCore to WTF 4 https://bugs.webkit.org/show_bug.cgi?id=118125 5 6 Reviewed by Anders Carlsson. 7 8 Move it to WTF to be able to use the functions in WTF too. 9 10 * wtf/WindowsExtras.h: Renamed from Source/WebCore/platform/win/WindowsExtras.h. 11 (WTF::getRegistryValue): 12 (WTF::getWindowPointer): 13 (WTF::setWindowPointer): 14 * wtf/win/MainThreadWin.cpp: 15 (WTF::initializeMainThreadPlatform): 16 1 17 2013-07-29 Carlos Garcia Campos <cgarcia@igalia.com> 2 18 -
trunk/Source/WTF/wtf/WindowsExtras.h
r153482 r153483 26 26 #define WindowsExtras_h 27 27 28 #if OS(WINDOWS) 29 28 30 #include <windows.h> 29 31 #include <objbase.h> 30 32 #include <shlwapi.h> 31 33 32 namespace WebCore {33 34 34 #ifndef HWND_MESSAGE 35 35 const HWND HWND_MESSAGE = 0; 36 36 #endif 37 38 namespace WTF { 37 39 38 40 inline HRESULT getRegistryValue(HKEY hkey, LPCWSTR pszSubKey, LPCWSTR pszValue, LPDWORD pdwType, LPVOID pvData, LPDWORD pcbData) … … 68 70 } 69 71 70 } // namespace WebCore 72 } // namespace WTF 73 74 using WTF::getRegistryValue; 75 using WTF::getWindowPointer; 76 using WTF::setWindowPointer; 77 78 #endif // OS(WINDOWS) 71 79 72 80 #endif // WindowsExtras_h -
trunk/Source/WTF/wtf/win/MainThreadWin.cpp
r137054 r153483 33 33 #include "Assertions.h" 34 34 #include "Threading.h" 35 #include <windows.h>35 #include "WindowsExtras.h" 36 36 37 37 namespace WTF { … … 55 55 return; 56 56 57 HWND hWndParent = 0;58 57 WNDCLASSW wcex; 59 58 memset(&wcex, 0, sizeof(WNDCLASSW)); … … 61 60 wcex.lpszClassName = kThreadingWindowClassName; 62 61 RegisterClassW(&wcex); 63 #if !OS(WINCE)64 hWndParent = HWND_MESSAGE;65 #endif66 62 67 63 threadingWindowHandle = CreateWindowW(kThreadingWindowClassName, 0, 0, 68 CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, hWndParent, 0, 0, 0);64 CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, HWND_MESSAGE, 0, 0, 0); 69 65 threadingFiredMessage = RegisterWindowMessageW(L"com.apple.WebKit.MainThreadFired"); 70 66 -
trunk/Source/WebCore/ChangeLog
r153480 r153483 1 2013-07-30 Patrick Gansterer <paroga@webkit.org> 2 3 Move WindowsExtras.h from WebCore to WTF 4 https://bugs.webkit.org/show_bug.cgi?id=118125 5 6 Reviewed by Anders Carlsson. 7 8 Move it to WTF to be able to use the functions in WTF too. 9 10 * platform/PlatformKeyboardEvent.h: 11 * platform/PlatformMouseEvent.h: 12 * platform/PlatformWheelEvent.h: 13 * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h: 14 * platform/win/MIMETypeRegistryWin.cpp: 15 * platform/win/PasteboardWin.cpp: 16 * platform/win/PopupMenuWin.cpp: 17 * platform/win/RunLoopWin.cpp: 18 * platform/win/SharedTimerWin.cpp: 19 * platform/win/WindowMessageListener.h: 20 * plugins/win/PluginDatabaseWin.cpp: 21 1 22 2013-07-30 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 23 -
trunk/Source/WebCore/platform/PlatformKeyboardEvent.h
r149186 r153483 29 29 30 30 #include "PlatformEvent.h" 31 #if OS(WINDOWS) 32 #include "WindowsExtras.h" 33 #endif 31 #include <wtf/WindowsExtras.h> 34 32 #include <wtf/text/WTFString.h> 35 33 -
trunk/Source/WebCore/platform/PlatformMouseEvent.h
r149186 r153483 29 29 #include "IntPoint.h" 30 30 #include "PlatformEvent.h" 31 #if OS(WINDOWS) 32 #include "WindowsExtras.h" 33 #endif 31 #include <wtf/WindowsExtras.h> 34 32 35 33 #if PLATFORM(GTK) -
trunk/Source/WebCore/platform/PlatformWheelEvent.h
r149186 r153483 29 29 #include "IntPoint.h" 30 30 #include "PlatformEvent.h" 31 #if OS(WINDOWS) 32 #include "WindowsExtras.h" 33 #endif 31 #include <wtf/WindowsExtras.h> 34 32 35 33 #if PLATFORM(GTK) -
trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h
r125506 r153483 27 27 #define MediaPlayerPrivateFullscreenWindow_h 28 28 29 #if OS(WINDOWS)30 #include "WindowsExtras.h"31 #endif32 29 #include <wtf/RefPtr.h> 30 #include <wtf/WindowsExtras.h> 33 31 34 32 #if USE(ACCELERATED_COMPOSITING) -
trunk/Source/WebCore/platform/win/MIMETypeRegistryWin.cpp
r152142 r153483 27 27 #include "MIMETypeRegistry.h" 28 28 29 #include "WindowsExtras.h"30 29 #include <wtf/Assertions.h> 31 30 #include <wtf/HashMap.h> 32 31 #include <wtf/MainThread.h> 32 #include <wtf/WindowsExtras.h> 33 33 34 34 namespace WebCore { -
trunk/Source/WebCore/platform/win/PasteboardWin.cpp
r152927 r153483 49 49 #include "TextEncoding.h" 50 50 #include "WebCoreInstanceHandle.h" 51 #include "WindowsExtras.h"52 51 #include "markup.h" 52 #include <wtf/WindowsExtras.h> 53 53 #include <wtf/text/CString.h> 54 54 -
trunk/Source/WebCore/platform/win/PopupMenuWin.cpp
r138182 r153483 46 46 #include "TextRun.h" 47 47 #include "WebCoreInstanceHandle.h" 48 #include "WindowsExtras.h"48 #include <wtf/WindowsExtras.h> 49 49 50 50 #include <windows.h> -
trunk/Source/WebCore/platform/win/RunLoopWin.cpp
r149358 r153483 27 27 #include "RunLoop.h" 28 28 29 #include "WindowsExtras.h"30 29 #include <wtf/CurrentTime.h> 30 #include <wtf/WindowsExtras.h> 31 31 32 32 using namespace std; -
trunk/Source/WebCore/platform/win/SharedTimerWin.cpp
r149186 r153483 33 33 #include <wtf/Assertions.h> 34 34 #include <wtf/CurrentTime.h> 35 36 #include "WindowsExtras.h" 35 #include <wtf/WindowsExtras.h> 36 37 37 #include <mmsystem.h> 38 38 -
trunk/Source/WebCore/platform/win/WindowMessageListener.h
r125506 r153483 30 30 #define WindowMessageListener_h 31 31 32 #if OS(WINDOWS) 33 #include "WindowsExtras.h" 34 #endif 32 #include <windows.h> 35 33 36 34 namespace WebCore { -
trunk/Source/WebCore/plugins/win/PluginDatabaseWin.cpp
r152142 r153483 32 32 #include "KURL.h" 33 33 #include "PluginPackage.h" 34 #include "WindowsExtras.h"34 #include <wtf/WindowsExtras.h> 35 35 36 36 #if OS(WINCE)
Note: See TracChangeset
for help on using the changeset viewer.