| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 bool IsVisible() const override; | 102 bool IsVisible() const override; |
| 103 void SetSize(const gfx::Size& requested_size) override; | 103 void SetSize(const gfx::Size& requested_size) override; |
| 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 gfx::Rect GetWorkAreaBoundsInScreen() const override; | 113 gfx::Rect GetWorkAreaBoundsInScreen() const override; |
| 113 void SetShape(SkRegion* native_region) override; | 114 void SetShape(SkRegion* native_region) override; |
| 114 void Activate() override; | 115 void Activate() override; |
| 115 void Deactivate() override; | 116 void Deactivate() override; |
| 116 bool IsActive() const override; | 117 bool IsActive() const override; |
| 117 void Maximize() override; | 118 void Maximize() override; |
| 118 void Minimize() override; | 119 void Minimize() override; |
| 119 void Restore() override; | 120 void Restore() override; |
| 120 bool IsMaximized() const override; | 121 bool IsMaximized() const override; |
| 121 bool IsMinimized() const override; | 122 bool IsMinimized() const override; |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 base::CancelableCallback<void()> delayed_resize_task_; | 360 base::CancelableCallback<void()> delayed_resize_task_; |
| 360 | 361 |
| 361 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 362 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
| 362 | 363 |
| 363 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 364 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 364 }; | 365 }; |
| 365 | 366 |
| 366 } // namespace views | 367 } // namespace views |
| 367 | 368 |
| 368 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 369 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |