| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Constants used for the WebView API. | 5 // Constants used for the WebView API. |
| 6 | 6 |
| 7 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| 8 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 8 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include <stdint.h> |
| 11 | 11 |
| 12 namespace webview { | 12 namespace webview { |
| 13 | 13 |
| 14 // Attributes. | 14 // Attributes. |
| 15 extern const char kAttributeAllowTransparency[]; | 15 extern const char kAttributeAllowTransparency[]; |
| 16 extern const char kAttributeAllowScaling[]; | 16 extern const char kAttributeAllowScaling[]; |
| 17 extern const char kAttributeName[]; | 17 extern const char kAttributeName[]; |
| 18 extern const char kAttributeSrc[]; | 18 extern const char kAttributeSrc[]; |
| 19 | 19 |
| 20 // API namespace. | 20 // API namespace. |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 extern const char kMenuItemLabel[]; | 134 extern const char kMenuItemLabel[]; |
| 135 extern const char kPersistPrefix[]; | 135 extern const char kPersistPrefix[]; |
| 136 extern const char kStoragePartitionId[]; | 136 extern const char kStoragePartitionId[]; |
| 137 extern const unsigned int kMaxOutstandingPermissionRequests; | 137 extern const unsigned int kMaxOutstandingPermissionRequests; |
| 138 extern const int kInvalidPermissionRequestID; | 138 extern const int kInvalidPermissionRequestID; |
| 139 | 139 |
| 140 // ClearData API constants. | 140 // ClearData API constants. |
| 141 // | 141 // |
| 142 // Note that these are not in an enum because using enums to declare bitmasks | 142 // Note that these are not in an enum because using enums to declare bitmasks |
| 143 // results in the enum values being signed. | 143 // results in the enum values being signed. |
| 144 extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_APPCACHE; | 144 extern const uint32_t WEB_VIEW_REMOVE_DATA_MASK_APPCACHE; |
| 145 extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_CACHE; | 145 extern const uint32_t WEB_VIEW_REMOVE_DATA_MASK_CACHE; |
| 146 extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_COOKIES; | 146 extern const uint32_t WEB_VIEW_REMOVE_DATA_MASK_COOKIES; |
| 147 extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_FILE_SYSTEMS; | 147 extern const uint32_t WEB_VIEW_REMOVE_DATA_MASK_FILE_SYSTEMS; |
| 148 extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB; | 148 extern const uint32_t WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB; |
| 149 extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_LOCAL_STORAGE; | 149 extern const uint32_t WEB_VIEW_REMOVE_DATA_MASK_LOCAL_STORAGE; |
| 150 extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_WEBSQL; | 150 extern const uint32_t WEB_VIEW_REMOVE_DATA_MASK_WEBSQL; |
| 151 | 151 |
| 152 // Other. | 152 // Other. |
| 153 extern const char kWebViewContentScriptManagerKeyName[]; | 153 extern const char kWebViewContentScriptManagerKeyName[]; |
| 154 | 154 |
| 155 } // namespace webview | 155 } // namespace webview |
| 156 | 156 |
| 157 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 157 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| OLD | NEW |