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_TAB_CONTENTS_TAB_CONTENTS_TYPE_H__ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_TYPE_H__ |
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_TYPE_H__ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_TYPE_H__ |
7 | 7 |
8 // The different kinds of tab contents we support. This is declared outside of | 8 // The different kinds of tab contents we support. This is declared outside of |
9 // TabContents to eliminate the circular dependency between NavigationEntry | 9 // TabContents to eliminate the circular dependency between NavigationEntry |
10 // (which requires a tab type) and TabContents (which requires a | 10 // (which requires a tab type) and TabContents (which requires a |
11 // NavigationEntry). | 11 // NavigationEntry). |
12 enum TabContentsType { | 12 enum TabContentsType { |
13 TAB_CONTENTS_UNKNOWN_TYPE = 0, | 13 TAB_CONTENTS_UNKNOWN_TYPE = 0, |
14 TAB_CONTENTS_WEB, | 14 TAB_CONTENTS_WEB, |
15 TAB_CONTENTS_DOWNLOAD_VIEW, | 15 TAB_CONTENTS_DOWNLOAD_VIEW, |
16 TAB_CONTENTS_NETWORK_STATUS_VIEW, | 16 TAB_CONTENTS_NETWORK_STATUS_VIEW, |
17 TAB_CONTENTS_IPC_STATUS_VIEW, | 17 TAB_CONTENTS_IPC_STATUS_VIEW, |
18 TAB_CONTENTS_CHROME_VIEW_CONTENTS, | 18 TAB_CONTENTS_CHROME_VIEW_CONTENTS, |
19 TAB_CONTENTS_NEW_TAB_UI, | 19 TAB_CONTENTS_NEW_TAB_UI, |
20 TAB_CONTENTS_NATIVE_UI, | 20 TAB_CONTENTS_NATIVE_UI, |
21 TAB_CONTENTS_ABOUT_INTERNETS_STATUS_VIEW, | |
22 TAB_CONTENTS_VIEW_SOURCE, | 21 TAB_CONTENTS_VIEW_SOURCE, |
23 TAB_CONTENTS_HTML_DIALOG, | 22 TAB_CONTENTS_HTML_DIALOG, |
24 TAB_CONTENTS_ABOUT_UI, | 23 TAB_CONTENTS_ABOUT_UI, |
25 TAB_CONTENTS_DEBUGGER, | 24 TAB_CONTENTS_DEBUGGER, |
26 TAB_CONTENTS_DOM_UI, | 25 TAB_CONTENTS_DOM_UI, |
27 TAB_CONTENTS_NUM_TYPES | 26 TAB_CONTENTS_NUM_TYPES |
28 }; | 27 }; |
29 | 28 |
30 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_TYPE_H__ | 29 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_TYPE_H__ |
31 | 30 |
OLD | NEW |