| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_COMMON_VIEW_TYPES_H_ | 5 #ifndef CHROME_COMMON_VIEW_TYPES_H_ |
| 6 #define CHROME_COMMON_VIEW_TYPES_H_ | 6 #define CHROME_COMMON_VIEW_TYPES_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 // Indicates different types of views | 10 // Indicates different types of views |
| 11 class ViewType { | 11 class ViewType { |
| 12 public: | 12 public: |
| 13 enum Type { | 13 enum Type { |
| 14 INVALID, | 14 INVALID, |
| 15 TAB_CONTENTS, | 15 TAB_CONTENTS, |
| 16 EXTENSION_TOOLSTRIP, | 16 EXTENSION_TOOLSTRIP, |
| 17 EXTENSION_MOLE, |
| 17 EXTENSION_BACKGROUND_PAGE, | 18 EXTENSION_BACKGROUND_PAGE, |
| 18 DEV_TOOLS_UI, | 19 DEV_TOOLS_UI, |
| 19 INTERSTITIAL_PAGE, | 20 INTERSTITIAL_PAGE, |
| 20 }; | 21 }; |
| 21 | 22 |
| 22 private: | 23 private: |
| 23 // This class is for scoping only, so you shouldn't create an instance of it. | 24 // This class is for scoping only, so you shouldn't create an instance of it. |
| 24 ViewType() {} | 25 ViewType() {} |
| 25 | 26 |
| 26 DISALLOW_COPY_AND_ASSIGN(ViewType); | 27 DISALLOW_COPY_AND_ASSIGN(ViewType); |
| 27 }; | 28 }; |
| 28 | 29 |
| 29 #endif // CHROME_COMMON_VIEW_TYPES_H_ | 30 #endif // CHROME_COMMON_VIEW_TYPES_H_ |
| OLD | NEW |