| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 void LocalDestroy() { window_->LocalDestroy(); } | 56 void LocalDestroy() { window_->LocalDestroy(); } |
| 57 void LocalAddChild(Window* child) { window_->LocalAddChild(child); } | 57 void LocalAddChild(Window* child) { window_->LocalAddChild(child); } |
| 58 void LocalRemoveChild(Window* child) { window_->LocalRemoveChild(child); } | 58 void LocalRemoveChild(Window* child) { window_->LocalRemoveChild(child); } |
| 59 void LocalAddTransientWindow(Window* child) { | 59 void LocalAddTransientWindow(Window* child) { |
| 60 window_->LocalAddTransientWindow(child); | 60 window_->LocalAddTransientWindow(child); |
| 61 } | 61 } |
| 62 void LocalRemoveTransientWindow(Window* child) { | 62 void LocalRemoveTransientWindow(Window* child) { |
| 63 window_->LocalRemoveTransientWindow(child); | 63 window_->LocalRemoveTransientWindow(child); |
| 64 } | 64 } |
| 65 void LocalUnsetModal() { window_->is_modal_ = false; } |
| 65 void LocalReorder(Window* relative, mojom::OrderDirection direction) { | 66 void LocalReorder(Window* relative, mojom::OrderDirection direction) { |
| 66 window_->LocalReorder(relative, direction); | 67 window_->LocalReorder(relative, direction); |
| 67 } | 68 } |
| 68 void LocalSetBounds(const gfx::Rect& old_bounds, | 69 void LocalSetBounds(const gfx::Rect& old_bounds, |
| 69 const gfx::Rect& new_bounds) { | 70 const gfx::Rect& new_bounds) { |
| 70 window_->LocalSetBounds(old_bounds, new_bounds); | 71 window_->LocalSetBounds(old_bounds, new_bounds); |
| 71 } | 72 } |
| 72 void LocalSetClientArea( | 73 void LocalSetClientArea( |
| 73 const gfx::Insets& client_area, | 74 const gfx::Insets& client_area, |
| 74 const std::vector<gfx::Rect>& additional_client_areas) { | 75 const std::vector<gfx::Rect>& additional_client_areas) { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 89 | 90 |
| 90 private: | 91 private: |
| 91 Window* window_; | 92 Window* window_; |
| 92 | 93 |
| 93 DISALLOW_COPY_AND_ASSIGN(WindowPrivate); | 94 DISALLOW_COPY_AND_ASSIGN(WindowPrivate); |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 } // namespace mus | 97 } // namespace mus |
| 97 | 98 |
| 98 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ | 99 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ |
| OLD | NEW |