| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 void StackAbove(aura::Window* window) override; | 104 void StackAbove(aura::Window* window) override; |
| 105 void StackAtTop() override; | 105 void StackAtTop() override; |
| 106 void CenterWindow(const gfx::Size& size) override; | 106 void CenterWindow(const gfx::Size& size) override; |
| 107 void GetWindowPlacement(gfx::Rect* bounds, | 107 void GetWindowPlacement(gfx::Rect* bounds, |
| 108 ui::WindowShowState* show_state) const override; | 108 ui::WindowShowState* show_state) const override; |
| 109 gfx::Rect GetWindowBoundsInScreen() const override; | 109 gfx::Rect GetWindowBoundsInScreen() const override; |
| 110 gfx::Rect GetClientAreaBoundsInScreen() const override; | 110 gfx::Rect GetClientAreaBoundsInScreen() const override; |
| 111 gfx::Rect GetRestoredBounds() const override; | 111 gfx::Rect GetRestoredBounds() const override; |
| 112 std::string GetWorkspace() const override; | 112 std::string GetWorkspace() const override; |
| 113 gfx::Rect GetWorkAreaBoundsInScreen() const override; | 113 gfx::Rect GetWorkAreaBoundsInScreen() const override; |
| 114 void SetShape(SkRegion* native_region) override; | 114 void SetShape(std::unique_ptr<SkRegion> native_region) override; |
| 115 void Activate() override; | 115 void Activate() override; |
| 116 void Deactivate() override; | 116 void Deactivate() override; |
| 117 bool IsActive() const override; | 117 bool IsActive() const override; |
| 118 void Maximize() override; | 118 void Maximize() override; |
| 119 void Minimize() override; | 119 void Minimize() override; |
| 120 void Restore() override; | 120 void Restore() override; |
| 121 bool IsMaximized() const override; | 121 bool IsMaximized() const override; |
| 122 bool IsMinimized() const override; | 122 bool IsMinimized() const override; |
| 123 bool HasCapture() const override; | 123 bool HasCapture() const override; |
| 124 void SetAlwaysOnTop(bool always_on_top) override; | 124 void SetAlwaysOnTop(bool always_on_top) override; |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 base::CancelableCallback<void()> delayed_resize_task_; | 361 base::CancelableCallback<void()> delayed_resize_task_; |
| 362 | 362 |
| 363 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 363 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
| 364 | 364 |
| 365 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 365 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 366 }; | 366 }; |
| 367 | 367 |
| 368 } // namespace views | 368 } // namespace views |
| 369 | 369 |
| 370 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 370 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |