OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WINDOW_CLIENT_VIEW_H_ | 5 #ifndef UI_VIEWS_WINDOW_CLIENT_VIEW_H_ |
6 #define UI_VIEWS_WINDOW_CLIENT_VIEW_H_ | 6 #define UI_VIEWS_WINDOW_CLIENT_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/views/view.h" | 9 #include "ui/views/view.h" |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 View* parent, | 70 View* parent, |
71 View* child) OVERRIDE; | 71 View* child) OVERRIDE; |
72 | 72 |
73 // Accessors for private data members. | 73 // Accessors for private data members. |
74 View* contents_view() const { return contents_view_; } | 74 View* contents_view() const { return contents_view_; } |
75 void set_contents_view(View* contents_view) { | 75 void set_contents_view(View* contents_view) { |
76 contents_view_ = contents_view; | 76 contents_view_ = contents_view; |
77 } | 77 } |
78 | 78 |
79 private: | 79 private: |
80 // The Widget that hosts this ClientView. | |
81 Widget* widget_; | |
82 | |
83 // The View that this ClientView contains. | 80 // The View that this ClientView contains. |
84 View* contents_view_; | 81 View* contents_view_; |
85 }; | 82 }; |
86 | 83 |
87 } // namespace views | 84 } // namespace views |
88 | 85 |
89 #endif // UI_VIEWS_WINDOW_CLIENT_VIEW_H_ | 86 #endif // UI_VIEWS_WINDOW_CLIENT_VIEW_H_ |
OLD | NEW |