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

Side by Side Diff: ui/views/widget/desktop_root_window_host_win.h

Issue 11047012: Wiring metro mouse events to aura viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "ui/aura/root_window_host.h" 8 #include "ui/aura/root_window_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_root_window_host.h" 10 #include "ui/views/widget/desktop_root_window_host.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 82 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
83 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 83 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
84 const gfx::ImageSkia& app_icon) OVERRIDE; 84 const gfx::ImageSkia& app_icon) OVERRIDE;
85 virtual void SetAccessibleName(const string16& name) OVERRIDE; 85 virtual void SetAccessibleName(const string16& name) OVERRIDE;
86 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; 86 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE;
87 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; 87 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE;
88 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 88 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
89 virtual void FlashFrame(bool flash_frame) OVERRIDE; 89 virtual void FlashFrame(bool flash_frame) OVERRIDE;
90 90
91 // Overridden from aura::RootWindowHost: 91 // Overridden from aura::RootWindowHost:
92 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE;
92 virtual aura::RootWindow* GetRootWindow() OVERRIDE; 93 virtual aura::RootWindow* GetRootWindow() OVERRIDE;
93 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 94 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
94 virtual void Show() OVERRIDE; 95 virtual void Show() OVERRIDE;
95 virtual void Hide() OVERRIDE; 96 virtual void Hide() OVERRIDE;
96 virtual void ToggleFullScreen() OVERRIDE; 97 virtual void ToggleFullScreen() OVERRIDE;
97 virtual gfx::Rect GetBounds() const OVERRIDE; 98 virtual gfx::Rect GetBounds() const OVERRIDE;
98 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 99 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
99 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 100 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
100 virtual void SetCapture() OVERRIDE; 101 virtual void SetCapture() OVERRIDE;
101 virtual void ReleaseCapture() OVERRIDE; 102 virtual void ReleaseCapture() OVERRIDE;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 218
218 // A simple cursor client which just forwards events to the RootWindow. 219 // A simple cursor client which just forwards events to the RootWindow.
219 scoped_ptr<aura::DesktopCursorClient> cursor_client_; 220 scoped_ptr<aura::DesktopCursorClient> cursor_client_;
220 221
221 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); 222 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin);
222 }; 223 };
223 224
224 } // namespace views 225 } // namespace views
225 226
226 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 227 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« 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