| 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 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 135 |
| 136 // Possible elements of the Browser window. | 136 // Possible elements of the Browser window. |
| 137 enum WindowFeature { | 137 enum WindowFeature { |
| 138 FEATURE_NONE = 0, | 138 FEATURE_NONE = 0, |
| 139 FEATURE_TITLEBAR = 1, | 139 FEATURE_TITLEBAR = 1, |
| 140 FEATURE_TABSTRIP = 2, | 140 FEATURE_TABSTRIP = 2, |
| 141 FEATURE_TOOLBAR = 4, | 141 FEATURE_TOOLBAR = 4, |
| 142 FEATURE_LOCATIONBAR = 8, | 142 FEATURE_LOCATIONBAR = 8, |
| 143 FEATURE_BOOKMARKBAR = 16, | 143 FEATURE_BOOKMARKBAR = 16, |
| 144 FEATURE_INFOBAR = 32, | 144 FEATURE_INFOBAR = 32, |
| 145 FEATURE_DOWNLOADSHELF = 64, | 145 FEATURE_WEBAPPFRAME = 64, |
| 146 FEATURE_WEBAPPFRAME = 128 | |
| 147 }; | 146 }; |
| 148 | 147 |
| 149 // The context for a download blocked notification from | 148 // The context for a download blocked notification from |
| 150 // OkToCloseWithInProgressDownloads. | 149 // OkToCloseWithInProgressDownloads. |
| 151 enum DownloadClosePreventionType { | 150 enum DownloadClosePreventionType { |
| 152 // Browser close is not blocked by download state. | 151 // Browser close is not blocked by download state. |
| 153 DOWNLOAD_CLOSE_OK, | 152 DOWNLOAD_CLOSE_OK, |
| 154 | 153 |
| 155 // The browser is shutting down and there are active downloads | 154 // The browser is shutting down and there are active downloads |
| 156 // that would be cancelled. | 155 // that would be cancelled. |
| (...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1005 // The following factory is used for chrome update coalescing. | 1004 // The following factory is used for chrome update coalescing. |
| 1006 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1005 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 1007 | 1006 |
| 1008 // The following factory is used to close the frame at a later time. | 1007 // The following factory is used to close the frame at a later time. |
| 1009 base::WeakPtrFactory<Browser> weak_factory_; | 1008 base::WeakPtrFactory<Browser> weak_factory_; |
| 1010 | 1009 |
| 1011 DISALLOW_COPY_AND_ASSIGN(Browser); | 1010 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1012 }; | 1011 }; |
| 1013 | 1012 |
| 1014 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1013 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |