| Index: base/win/message_window.h
|
| diff --git a/remoting/host/win/message_window.h b/base/win/message_window.h
|
| similarity index 82%
|
| rename from remoting/host/win/message_window.h
|
| rename to base/win/message_window.h
|
| index ecd2a36276b597b6aa6dadc19da6cba9fecdcbcb..9cc4573bfa71d2eb6179a38a21d44bf5a6e215cf 100644
|
| --- a/remoting/host/win/message_window.h
|
| +++ b/base/win/message_window.h
|
| @@ -2,25 +2,26 @@
|
| // 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 : base::NonThreadSafe {
|
| public:
|
| // Handles incoming window messages.
|
| - class Delegate {
|
| + class BASE_EXPORT Delegate {
|
| public:
|
| virtual ~Delegate() {}
|
|
|
| @@ -32,7 +33,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
|
| @@ -62,6 +62,6 @@ class MessageWindow : base::NonThreadSafe {
|
| };
|
|
|
| } // namespace win
|
| -} // namespace remoting
|
| +} // namespace base
|
|
|
| -#endif // REMOTING_HOST_WIN_MESSAGE_WINDOW_H_
|
| +#endif // BASE_WIN_MESSAGE_WINDOW_H_
|
|
|