OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |