| 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 CONTENT_COMMON_VIEW_TYPES_H_ | 5 #ifndef CONTENT_COMMON_VIEW_TYPES_H_ |
| 6 #define CONTENT_COMMON_VIEW_TYPES_H_ | 6 #define CONTENT_COMMON_VIEW_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "content/common/content_export.h" |
| 10 | 11 |
| 11 // Indicates different types of views | 12 // Indicates different types of views |
| 12 class ViewType { | 13 class CONTENT_EXPORT ViewType { |
| 13 public: | 14 public: |
| 14 enum Type { | 15 enum Type { |
| 15 INVALID, | 16 INVALID, |
| 16 BACKGROUND_CONTENTS, | 17 BACKGROUND_CONTENTS, |
| 17 TAB_CONTENTS, | 18 TAB_CONTENTS, |
| 18 EXTENSION_BACKGROUND_PAGE, | 19 EXTENSION_BACKGROUND_PAGE, |
| 19 EXTENSION_POPUP, | 20 EXTENSION_POPUP, |
| 20 EXTENSION_INFOBAR, | 21 EXTENSION_INFOBAR, |
| 21 DEV_TOOLS_UI, | 22 DEV_TOOLS_UI, |
| 22 INTERSTITIAL_PAGE, | 23 INTERSTITIAL_PAGE, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 35 static const char* const kAll; | 36 static const char* const kAll; |
| 36 | 37 |
| 37 private: | 38 private: |
| 38 // This class is for scoping only, so you shouldn't create an instance of it. | 39 // This class is for scoping only, so you shouldn't create an instance of it. |
| 39 ViewType() {} | 40 ViewType() {} |
| 40 | 41 |
| 41 DISALLOW_COPY_AND_ASSIGN(ViewType); | 42 DISALLOW_COPY_AND_ASSIGN(ViewType); |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 #endif // CONTENT_COMMON_VIEW_TYPES_H_ | 45 #endif // CONTENT_COMMON_VIEW_TYPES_H_ |
| OLD | NEW |