| 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 kAttributeAutoSize[]; | 14 extern const char kAttributeAutoSize[]; |
| 14 extern const char kAttributeMaxHeight[]; | 15 extern const char kAttributeMaxHeight[]; |
| 15 extern const char kAttributeMaxWidth[]; | 16 extern const char kAttributeMaxWidth[]; |
| 16 extern const char kAttributeMinHeight[]; | 17 extern const char kAttributeMinHeight[]; |
| 17 extern const char kAttributeMinWidth[]; | 18 extern const char kAttributeMinWidth[]; |
| 19 extern const char kAttributeName[]; |
| 20 extern const char kAttributeSrc[]; |
| 18 | 21 |
| 19 // API namespace. | 22 // API namespace. |
| 20 // TODO(kalman): Consolidate this with the other API constants. | 23 // TODO(kalman): Consolidate this with the other API constants. |
| 21 extern const char kAPINamespace[]; | 24 extern const char kAPINamespace[]; |
| 22 | 25 |
| 23 // Events. | 26 // Events. |
| 24 extern const char kEventClose[]; | 27 extern const char kEventClose[]; |
| 25 extern const char kEventConsoleMessage[]; | 28 extern const char kEventConsoleMessage[]; |
| 26 extern const char kEventContentLoad[]; | 29 extern const char kEventContentLoad[]; |
| 27 extern const char kEventContextMenu[]; | 30 extern const char kEventContextMenu[]; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 extern const char kMenuItemCommandId[]; | 113 extern const char kMenuItemCommandId[]; |
| 111 extern const char kMenuItemLabel[]; | 114 extern const char kMenuItemLabel[]; |
| 112 extern const char kPersistPrefix[]; | 115 extern const char kPersistPrefix[]; |
| 113 extern const char kStoragePartitionId[]; | 116 extern const char kStoragePartitionId[]; |
| 114 extern const unsigned int kMaxOutstandingPermissionRequests; | 117 extern const unsigned int kMaxOutstandingPermissionRequests; |
| 115 extern const int kInvalidPermissionRequestID; | 118 extern const int kInvalidPermissionRequestID; |
| 116 | 119 |
| 117 } // namespace webview | 120 } // namespace webview |
| 118 | 121 |
| 119 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 122 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| OLD | NEW |