| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BROWSER_TYPE_H__ | 5 #ifndef CHROME_BROWSER_BROWSER_TYPE_H__ |
| 6 #define CHROME_BROWSER_BROWSER_TYPE_H__ | 6 #define CHROME_BROWSER_BROWSER_TYPE_H__ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 class BrowserType { | 10 class BrowserType { |
| 11 public: | 11 public: |
| 12 // Enumeration of the types of Browsers we have. This is defined outside | 12 // Enumeration of the types of Browsers we have. This is defined outside |
| 13 // of Browser to avoid cyclical dependencies. | 13 // of Browser to avoid cyclical dependencies. |
| 14 enum Type { | 14 enum Type { |
| 15 // NOTE: If you change this list, you may need to update which browsers | 15 // NOTE: If you change this list, you may need to update which browsers |
| 16 // are saved in session history. See | 16 // are saved in session history. See |
| 17 // SessionService::BuildCommandsFromBrowser. | 17 // SessionService::BuildCommandsFromBrowser. |
| 18 TABBED_BROWSER = 0, // A normal chrome window. | 18 TABBED_BROWSER = 0, // A normal chrome window. |
| 19 BROWSER, // A chrome window without the tabstrip or toolbar. | 19 BROWSER, // A chrome window without the tabstrip or toolbar. |
| 20 APPLICATION, // Web application with a frame but no tab strips. | 20 APPLICATION, // Web application with a frame but no tab strips. |
| 21 EMBEDDED, // Embedded browser windows. |
| 21 }; | 22 }; |
| 22 | 23 |
| 23 private: | 24 private: |
| 24 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowserType); | 25 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowserType); |
| 25 }; | 26 }; |
| 26 | 27 |
| 27 #endif // CHROME_BROWSER_BROWSER_TYPE_H__ | 28 #endif // CHROME_BROWSER_BROWSER_TYPE_H__ |
| 28 | 29 |
| OLD | NEW |