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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 // Possible elements of the Browser window. | 109 // Possible elements of the Browser window. |
110 enum WindowFeature { | 110 enum WindowFeature { |
111 FEATURE_NONE = 0, | 111 FEATURE_NONE = 0, |
112 FEATURE_TITLEBAR = 1, | 112 FEATURE_TITLEBAR = 1, |
113 FEATURE_TABSTRIP = 2, | 113 FEATURE_TABSTRIP = 2, |
114 FEATURE_TOOLBAR = 4, | 114 FEATURE_TOOLBAR = 4, |
115 FEATURE_LOCATIONBAR = 8, | 115 FEATURE_LOCATIONBAR = 8, |
116 FEATURE_BOOKMARKBAR = 16, | 116 FEATURE_BOOKMARKBAR = 16, |
117 FEATURE_INFOBAR = 32, | 117 FEATURE_INFOBAR = 32, |
118 FEATURE_SIDEBAR = 64, | 118 FEATURE_DOWNLOADSHELF = 64 |
119 FEATURE_DOWNLOADSHELF = 128 | |
120 }; | 119 }; |
121 | 120 |
122 // The context for a download blocked notification from | 121 // The context for a download blocked notification from |
123 // OkToCloseWithInProgressDownloads. | 122 // OkToCloseWithInProgressDownloads. |
124 enum DownloadClosePreventionType { | 123 enum DownloadClosePreventionType { |
125 // Browser close is not blocked by download state. | 124 // Browser close is not blocked by download state. |
126 DOWNLOAD_CLOSE_OK, | 125 DOWNLOAD_CLOSE_OK, |
127 | 126 |
128 // The browser is shutting down and there are active downloads | 127 // The browser is shutting down and there are active downloads |
129 // that would be cancelled. | 128 // that would be cancelled. |
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1426 | 1425 |
1427 scoped_refptr<FullscreenController> fullscreen_controller_; | 1426 scoped_refptr<FullscreenController> fullscreen_controller_; |
1428 | 1427 |
1429 // True if the browser window has been shown at least once. | 1428 // True if the browser window has been shown at least once. |
1430 bool window_has_shown_; | 1429 bool window_has_shown_; |
1431 | 1430 |
1432 DISALLOW_COPY_AND_ASSIGN(Browser); | 1431 DISALLOW_COPY_AND_ASSIGN(Browser); |
1433 }; | 1432 }; |
1434 | 1433 |
1435 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1434 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |