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"; |
| 11 const char kAttributeAllowScaling[] = "allowscaling"; |
11 const char kAttributeName[] = "name"; | 12 const char kAttributeName[] = "name"; |
12 const char kAttributeSrc[] = "src"; | 13 const char kAttributeSrc[] = "src"; |
13 | 14 |
14 // API namespace. | 15 // API namespace. |
15 const char kAPINamespace[] = "webViewInternal"; | 16 const char kAPINamespace[] = "webViewInternal"; |
16 | 17 |
17 // API error messages. | 18 // API error messages. |
18 const char kAPILoadDataInvalidDataURL[] = "Invalid data URL \"%s\"."; | 19 const char kAPILoadDataInvalidDataURL[] = "Invalid data URL \"%s\"."; |
19 const char kAPILoadDataInvalidBaseURL[] = "Invalid base URL \"%s\"."; | 20 const char kAPILoadDataInvalidBaseURL[] = "Invalid base URL \"%s\"."; |
20 const char kAPILoadDataInvalidVirtualURL[] = "Invalid virtual URL \"%s\"."; | 21 const char kAPILoadDataInvalidVirtualURL[] = "Invalid virtual URL \"%s\"."; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 107 |
107 // Miscellaneous. | 108 // Miscellaneous. |
108 const char kMenuItemCommandId[] = "commandId"; | 109 const char kMenuItemCommandId[] = "commandId"; |
109 const char kMenuItemLabel[] = "label"; | 110 const char kMenuItemLabel[] = "label"; |
110 const char kPersistPrefix[] = "persist:"; | 111 const char kPersistPrefix[] = "persist:"; |
111 const char kStoragePartitionId[] = "partition"; | 112 const char kStoragePartitionId[] = "partition"; |
112 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 113 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
113 const int kInvalidPermissionRequestID = 0; | 114 const int kInvalidPermissionRequestID = 0; |
114 | 115 |
115 } // namespace webview | 116 } // namespace webview |
OLD | NEW |