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 MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
7 | 7 |
8 #include "view_manager/public/cpp/view.h" | 8 #include "view_manager/public/cpp/view.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 view_->LocalRemoveChild(child); | 52 view_->LocalRemoveChild(child); |
53 } | 53 } |
54 void LocalReorder(View* relative, OrderDirection direction) { | 54 void LocalReorder(View* relative, OrderDirection direction) { |
55 view_->LocalReorder(relative, direction); | 55 view_->LocalReorder(relative, direction); |
56 } | 56 } |
57 void LocalSetBounds(const Rect& old_bounds, | 57 void LocalSetBounds(const Rect& old_bounds, |
58 const Rect& new_bounds) { | 58 const Rect& new_bounds) { |
59 view_->LocalSetBounds(old_bounds, new_bounds); | 59 view_->LocalSetBounds(old_bounds, new_bounds); |
60 } | 60 } |
61 void LocalSetDrawn(bool drawn) { view_->LocalSetDrawn(drawn); } | 61 void LocalSetDrawn(bool drawn) { view_->LocalSetDrawn(drawn); } |
| 62 void LocalSetVisible(bool visible) { view_->LocalSetVisible(visible); } |
62 | 63 |
63 private: | 64 private: |
64 View* view_; | 65 View* view_; |
65 | 66 |
66 MOJO_DISALLOW_COPY_AND_ASSIGN(ViewPrivate); | 67 MOJO_DISALLOW_COPY_AND_ASSIGN(ViewPrivate); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace mojo | 70 } // namespace mojo |
70 | 71 |
71 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ | 72 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
OLD | NEW |