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_PUBLIC_COMMON_VIEW_TYPE_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ |
6 #define CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ | 6 #define CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 // Indicates different types of views. | 11 // Indicates different types of views. |
12 enum ViewTypeValues { | 12 enum ViewTypeValues { |
13 VIEW_TYPE_INVALID, | 13 VIEW_TYPE_INVALID, |
14 VIEW_TYPE_TAB_CONTENTS, | 14 VIEW_TYPE_WEB_CONTENTS, |
15 VIEW_TYPE_INTERSTITIAL_PAGE, | 15 VIEW_TYPE_INTERSTITIAL_PAGE, |
16 VIEW_TYPE_DEV_TOOLS_UI, | 16 VIEW_TYPE_DEV_TOOLS_UI, |
17 | 17 |
18 VIEW_TYPE_CONTENT_END | 18 VIEW_TYPE_CONTENT_END |
19 }; | 19 }; |
20 | 20 |
21 typedef int ViewType; | 21 typedef int ViewType; |
22 | 22 |
23 } // namespace content | 23 } // namespace content |
24 | 24 |
25 #endif // CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ | 25 #endif // CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ |
OLD | NEW |