OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_NON_CLIENT_VIEW_H_ | 5 #ifndef UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ |
6 #define UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ | 6 #define UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ |
7 | 7 |
8 #include "ui/views/view.h" | 8 #include "ui/views/view.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // The NonClientView is the logical root of all Views contained within a | 100 // The NonClientView is the logical root of all Views contained within a |
101 // Window, except for the RootView which is its parent and of which it is the | 101 // Window, except for the RootView which is its parent and of which it is the |
102 // sole child. The NonClientView has two children, the NonClientFrameView which | 102 // sole child. The NonClientView has two children, the NonClientFrameView which |
103 // is responsible for painting and responding to events from the non-client | 103 // is responsible for painting and responding to events from the non-client |
104 // portions of the window, and the ClientView, which is responsible for the | 104 // portions of the window, and the ClientView, which is responsible for the |
105 // same for the client area of the window: | 105 // same for the client area of the window: |
106 // | 106 // |
107 // +- views::Widget ------------------------------------+ | 107 // +- views::Widget ------------------------------------+ |
108 // | +- views::RootView ------------------------------+ | | 108 // | +- views::RootView ------------------------------+ | |
109 // | | +- views::NonClientView ---------------------+ | | | 109 // | | +- views::NonClientView ---------------------+ | | |
110 // | | | +- views::NonClientFrameView subclas ---+ | | | | 110 // | | | +- views::NonClientFrameView subclass ---+ | | | |
111 // | | | | | | | | | 111 // | | | | | | | | |
112 // | | | | << all painting and event receiving >> | | | | | 112 // | | | | << all painting and event receiving >> | | | | |
113 // | | | | << of the non-client areas of a >> | | | | | 113 // | | | | << of the non-client areas of a >> | | | | |
114 // | | | | << views::Widget. >> | | | | | 114 // | | | | << views::Widget. >> | | | | |
115 // | | | | | | | | | 115 // | | | | | | | | |
116 // | | | +----------------------------------------+ | | | | 116 // | | | +----------------------------------------+ | | | |
117 // | | | +- views::ClientView or subclass --------+ | | | | 117 // | | | +- views::ClientView or subclass --------+ | | | |
118 // | | | | | | | | | 118 // | | | | | | | | |
119 // | | | | << all painting and event receiving >> | | | | | 119 // | | | | << all painting and event receiving >> | | | | |
120 // | | | | << of the client areas of a >> | | | | | 120 // | | | | << of the client areas of a >> | | | | |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 242 |
243 // The accessible name of this view. | 243 // The accessible name of this view. |
244 string16 accessible_name_; | 244 string16 accessible_name_; |
245 | 245 |
246 DISALLOW_COPY_AND_ASSIGN(NonClientView); | 246 DISALLOW_COPY_AND_ASSIGN(NonClientView); |
247 }; | 247 }; |
248 | 248 |
249 } // namespace views | 249 } // namespace views |
250 | 250 |
251 #endif // UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ | 251 #endif // UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ |
OLD | NEW |