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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 const char kParameterUserAgentOverride[] = "userAgentOverride"; | 110 const char kParameterUserAgentOverride[] = "userAgentOverride"; |
111 | 111 |
112 // Miscellaneous. | 112 // Miscellaneous. |
113 const char kMenuItemCommandId[] = "commandId"; | 113 const char kMenuItemCommandId[] = "commandId"; |
114 const char kMenuItemLabel[] = "label"; | 114 const char kMenuItemLabel[] = "label"; |
115 const char kPersistPrefix[] = "persist:"; | 115 const char kPersistPrefix[] = "persist:"; |
116 const char kStoragePartitionId[] = "partition"; | 116 const char kStoragePartitionId[] = "partition"; |
117 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 117 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
118 const int kInvalidPermissionRequestID = 0; | 118 const int kInvalidPermissionRequestID = 0; |
119 | 119 |
| 120 // ClearData API constants. |
| 121 const uint32 WEB_VIEW_REMOVE_DATA_MASK_APPCACHE = 1 << 0; |
| 122 const uint32 WEB_VIEW_REMOVE_DATA_MASK_CACHE = 1 << 1; |
| 123 const uint32 WEB_VIEW_REMOVE_DATA_MASK_COOKIES = 1 << 2; |
| 124 const uint32 WEB_VIEW_REMOVE_DATA_MASK_FILE_SYSTEMS = 1 << 3; |
| 125 const uint32 WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB = 1 << 4; |
| 126 const uint32 WEB_VIEW_REMOVE_DATA_MASK_LOCAL_STORAGE = 1 << 5; |
| 127 const uint32 WEB_VIEW_REMOVE_DATA_MASK_WEBSQL = 1 << 6; |
| 128 |
120 } // namespace webview | 129 } // namespace webview |
OLD | NEW |