| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 gfx::Rect GetClientAreaBoundsInScreen() const override; | 113 gfx::Rect GetClientAreaBoundsInScreen() const override; |
| 114 gfx::Rect GetRestoredBounds() const override; | 114 gfx::Rect GetRestoredBounds() const override; |
| 115 std::string GetWorkspace() const override; | 115 std::string GetWorkspace() const override; |
| 116 gfx::Rect GetWorkAreaBoundsInScreen() const override; | 116 gfx::Rect GetWorkAreaBoundsInScreen() const override; |
| 117 void SetShape(std::unique_ptr<SkRegion> native_region) override; | 117 void SetShape(std::unique_ptr<SkRegion> native_region) override; |
| 118 void Activate() override; | 118 void Activate() override; |
| 119 void Deactivate() override; | 119 void Deactivate() override; |
| 120 bool IsActive() const override; | 120 bool IsActive() const override; |
| 121 void Maximize() override; | 121 void Maximize() override; |
| 122 void Minimize() override; | 122 void Minimize() override; |
| 123 void Pin(bool trusted) override; |
| 123 void Restore() override; | 124 void Restore() override; |
| 124 bool IsMaximized() const override; | 125 bool IsMaximized() const override; |
| 125 bool IsMinimized() const override; | 126 bool IsMinimized() const override; |
| 127 bool IsPinned() const override; |
| 126 bool HasCapture() const override; | 128 bool HasCapture() const override; |
| 127 void SetAlwaysOnTop(bool always_on_top) override; | 129 void SetAlwaysOnTop(bool always_on_top) override; |
| 128 bool IsAlwaysOnTop() const override; | 130 bool IsAlwaysOnTop() const override; |
| 129 void SetVisibleOnAllWorkspaces(bool always_visible) override; | 131 void SetVisibleOnAllWorkspaces(bool always_visible) override; |
| 130 bool IsVisibleOnAllWorkspaces() const override; | 132 bool IsVisibleOnAllWorkspaces() const override; |
| 131 bool SetWindowTitle(const base::string16& title) override; | 133 bool SetWindowTitle(const base::string16& title) override; |
| 132 void ClearNativeFocus() override; | 134 void ClearNativeFocus() override; |
| 133 Widget::MoveLoopResult RunMoveLoop( | 135 Widget::MoveLoopResult RunMoveLoop( |
| 134 const gfx::Vector2d& drag_offset, | 136 const gfx::Vector2d& drag_offset, |
| 135 Widget::MoveLoopSource source, | 137 Widget::MoveLoopSource source, |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 | 430 |
| 429 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 431 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
| 430 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; | 432 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; |
| 431 | 433 |
| 432 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 434 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 433 }; | 435 }; |
| 434 | 436 |
| 435 } // namespace views | 437 } // namespace views |
| 436 | 438 |
| 437 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 439 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |