| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 void SetOpacity(float opacity) override; | 149 void SetOpacity(float opacity) override; |
| 150 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 150 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 151 const gfx::ImageSkia& app_icon) override; | 151 const gfx::ImageSkia& app_icon) override; |
| 152 void InitModalType(ui::ModalType modal_type) override; | 152 void InitModalType(ui::ModalType modal_type) override; |
| 153 void FlashFrame(bool flash_frame) override; | 153 void FlashFrame(bool flash_frame) override; |
| 154 bool IsAnimatingClosed() const override; | 154 bool IsAnimatingClosed() const override; |
| 155 bool IsTranslucentWindowOpacitySupported() const override; | 155 bool IsTranslucentWindowOpacitySupported() const override; |
| 156 void SizeConstraintsChanged() override; | 156 void SizeConstraintsChanged() override; |
| 157 bool ShouldUpdateWindowTransparency() const override; | 157 bool ShouldUpdateWindowTransparency() const override; |
| 158 bool ShouldUseDesktopNativeCursorManager() const override; | 158 bool ShouldUseDesktopNativeCursorManager() const override; |
| 159 std::vector<DesktopWindowTreeHost*> GetOwnedTopLevelHosts() const override; |
| 159 | 160 |
| 160 // Overridden from aura::WindowTreeHost: | 161 // Overridden from aura::WindowTreeHost: |
| 161 gfx::Transform GetRootTransform() const override; | 162 gfx::Transform GetRootTransform() const override; |
| 162 ui::EventSource* GetEventSource() override; | 163 ui::EventSource* GetEventSource() override; |
| 163 gfx::AcceleratedWidget GetAcceleratedWidget() override; | 164 gfx::AcceleratedWidget GetAcceleratedWidget() override; |
| 164 void ShowImpl() override; | 165 void ShowImpl() override; |
| 165 void HideImpl() override; | 166 void HideImpl() override; |
| 166 gfx::Rect GetBoundsInPixels() const override; | 167 gfx::Rect GetBoundsInPixels() const override; |
| 167 void SetBoundsInPixels(const gfx::Rect& requested_bounds_in_pixels) override; | 168 void SetBoundsInPixels(const gfx::Rect& requested_bounds_in_pixels) override; |
| 168 gfx::Point GetLocationOnScreenInPixels() const override; | 169 gfx::Point GetLocationOnScreenInPixels() const override; |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 | 434 |
| 434 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 435 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
| 435 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; | 436 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; |
| 436 | 437 |
| 437 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 438 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 438 }; | 439 }; |
| 439 | 440 |
| 440 } // namespace views | 441 } // namespace views |
| 441 | 442 |
| 442 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 443 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |