| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_CHROME_VIEW_TYPES_H_ | |
| 6 #define CHROME_COMMON_CHROME_VIEW_TYPES_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "content/public/common/view_types.h" | |
| 10 | |
| 11 namespace chrome { | |
| 12 | |
| 13 // Indicates different types of views. | |
| 14 enum ViewType { | |
| 15 VIEW_TYPE_CHROME_START = content::VIEW_TYPE_CONTENT_END, | |
| 16 | |
| 17 VIEW_TYPE_BACKGROUND_CONTENTS, | |
| 18 VIEW_TYPE_EXTENSION_BACKGROUND_PAGE, | |
| 19 VIEW_TYPE_EXTENSION_POPUP, | |
| 20 VIEW_TYPE_EXTENSION_INFOBAR, | |
| 21 VIEW_TYPE_NOTIFICATION, | |
| 22 VIEW_TYPE_EXTENSION_DIALOG, | |
| 23 }; | |
| 24 | |
| 25 // Constant strings corresponding to the Type enumeration values. Used | |
| 26 // when converting JS arguments. | |
| 27 extern const char kViewTypeTabContents[]; | |
| 28 extern const char kViewTypeBackgroundPage[]; | |
| 29 extern const char kViewTypePopup[]; | |
| 30 extern const char kViewTypeInfobar[]; | |
| 31 extern const char kViewTypeNotification[]; | |
| 32 extern const char kViewTypeExtensionDialog[]; | |
| 33 extern const char kViewTypeAll[]; | |
| 34 | |
| 35 } // namespace chrome | |
| 36 | |
| 37 #endif // CHROME_COMMON_CHROME_VIEW_TYPES_H_ | |
| OLD | NEW |