| 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 "base/basictypes.h" | |
| 9 | |
| 10 #include "view_manager/public/cpp/view.h" | 8 #include "view_manager/public/cpp/view.h" |
| 11 | 9 |
| 12 namespace mojo { | 10 namespace mojo { |
| 13 | 11 |
| 14 // This class is a friend of a View and contains functions to mutate internal | 12 // This class is a friend of a View and contains functions to mutate internal |
| 15 // state of View. | 13 // state of View. |
| 16 class ViewPrivate { | 14 class ViewPrivate { |
| 17 public: | 15 public: |
| 18 explicit ViewPrivate(View* view); | 16 explicit ViewPrivate(View* view); |
| 19 ~ViewPrivate(); | 17 ~ViewPrivate(); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 62 |
| 65 private: | 63 private: |
| 66 View* view_; | 64 View* view_; |
| 67 | 65 |
| 68 DISALLOW_COPY_AND_ASSIGN(ViewPrivate); | 66 DISALLOW_COPY_AND_ASSIGN(ViewPrivate); |
| 69 }; | 67 }; |
| 70 | 68 |
| 71 } // namespace mojo | 69 } // namespace mojo |
| 72 | 70 |
| 73 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ | 71 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
| OLD | NEW |