Index: webrtc/base/win32window.h |
diff --git a/webrtc/base/win32window.h b/webrtc/base/win32window.h |
index c0ba6b23d26267c552fdc06a1184556b3ee74ee5..ffffdf9aa71cd12a926e1865d384de0e763a39cc 100644 |
--- a/webrtc/base/win32window.h |
+++ b/webrtc/base/win32window.h |
@@ -11,50 +11,9 @@ |
#ifndef WEBRTC_BASE_WIN32WINDOW_H_ |
#define WEBRTC_BASE_WIN32WINDOW_H_ |
-#if defined(WEBRTC_WIN) |
-#include "webrtc/base/win32.h" |
- |
-namespace rtc { |
- |
-/////////////////////////////////////////////////////////////////////////////// |
-// Win32Window |
-/////////////////////////////////////////////////////////////////////////////// |
- |
-class Win32Window { |
- public: |
- Win32Window(); |
- virtual ~Win32Window(); |
- |
- HWND handle() const { return wnd_; } |
- |
- bool Create(HWND parent, const wchar_t* title, DWORD style, DWORD exstyle, |
- int x, int y, int cx, int cy); |
- void Destroy(); |
- |
- // Call this when your DLL unloads. |
- static void Shutdown(); |
- |
- protected: |
- virtual bool OnMessage(UINT uMsg, WPARAM wParam, LPARAM lParam, |
- LRESULT& result); |
- |
- virtual bool OnClose() { return true; } |
- virtual void OnNcDestroy() { } |
- |
- private: |
- static LRESULT CALLBACK WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, |
- LPARAM lParam); |
- |
- HWND wnd_; |
- static HINSTANCE instance_; |
- static ATOM window_class_; |
-}; |
- |
-/////////////////////////////////////////////////////////////////////////////// |
- |
-} // namespace rtc |
- |
-#endif // WEBRTC_WIN |
+// This header is deprecated and is just left here temporarily during |
+// refactoring. See https://bugs.webrtc.org/7634 for more details. |
+#include "webrtc/rtc_base/win32window.h" |
#endif // WEBRTC_BASE_WIN32WINDOW_H_ |