Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: webrtc/base/win32window.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/win32socketserver_unittest.cc ('k') | webrtc/base/win32window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « webrtc/base/win32socketserver_unittest.cc ('k') | webrtc/base/win32window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698