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

Unified Diff: ui/views/widget/desktop_root_window_host_win.h

Issue 10910144: Get mouse events to work with win aura, and make the combobox function in the views examples app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | « ui/views/widget/desktop_root_window_host_linux.cc ('k') | ui/views/widget/desktop_root_window_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_root_window_host_win.h
===================================================================
--- ui/views/widget/desktop_root_window_host_win.h (revision 156204)
+++ ui/views/widget/desktop_root_window_host_win.h (working copy)
@@ -9,7 +9,14 @@
#include "ui/views/widget/desktop_root_window_host.h"
#include "ui/views/win/hwnd_message_handler_delegate.h"
+namespace aura {
+class DesktopActivationClient;
+class DesktopDispatcherClient;
+class FocusManager;
+}
+
namespace views {
+class DesktopCaptureClient;
class HWNDMessageHandler;
class DesktopRootWindowHostWin : public DesktopRootWindowHost,
@@ -25,7 +32,12 @@
// Overridden from DesktopRootWindowHost:
virtual void Init(aura::Window* content_window,
const Widget::InitParams& params) OVERRIDE;
+ virtual void Close() OVERRIDE;
+ virtual void CloseNow() OVERRIDE;
+ virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE;
virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE;
+ virtual bool IsVisible() const OVERRIDE;
+ virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE;
// Overridden from aura::RootWindowHost:
virtual aura::RootWindow* GetRootWindow() OVERRIDE;
@@ -128,6 +140,10 @@
scoped_ptr<aura::RootWindow> root_window_;
scoped_ptr<HWNDMessageHandler> message_handler_;
+ scoped_ptr<DesktopCaptureClient> capture_client_;
+ scoped_ptr<aura::DesktopActivationClient> activation_client_;
+ scoped_ptr<aura::DesktopDispatcherClient> dispatcher_client_;
+ scoped_ptr<aura::FocusManager> focus_manager_;
// TODO(beng): Consider providing an interface to DesktopNativeWidgetAura
// instead of providing this route back to Widget.
« no previous file with comments | « ui/views/widget/desktop_root_window_host_linux.cc ('k') | ui/views/widget/desktop_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698