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 #include "extensions/browser/guest_view/web_view/web_view_constants.h" | 5 #include "extensions/browser/guest_view/web_view/web_view_constants.h" |
6 | 6 |
7 namespace webview { | 7 namespace webview { |
8 | 8 |
9 // Attributes. | 9 // Attributes. |
10 const char kAttributeAllowTransparency[] = "allowtransparency"; | 10 const char kAttributeAllowTransparency[] = "allowtransparency"; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 // Miscellaneous. | 125 // Miscellaneous. |
126 const char kMenuItemCommandId[] = "commandId"; | 126 const char kMenuItemCommandId[] = "commandId"; |
127 const char kMenuItemLabel[] = "label"; | 127 const char kMenuItemLabel[] = "label"; |
128 const char kPersistPrefix[] = "persist:"; | 128 const char kPersistPrefix[] = "persist:"; |
129 const char kStoragePartitionId[] = "partition"; | 129 const char kStoragePartitionId[] = "partition"; |
130 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 130 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
131 const int kInvalidPermissionRequestID = 0; | 131 const int kInvalidPermissionRequestID = 0; |
132 | 132 |
133 // ClearData API constants. | 133 // ClearData API constants. |
134 const uint32 WEB_VIEW_REMOVE_DATA_MASK_APPCACHE = 1 << 0; | 134 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_APPCACHE = 1 << 0; |
135 const uint32 WEB_VIEW_REMOVE_DATA_MASK_CACHE = 1 << 1; | 135 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_CACHE = 1 << 1; |
136 const uint32 WEB_VIEW_REMOVE_DATA_MASK_COOKIES = 1 << 2; | 136 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_COOKIES = 1 << 2; |
137 const uint32 WEB_VIEW_REMOVE_DATA_MASK_FILE_SYSTEMS = 1 << 3; | 137 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_FILE_SYSTEMS = 1 << 3; |
138 const uint32 WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB = 1 << 4; | 138 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB = 1 << 4; |
139 const uint32 WEB_VIEW_REMOVE_DATA_MASK_LOCAL_STORAGE = 1 << 5; | 139 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_LOCAL_STORAGE = 1 << 5; |
140 const uint32 WEB_VIEW_REMOVE_DATA_MASK_WEBSQL = 1 << 6; | 140 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_WEBSQL = 1 << 6; |
141 | 141 |
142 // Other. | 142 // Other. |
143 const char kWebViewContentScriptManagerKeyName[] = | 143 const char kWebViewContentScriptManagerKeyName[] = |
144 "web_view_content_script_manager"; | 144 "web_view_content_script_manager"; |
145 } // namespace webview | 145 } // namespace webview |
OLD | NEW |