Index: base/win/message_window.h |
diff --git a/remoting/host/win/message_window.h b/base/win/message_window.h |
similarity index 73% |
rename from remoting/host/win/message_window.h |
rename to base/win/message_window.h |
index ecd2a36276b597b6aa6dadc19da6cba9fecdcbcb..657b36f85ee357e418585c2e69694cf057bff66b 100644 |
--- a/remoting/host/win/message_window.h |
+++ b/base/win/message_window.h |
@@ -2,25 +2,24 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef REMOTING_HOST_WIN_MESSAGE_WINDOW_H_ |
-#define REMOTING_HOST_WIN_MESSAGE_WINDOW_H_ |
+#ifndef BASE_WIN_MESSAGE_WINDOW_H_ |
+#define BASE_WIN_MESSAGE_WINDOW_H_ |
#include <windows.h> |
-#include <string> |
- |
+#include "base/base_export.h" |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
#include "base/threading/non_thread_safe.h" |
-namespace remoting { |
+namespace base { |
namespace win { |
// Implements a message-only window. |
-class MessageWindow : base::NonThreadSafe { |
+class BASE_EXPORT MessageWindow : public base::NonThreadSafe { |
public: |
// Handles incoming window messages. |
- class Delegate { |
+ class BASE_EXPORT Delegate { |
public: |
virtual ~Delegate() {} |
@@ -32,7 +31,6 @@ class MessageWindow : base::NonThreadSafe { |
}; |
MessageWindow(); |
- MessageWindow(const std::string& class_name, HINSTANCE instance); |
~MessageWindow(); |
// Registers the window class and creates the window. The incoming messages |
@@ -49,12 +47,6 @@ class MessageWindow : base::NonThreadSafe { |
// Atom representing the registered window class. |
ATOM atom_; |
- // MessageWindow class name. |
- std::string class_name_; |
- |
- // Instance of the module containing the window procedure. |
- HINSTANCE instance_; |
- |
// Handle of the input window. |
HWND window_; |
@@ -62,6 +54,6 @@ class MessageWindow : base::NonThreadSafe { |
}; |
} // namespace win |
-} // namespace remoting |
+} // namespace base |
-#endif // REMOTING_HOST_WIN_MESSAGE_WINDOW_H_ |
+#endif // BASE_WIN_MESSAGE_WINDOW_H_ |