| 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 kAttributeAutoSize[] = "autosize"; | 11 const char kAttributeAutoSize[] = "autosize"; |
| 11 const char kAttributeMaxHeight[] = "maxheight"; | 12 const char kAttributeMaxHeight[] = "maxheight"; |
| 12 const char kAttributeMaxWidth[] = "maxwidth"; | 13 const char kAttributeMaxWidth[] = "maxwidth"; |
| 13 const char kAttributeMinHeight[] = "minheight"; | 14 const char kAttributeMinHeight[] = "minheight"; |
| 14 const char kAttributeMinWidth[] = "minwidth"; | 15 const char kAttributeMinWidth[] = "minwidth"; |
| 16 const char kAttributeName[] = "name"; |
| 17 const char kAttributeSrc[] = "src"; |
| 15 | 18 |
| 16 // API namespace. | 19 // API namespace. |
| 17 const char kAPINamespace[] = "webViewInternal"; | 20 const char kAPINamespace[] = "webViewInternal"; |
| 18 | 21 |
| 19 // Events. | 22 // Events. |
| 20 const char kEventClose[] = "webViewInternal.onClose"; | 23 const char kEventClose[] = "webViewInternal.onClose"; |
| 21 const char kEventConsoleMessage[] = "webViewInternal.onConsoleMessage"; | 24 const char kEventConsoleMessage[] = "webViewInternal.onConsoleMessage"; |
| 22 const char kEventContentLoad[] = "webViewInternal.onContentLoad"; | 25 const char kEventContentLoad[] = "webViewInternal.onContentLoad"; |
| 23 const char kEventContextMenu[] = "chromeWebViewInternal.contextmenu"; | 26 const char kEventContextMenu[] = "chromeWebViewInternal.contextmenu"; |
| 24 const char kEventDialog[] = "webViewInternal.onDialog"; | 27 const char kEventDialog[] = "webViewInternal.onDialog"; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 106 |
| 104 // Miscellaneous. | 107 // Miscellaneous. |
| 105 const char kMenuItemCommandId[] = "commandId"; | 108 const char kMenuItemCommandId[] = "commandId"; |
| 106 const char kMenuItemLabel[] = "label"; | 109 const char kMenuItemLabel[] = "label"; |
| 107 const char kPersistPrefix[] = "persist:"; | 110 const char kPersistPrefix[] = "persist:"; |
| 108 const char kStoragePartitionId[] = "storagePartitionId"; | 111 const char kStoragePartitionId[] = "storagePartitionId"; |
| 109 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 112 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
| 110 const int kInvalidPermissionRequestID = 0; | 113 const int kInvalidPermissionRequestID = 0; |
| 111 | 114 |
| 112 } // namespace webview | 115 } // namespace webview |
| OLD | NEW |