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"; |
| 69 const char kPermissionTypeDialog[] = "dialog"; |
65 const char kPermissionTypeDownload[] = "download"; | 70 const char kPermissionTypeDownload[] = "download"; |
66 const char kPermissionTypeGeolocation[] = "geolocation"; | 71 const char kPermissionTypeGeolocation[] = "geolocation"; |
67 const char kPermissionTypeMedia[] = "media"; | 72 const char kPermissionTypeMedia[] = "media"; |
68 const char kPermissionTypeNewWindow[] = "newwindow"; | 73 const char kPermissionTypeNewWindow[] = "newwindow"; |
69 const char kPermissionTypePointerLock[] = "pointerLock"; | 74 const char kPermissionTypePointerLock[] = "pointerLock"; |
70 const char kPersistPrefix[] = "persist:"; | 75 const char kPersistPrefix[] = "persist:"; |
71 const char kProcessId[] = "processId"; | 76 const char kProcessId[] = "processId"; |
72 const char kRequestId[] = "requestId"; | 77 const char kRequestId[] = "requestId"; |
73 const char kRequestMethod[] = "requestMethod"; | 78 const char kRequestMethod[] = "requestMethod"; |
74 const char kTargetURL[] = "targetUrl"; | 79 const char kTargetURL[] = "targetUrl"; |
(...skipping 10 matching lines...) Expand all Loading... |
85 const char kErrorCannotRemovePartition[] = | 90 const char kErrorCannotRemovePartition[] = |
86 "Cannot remove partition attribute after navigating."; | 91 "Cannot remove partition attribute after navigating."; |
87 | 92 |
88 // Other. | 93 // Other. |
89 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; | 94 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; |
90 const int kInstanceIDNone = 0; | 95 const int kInstanceIDNone = 0; |
91 | 96 |
92 } // namespace browser_plugin | 97 } // namespace browser_plugin |
93 | 98 |
94 } // namespace content | 99 } // namespace content |
OLD | NEW |