| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ |
| 6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ | 6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 InputMethodMus* input_method() { return input_method_.get(); } | 66 InputMethodMus* input_method() { return input_method_.get(); } |
| 67 | 67 |
| 68 // Sets the client area on the underlying mus window. | 68 // Sets the client area on the underlying mus window. |
| 69 void SetClientArea(const gfx::Insets& insets, | 69 void SetClientArea(const gfx::Insets& insets, |
| 70 const std::vector<gfx::Rect>& additional_client_area); | 70 const std::vector<gfx::Rect>& additional_client_area); |
| 71 | 71 |
| 72 // Sets the hit test mask on the underlying mus window. Pass base::nullopt to | 72 // Sets the hit test mask on the underlying mus window. Pass base::nullopt to |
| 73 // clear. | 73 // clear. |
| 74 void SetHitTestMask(const base::Optional<gfx::Rect>& rect); | 74 void SetHitTestMask(const base::Optional<gfx::Rect>& rect); |
| 75 | 75 |
| 76 // Sets the opacity of the underlying mus window. |
| 77 void SetOpacity(float value); |
| 78 |
| 76 // Requests that the window manager change the activation to the next window. | 79 // Requests that the window manager change the activation to the next window. |
| 77 void DeactivateWindow(); | 80 void DeactivateWindow(); |
| 78 | 81 |
| 79 // Requests that our root window be stacked above this other root window | 82 // Requests that our root window be stacked above this other root window |
| 80 // which our connection owns. | 83 // which our connection owns. |
| 81 void StackAbove(Window* window); | 84 void StackAbove(Window* window); |
| 82 | 85 |
| 83 // Requests that our root window be stacked above all other parallel root | 86 // Requests that our root window be stacked above all other parallel root |
| 84 // windows which we might not own. | 87 // windows which we might not own. |
| 85 void StackAtTop(); | 88 void StackAtTop(); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 116 bool in_set_bounds_from_server_ = false; | 119 bool in_set_bounds_from_server_ = false; |
| 117 | 120 |
| 118 std::unique_ptr<InputMethodMus> input_method_; | 121 std::unique_ptr<InputMethodMus> input_method_; |
| 119 | 122 |
| 120 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); | 123 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); |
| 121 }; | 124 }; |
| 122 | 125 |
| 123 } // namespace aura | 126 } // namespace aura |
| 124 | 127 |
| 125 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ | 128 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ |
| OLD | NEW |