summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/desktop_root_window_host_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/widget/desktop_root_window_host_win.h')
-rw-r--r--ui/views/widget/desktop_root_window_host_win.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/ui/views/widget/desktop_root_window_host_win.h b/ui/views/widget/desktop_root_window_host_win.h
index 0e68f52..9b4d41a 100644
--- a/ui/views/widget/desktop_root_window_host_win.h
+++ b/ui/views/widget/desktop_root_window_host_win.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
#include "ui/aura/root_window_host.h"
+#include "ui/views/views_export.h"
#include "ui/views/widget/desktop_root_window_host.h"
#include "ui/views/win/hwnd_message_handler_delegate.h"
@@ -23,16 +24,17 @@ namespace views {
class DesktopCaptureClient;
class HWNDMessageHandler;
-class DesktopRootWindowHostWin : public DesktopRootWindowHost,
- public aura::RootWindowHost,
- public HWNDMessageHandlerDelegate {
+class VIEWS_EXPORT DesktopRootWindowHostWin
+ : public DesktopRootWindowHost,
+ public aura::RootWindowHost,
+ public HWNDMessageHandlerDelegate {
public:
DesktopRootWindowHostWin(
internal::NativeWidgetDelegate* native_widget_delegate,
const gfx::Rect& initial_bounds);
virtual ~DesktopRootWindowHostWin();
- private:
+ protected:
// Overridden from DesktopRootWindowHost:
virtual void Init(aura::Window* content_window,
const Widget::InitParams& params) OVERRIDE;
@@ -186,7 +188,9 @@ class DesktopRootWindowHostWin : public DesktopRootWindowHost,
Widget* GetWidget();
const Widget* GetWidget() const;
+ HWND GetHWND();
+ private:
scoped_ptr<aura::RootWindow> root_window_;
scoped_ptr<HWNDMessageHandler> message_handler_;
scoped_ptr<DesktopCaptureClient> capture_client_;