| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_WINDOW_CUSTOM_FRAME_VIEW_H_ | 5 #ifndef CHROME_VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ |
| 6 #define CHROME_VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ | 6 #define CHROME_VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/views/controls/button/image_button.h" | 8 #include "chrome/views/controls/button/image_button.h" |
| 9 #include "chrome/views/window/non_client_view.h" | 9 #include "chrome/views/window/non_client_view.h" |
| 10 #include "chrome/views/window/window.h" | 10 #include "chrome/views/window/window.h" |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 ImageButton* system_menu_button_; // Uses the window icon if visible. | 105 ImageButton* system_menu_button_; // Uses the window icon if visible. |
| 106 bool should_show_minmax_buttons_; | 106 bool should_show_minmax_buttons_; |
| 107 | 107 |
| 108 // The window that owns this view. | 108 // The window that owns this view. |
| 109 Window* frame_; | 109 Window* frame_; |
| 110 | 110 |
| 111 // Initialize various static resources. | 111 // Initialize various static resources. |
| 112 static void InitClass(); | 112 static void InitClass(); |
| 113 static WindowResources* active_resources_; | 113 static WindowResources* active_resources_; |
| 114 static WindowResources* inactive_resources_; | 114 static WindowResources* inactive_resources_; |
| 115 static ChromeFont title_font_; | 115 static ChromeFont* title_font_; |
| 116 | 116 |
| 117 DISALLOW_EVIL_CONSTRUCTORS(CustomFrameView); | 117 DISALLOW_EVIL_CONSTRUCTORS(CustomFrameView); |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 } // namespace views | 120 } // namespace views |
| 121 | 121 |
| 122 #endif // #ifndef CHROME_VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ | 122 #endif // #ifndef CHROME_VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ |
| OLD | NEW |