| 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_WINDOW_TREE_HOST_X11_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| 7 | 7 |
| 8 #include <X11/extensions/shape.h> | 8 #include <X11/extensions/shape.h> |
| 9 #include <X11/Xlib.h> | 9 #include <X11/Xlib.h> |
| 10 | 10 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 OnRootViewLayout() const OVERRIDE; | 143 virtual void OnRootViewLayout() const OVERRIDE; |
| 144 virtual void OnNativeWidgetFocus() OVERRIDE; | 144 virtual void OnNativeWidgetFocus() OVERRIDE; |
| 145 virtual void OnNativeWidgetBlur() OVERRIDE; | 145 virtual void OnNativeWidgetBlur() OVERRIDE; |
| 146 virtual bool IsAnimatingClosed() const OVERRIDE; | 146 virtual bool IsAnimatingClosed() const OVERRIDE; |
| 147 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; |
| 147 | 148 |
| 148 // Overridden from aura::WindowTreeHost: | 149 // Overridden from aura::WindowTreeHost: |
| 149 virtual ui::EventSource* GetEventSource() OVERRIDE; | 150 virtual ui::EventSource* GetEventSource() OVERRIDE; |
| 150 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 151 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 151 virtual void Show() OVERRIDE; | 152 virtual void Show() OVERRIDE; |
| 152 virtual void Hide() OVERRIDE; | 153 virtual void Hide() 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; |
| 155 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 156 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| 156 virtual void SetCapture() OVERRIDE; | 157 virtual void SetCapture() OVERRIDE; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 // attention to the window or completely ignore the hint. We stop flashing | 331 // attention to the window or completely ignore the hint. We stop flashing |
| 331 // the frame when |xwindow_| gains focus or handles a mouse button event. | 332 // the frame when |xwindow_| gains focus or handles a mouse button event. |
| 332 bool urgency_hint_set_; | 333 bool urgency_hint_set_; |
| 333 | 334 |
| 334 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 335 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 335 }; | 336 }; |
| 336 | 337 |
| 337 } // namespace views | 338 } // namespace views |
| 338 | 339 |
| 339 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 340 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |