| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 // Possible elements of the Browser window. | 104 // Possible elements of the Browser window. |
| 105 enum WindowFeature { | 105 enum WindowFeature { |
| 106 FEATURE_NONE = 0, | 106 FEATURE_NONE = 0, |
| 107 FEATURE_TITLEBAR = 1, | 107 FEATURE_TITLEBAR = 1, |
| 108 FEATURE_TABSTRIP = 2, | 108 FEATURE_TABSTRIP = 2, |
| 109 FEATURE_TOOLBAR = 4, | 109 FEATURE_TOOLBAR = 4, |
| 110 FEATURE_LOCATIONBAR = 8, | 110 FEATURE_LOCATIONBAR = 8, |
| 111 FEATURE_BOOKMARKBAR = 16, | 111 FEATURE_BOOKMARKBAR = 16, |
| 112 FEATURE_INFOBAR = 32, | 112 FEATURE_INFOBAR = 32, |
| 113 FEATURE_SIDEBAR = 64, | 113 FEATURE_DOWNLOADSHELF = 64 |
| 114 FEATURE_DOWNLOADSHELF = 128 | |
| 115 }; | 114 }; |
| 116 | 115 |
| 117 // The context for a download blocked notification from | 116 // The context for a download blocked notification from |
| 118 // OkToCloseWithInProgressDownloads. | 117 // OkToCloseWithInProgressDownloads. |
| 119 enum DownloadClosePreventionType { | 118 enum DownloadClosePreventionType { |
| 120 // Browser close is not blocked by download state. | 119 // Browser close is not blocked by download state. |
| 121 DOWNLOAD_CLOSE_OK, | 120 DOWNLOAD_CLOSE_OK, |
| 122 | 121 |
| 123 // The browser is shutting down and there are active downloads | 122 // The browser is shutting down and there are active downloads |
| 124 // that would be cancelled. | 123 // that would be cancelled. |
| (...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 | 1421 |
| 1423 scoped_refptr<FullscreenController> fullscreen_controller_; | 1422 scoped_refptr<FullscreenController> fullscreen_controller_; |
| 1424 | 1423 |
| 1425 // True if the browser window has been shown at least once. | 1424 // True if the browser window has been shown at least once. |
| 1426 bool window_has_shown_; | 1425 bool window_has_shown_; |
| 1427 | 1426 |
| 1428 DISALLOW_COPY_AND_ASSIGN(Browser); | 1427 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1429 }; | 1428 }; |
| 1430 | 1429 |
| 1431 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1430 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |