| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_VIEWS_NON_CLIENT_VIEW_H_ | 5 #ifndef CHROME_VIEWS_NON_CLIENT_VIEW_H_ |
| 6 #define CHROME_VIEWS_NON_CLIENT_VIEW_H_ | 6 #define CHROME_VIEWS_NON_CLIENT_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/task.h" | 8 #include "base/task.h" |
| 9 #include "chrome/views/view.h" | 9 #include "chrome/views/view.h" |
| 10 #include "chrome/views/client_view.h" | 10 #include "chrome/views/client_view.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // The NonClientView is the logical root of all Views contained within a | 92 // The NonClientView is the logical root of all Views contained within a |
| 93 // Window, except for the RootView which is its parent and of which it is the | 93 // Window, except for the RootView which is its parent and of which it is the |
| 94 // sole child. The NonClientView has two children, the NonClientFrameView which | 94 // sole child. The NonClientView has two children, the NonClientFrameView which |
| 95 // is responsible for painting and responding to events from the non-client | 95 // is responsible for painting and responding to events from the non-client |
| 96 // portions of the window, and the ClientView, which is responsible for the | 96 // portions of the window, and the ClientView, which is responsible for the |
| 97 // same for the client area of the window: | 97 // same for the client area of the window: |
| 98 // | 98 // |
| 99 // +- views::Window ------------------------------------+ | 99 // +- views::Window ------------------------------------+ |
| 100 // | +- views::RootView ------------------------------+ | | 100 // | +- views::RootView ------------------------------+ | |
| 101 // | | +- views::NonClientView ---------------------+ | | | 101 // | | +- views::NonClientView ---------------------+ | | |
| 102 // | | | +- views::NonClientFrameView subclass ---+ | | | | 102 // | | | +- views::NonClientView subclass ---+ | | | |
| 103 // | | | | | | | | | 103 // | | | | | | | | |
| 104 // | | | | << all painting and event receiving >> | | | | | 104 // | | | | << all painting and event receiving >> | | | | |
| 105 // | | | | << of the non-client areas of a >> | | | | | 105 // | | | | << of the non-client areas of a >> | | | | |
| 106 // | | | | << views::Window. >> | | | | | 106 // | | | | << views::Window. >> | | | | |
| 107 // | | | | | | | | | 107 // | | | | | | | | |
| 108 // | | | +----------------------------------------+ | | | | 108 // | | | +----------------------------------------+ | | | |
| 109 // | | | +- views::ClientView or subclass --------+ | | | | 109 // | | | +- views::ClientView or subclass --------+ | | | |
| 110 // | | | | | | | | | 110 // | | | | | | | | |
| 111 // | | | | << all painting and event receiving >> | | | | | 111 // | | | | << all painting and event receiving >> | | | | |
| 112 // | | | | << of the client areas of a >> | | | | | 112 // | | | | << of the client areas of a >> | | | | |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 217 |
| 218 // Whether or not we should use the native frame. | 218 // Whether or not we should use the native frame. |
| 219 bool use_native_frame_; | 219 bool use_native_frame_; |
| 220 | 220 |
| 221 DISALLOW_COPY_AND_ASSIGN(NonClientView); | 221 DISALLOW_COPY_AND_ASSIGN(NonClientView); |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 } // namespace views | 224 } // namespace views |
| 225 | 225 |
| 226 #endif // #ifndef CHROME_VIEWS_NON_CLIENT_VIEW_H_ | 226 #endif // #ifndef CHROME_VIEWS_NON_CLIENT_VIEW_H_ |
| OLD | NEW |