| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; |
| 125 bool IsAlwaysOnTop() const override; | 125 bool IsAlwaysOnTop() const override; |
| 126 void SetVisibleOnAllWorkspaces(bool always_visible) override; | 126 void SetVisibleOnAllWorkspaces(bool always_visible) override; |
| 127 bool IsVisibleOnAllWorkspaces() const override; |
| 127 bool SetWindowTitle(const base::string16& title) override; | 128 bool SetWindowTitle(const base::string16& title) override; |
| 128 void ClearNativeFocus() override; | 129 void ClearNativeFocus() override; |
| 129 Widget::MoveLoopResult RunMoveLoop( | 130 Widget::MoveLoopResult RunMoveLoop( |
| 130 const gfx::Vector2d& drag_offset, | 131 const gfx::Vector2d& drag_offset, |
| 131 Widget::MoveLoopSource source, | 132 Widget::MoveLoopSource source, |
| 132 Widget::MoveLoopEscapeBehavior escape_behavior) override; | 133 Widget::MoveLoopEscapeBehavior escape_behavior) override; |
| 133 void EndMoveLoop() override; | 134 void EndMoveLoop() override; |
| 134 void SetVisibilityChangedAnimationsEnabled(bool value) override; | 135 void SetVisibilityChangedAnimationsEnabled(bool value) override; |
| 135 bool ShouldUseNativeFrame() const override; | 136 bool ShouldUseNativeFrame() const override; |
| 136 bool ShouldWindowContentsBeTransparent() const override; | 137 bool ShouldWindowContentsBeTransparent() const override; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 base::CancelableCallback<void()> delayed_resize_task_; | 361 base::CancelableCallback<void()> delayed_resize_task_; |
| 361 | 362 |
| 362 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 363 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
| 363 | 364 |
| 364 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 365 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 365 }; | 366 }; |
| 366 | 367 |
| 367 } // namespace views | 368 } // namespace views |
| 368 | 369 |
| 369 #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 |