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 CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Window controls. | 84 // Window controls. |
85 views::ImageButton* maximize_button_; | 85 views::ImageButton* maximize_button_; |
86 views::ImageButton* close_button_; | 86 views::ImageButton* close_button_; |
87 | 87 |
88 // For popups, the window icon. | 88 // For popups, the window icon. |
89 TabIconView* window_icon_; | 89 TabIconView* window_icon_; |
90 | 90 |
91 // Painter for the frame header. | 91 // Painter for the frame header. |
92 scoped_ptr<ash::FramePainter> frame_painter_; | 92 scoped_ptr<ash::FramePainter> frame_painter_; |
93 | 93 |
| 94 // Set to false for Panels where maximize is undesired. (maximize button is |
| 95 // still used for minimizing). |
| 96 bool allow_maximize_; |
| 97 |
94 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAura); | 98 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAura); |
95 }; | 99 }; |
96 | 100 |
97 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ | 101 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ |
OLD | NEW |