| 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 namespace webview { | 10 namespace webview { |
| 11 | 11 |
| 12 // Attributes. | 12 // Attributes. |
| 13 extern const char kAttributeAllowTransparency[]; | 13 extern const char kAttributeAllowTransparency[]; |
| 14 extern const char kAttributeAllowScaling[]; |
| 14 extern const char kAttributeName[]; | 15 extern const char kAttributeName[]; |
| 15 extern const char kAttributeSrc[]; | 16 extern const char kAttributeSrc[]; |
| 16 | 17 |
| 17 // API namespace. | 18 // API namespace. |
| 18 // TODO(kalman): Consolidate this with the other API constants. | 19 // TODO(kalman): Consolidate this with the other API constants. |
| 19 extern const char kAPINamespace[]; | 20 extern const char kAPINamespace[]; |
| 20 | 21 |
| 21 // API error messages. | 22 // API error messages. |
| 22 extern const char kAPILoadDataInvalidDataURL[]; | 23 extern const char kAPILoadDataInvalidDataURL[]; |
| 23 extern const char kAPILoadDataInvalidBaseURL[]; | 24 extern const char kAPILoadDataInvalidBaseURL[]; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 extern const char kMenuItemCommandId[]; | 114 extern const char kMenuItemCommandId[]; |
| 114 extern const char kMenuItemLabel[]; | 115 extern const char kMenuItemLabel[]; |
| 115 extern const char kPersistPrefix[]; | 116 extern const char kPersistPrefix[]; |
| 116 extern const char kStoragePartitionId[]; | 117 extern const char kStoragePartitionId[]; |
| 117 extern const unsigned int kMaxOutstandingPermissionRequests; | 118 extern const unsigned int kMaxOutstandingPermissionRequests; |
| 118 extern const int kInvalidPermissionRequestID; | 119 extern const int kInvalidPermissionRequestID; |
| 119 | 120 |
| 120 } // namespace webview | 121 } // namespace webview |
| 121 | 122 |
| 122 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 123 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| OLD | NEW |