| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 #include <X11/extensions/shape.h> | 10 #include <X11/extensions/shape.h> |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 void SetFullscreen(bool fullscreen) override; | 145 void SetFullscreen(bool fullscreen) override; |
| 146 bool IsFullscreen() const override; | 146 bool IsFullscreen() const override; |
| 147 void SetOpacity(float opacity) override; | 147 void SetOpacity(float opacity) override; |
| 148 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 148 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 149 const gfx::ImageSkia& app_icon) override; | 149 const gfx::ImageSkia& app_icon) override; |
| 150 void InitModalType(ui::ModalType modal_type) override; | 150 void InitModalType(ui::ModalType modal_type) override; |
| 151 void FlashFrame(bool flash_frame) override; | 151 void FlashFrame(bool flash_frame) override; |
| 152 bool IsAnimatingClosed() const override; | 152 bool IsAnimatingClosed() const override; |
| 153 bool IsTranslucentWindowOpacitySupported() const override; | 153 bool IsTranslucentWindowOpacitySupported() const override; |
| 154 void SizeConstraintsChanged() override; | 154 void SizeConstraintsChanged() override; |
| 155 bool ShouldUpdateWindowTransparency() const override; |
| 155 | 156 |
| 156 // Overridden from aura::WindowTreeHost: | 157 // Overridden from aura::WindowTreeHost: |
| 157 gfx::Transform GetRootTransform() const override; | 158 gfx::Transform GetRootTransform() const override; |
| 158 ui::EventSource* GetEventSource() override; | 159 ui::EventSource* GetEventSource() override; |
| 159 gfx::AcceleratedWidget GetAcceleratedWidget() override; | 160 gfx::AcceleratedWidget GetAcceleratedWidget() override; |
| 160 void ShowImpl() override; | 161 void ShowImpl() override; |
| 161 void HideImpl() override; | 162 void HideImpl() override; |
| 162 gfx::Rect GetBoundsInPixels() const override; | 163 gfx::Rect GetBoundsInPixels() const override; |
| 163 void SetBoundsInPixels(const gfx::Rect& requested_bounds_in_pixels) override; | 164 void SetBoundsInPixels(const gfx::Rect& requested_bounds_in_pixels) override; |
| 164 gfx::Point GetLocationOnScreenInPixels() const override; | 165 gfx::Point GetLocationOnScreenInPixels() const override; |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 | 429 |
| 429 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 430 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
| 430 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; | 431 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; |
| 431 | 432 |
| 432 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 433 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 433 }; | 434 }; |
| 434 | 435 |
| 435 } // namespace views | 436 } // namespace views |
| 436 | 437 |
| 437 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 438 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |