| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/common/browser_plugin/browser_plugin_constants.h" | 5 #include "content/common/browser_plugin/browser_plugin_constants.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 namespace browser_plugin { | 9 namespace browser_plugin { |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 const char kAttributeContentWindow[] = "contentWindow"; | 37 const char kAttributeContentWindow[] = "contentWindow"; |
| 38 const char kAttributeMaxHeight[] = "maxheight"; | 38 const char kAttributeMaxHeight[] = "maxheight"; |
| 39 const char kAttributeMaxWidth[] = "maxwidth"; | 39 const char kAttributeMaxWidth[] = "maxwidth"; |
| 40 const char kAttributeMinHeight[] = "minheight"; | 40 const char kAttributeMinHeight[] = "minheight"; |
| 41 const char kAttributeMinWidth[] = "minwidth"; | 41 const char kAttributeMinWidth[] = "minwidth"; |
| 42 const char kAttributeName[] = "name"; | 42 const char kAttributeName[] = "name"; |
| 43 const char kAttributePartition[] = "partition"; | 43 const char kAttributePartition[] = "partition"; |
| 44 const char kAttributeSrc[] = "src"; | 44 const char kAttributeSrc[] = "src"; |
| 45 | 45 |
| 46 // Events. | 46 // Events. |
| 47 const char kEventDialog[] = "dialog"; |
| 47 const char kEventNewWindow[] = "newwindow"; | 48 const char kEventNewWindow[] = "newwindow"; |
| 48 const char kEventRequestPermission[] = "permissionrequest"; | 49 const char kEventRequestPermission[] = "permissionrequest"; |
| 49 const char kEventResponsive[] = "responsive"; | 50 const char kEventResponsive[] = "responsive"; |
| 50 const char kEventSizeChanged[] = "sizechanged"; | 51 const char kEventSizeChanged[] = "sizechanged"; |
| 51 const char kEventUnresponsive[] = "unresponsive"; | 52 const char kEventUnresponsive[] = "unresponsive"; |
| 52 | 53 |
| 53 // Parameters/properties on events. | 54 // Parameters/properties on events. |
| 55 const char kDefaultPromptText[] = "defaultPromptText"; |
| 54 const char kId[] = "id"; | 56 const char kId[] = "id"; |
| 55 const char kInitialHeight[] = "initialHeight"; | 57 const char kInitialHeight[] = "initialHeight"; |
| 56 const char kInitialWidth[] = "initialWidth"; | 58 const char kInitialWidth[] = "initialWidth"; |
| 57 const char kIsTopLevel[] = "isTopLevel"; | 59 const char kIsTopLevel[] = "isTopLevel"; |
| 58 const char kLastUnlockedBySelf[] = "lastUnlockedBySelf"; | 60 const char kLastUnlockedBySelf[] = "lastUnlockedBySelf"; |
| 61 const char kMessageText[] = "messageText"; |
| 62 const char kMessageType[] = "messageType"; |
| 59 const char kName[] = "name"; | 63 const char kName[] = "name"; |
| 60 const char kNewHeight[] = "newHeight"; | 64 const char kNewHeight[] = "newHeight"; |
| 61 const char kNewWidth[] = "newWidth"; | 65 const char kNewWidth[] = "newWidth"; |
| 62 const char kOldHeight[] = "oldHeight"; | 66 const char kOldHeight[] = "oldHeight"; |
| 63 const char kOldWidth[] = "oldWidth"; | 67 const char kOldWidth[] = "oldWidth"; |
| 64 const char kPermission[] = "permission"; | 68 const char kPermission[] = "permission"; |
| 65 const char kPermissionTypeDownload[] = "download"; | 69 const char kPermissionTypeDownload[] = "download"; |
| 66 const char kPermissionTypeGeolocation[] = "geolocation"; | 70 const char kPermissionTypeGeolocation[] = "geolocation"; |
| 67 const char kPermissionTypeMedia[] = "media"; | 71 const char kPermissionTypeMedia[] = "media"; |
| 68 const char kPermissionTypeNewWindow[] = "newwindow"; | 72 const char kPermissionTypeNewWindow[] = "newwindow"; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 85 const char kErrorCannotRemovePartition[] = | 89 const char kErrorCannotRemovePartition[] = |
| 86 "Cannot remove partition attribute after navigating."; | 90 "Cannot remove partition attribute after navigating."; |
| 87 | 91 |
| 88 // Other. | 92 // Other. |
| 89 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; | 93 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; |
| 90 const int kInstanceIDNone = 0; | 94 const int kInstanceIDNone = 0; |
| 91 | 95 |
| 92 } // namespace browser_plugin | 96 } // namespace browser_plugin |
| 93 | 97 |
| 94 } // namespace content | 98 } // namespace content |
| OLD | NEW |