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_LINUX_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
7 | 7 |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. | 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 122 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
123 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 123 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
124 const gfx::ImageSkia& app_icon) OVERRIDE; | 124 const gfx::ImageSkia& app_icon) OVERRIDE; |
125 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 125 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
126 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 126 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
127 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 127 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
128 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 128 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
129 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 129 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
130 | 130 |
131 // Overridden from aura::RootWindowHost: | 131 // Overridden from aura::RootWindowHost: |
| 132 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; |
132 virtual aura::RootWindow* GetRootWindow() OVERRIDE; | 133 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
133 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 134 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
134 virtual void Show() OVERRIDE; | 135 virtual void Show() OVERRIDE; |
135 virtual void Hide() OVERRIDE; | 136 virtual void Hide() OVERRIDE; |
136 virtual void ToggleFullScreen() OVERRIDE; | 137 virtual void ToggleFullScreen() OVERRIDE; |
137 virtual gfx::Rect GetBounds() const OVERRIDE; | 138 virtual gfx::Rect GetBounds() const OVERRIDE; |
138 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 139 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
139 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 140 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
140 virtual void SetCapture() OVERRIDE; | 141 virtual void SetCapture() OVERRIDE; |
141 virtual void ReleaseCapture() OVERRIDE; | 142 virtual void ReleaseCapture() OVERRIDE; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 228 |
228 aura::RootWindowHostDelegate* root_window_host_delegate_; | 229 aura::RootWindowHostDelegate* root_window_host_delegate_; |
229 aura::Window* content_window_; | 230 aura::Window* content_window_; |
230 | 231 |
231 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); | 232 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); |
232 }; | 233 }; |
233 | 234 |
234 } // namespace views | 235 } // namespace views |
235 | 236 |
236 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ | 237 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
OLD | NEW |