| 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_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 135 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
| 136 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 136 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
| 137 virtual bool IsFullscreen() const OVERRIDE; | 137 virtual bool IsFullscreen() const OVERRIDE; |
| 138 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 138 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
| 139 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 139 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 140 const gfx::ImageSkia& app_icon) OVERRIDE; | 140 const gfx::ImageSkia& app_icon) OVERRIDE; |
| 141 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 141 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
| 142 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 142 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
| 143 virtual void OnNativeWidgetFocus() OVERRIDE; | 143 virtual void OnNativeWidgetFocus() OVERRIDE; |
| 144 virtual void OnNativeWidgetBlur() OVERRIDE; | 144 virtual void OnNativeWidgetBlur() OVERRIDE; |
| 145 virtual void SetInactiveRenderingDisabled(bool disable_inactive) OVERRIDE; |
| 145 | 146 |
| 146 // Overridden from aura::RootWindowHost: | 147 // Overridden from aura::RootWindowHost: |
| 147 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; | 148 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; |
| 148 virtual aura::RootWindow* GetRootWindow() OVERRIDE; | 149 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
| 149 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 150 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 150 virtual void Show() OVERRIDE; | 151 virtual void Show() OVERRIDE; |
| 151 virtual void Hide() OVERRIDE; | 152 virtual void Hide() OVERRIDE; |
| 152 virtual void ToggleFullScreen() OVERRIDE; | 153 virtual void ToggleFullScreen() OVERRIDE; |
| 153 virtual gfx::Rect GetBounds() const OVERRIDE; | 154 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 154 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 155 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 // can notify widgets when they have lost capture, which controls a bunch of | 242 // can notify widgets when they have lost capture, which controls a bunch of |
| 242 // things in views like hiding menus. | 243 // things in views like hiding menus. |
| 243 static DesktopRootWindowHostX11* g_current_capture; | 244 static DesktopRootWindowHostX11* g_current_capture; |
| 244 | 245 |
| 245 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); | 246 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); |
| 246 }; | 247 }; |
| 247 | 248 |
| 248 } // namespace views | 249 } // namespace views |
| 249 | 250 |
| 250 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 251 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
| OLD | NEW |