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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 const int kInvalidPermissionRequestID = 0; | 131 const int kInvalidPermissionRequestID = 0; |
132 | 132 |
133 // ClearData API constants. | 133 // ClearData API constants. |
134 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_APPCACHE = 1 << 0; | 134 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_APPCACHE = 1 << 0; |
135 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_CACHE = 1 << 1; | 135 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_CACHE = 1 << 1; |
136 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_COOKIES = 1 << 2; | 136 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_COOKIES = 1 << 2; |
137 const uint32_t 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_t WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB = 1 << 4; | 138 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB = 1 << 4; |
139 const uint32_t 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_t WEB_VIEW_REMOVE_DATA_MASK_WEBSQL = 1 << 6; | 140 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_WEBSQL = 1 << 6; |
| 141 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_SESSION_COOKIES = 1 << 7; |
| 142 const uint32_t WEB_VIEW_REMOVE_DATA_MASK_PERSISTENT_COOKIES = 1 << 8; |
141 | 143 |
142 // Other. | 144 // Other. |
143 const char kWebViewContentScriptManagerKeyName[] = | 145 const char kWebViewContentScriptManagerKeyName[] = |
144 "web_view_content_script_manager"; | 146 "web_view_content_script_manager"; |
145 } // namespace webview | 147 } // namespace webview |
OLD | NEW |