OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const char kIsTopLevel[] = "isTopLevel"; | 55 const char kIsTopLevel[] = "isTopLevel"; |
56 const char kLastUnlockedBySelf[] = "lastUnlockedBySelf"; | 56 const char kLastUnlockedBySelf[] = "lastUnlockedBySelf"; |
57 const char kName[] = "name"; | 57 const char kName[] = "name"; |
58 const char kNewURL[] = "newUrl"; | 58 const char kNewURL[] = "newUrl"; |
59 const char kNewHeight[] = "newHeight"; | 59 const char kNewHeight[] = "newHeight"; |
60 const char kNewWidth[] = "newWidth"; | 60 const char kNewWidth[] = "newWidth"; |
61 const char kOldURL[] = "oldUrl"; | 61 const char kOldURL[] = "oldUrl"; |
62 const char kOldHeight[] = "oldHeight"; | 62 const char kOldHeight[] = "oldHeight"; |
63 const char kOldWidth[] = "oldWidth"; | 63 const char kOldWidth[] = "oldWidth"; |
64 const char kPermission[] = "permission"; | 64 const char kPermission[] = "permission"; |
| 65 const char kPermissionTypeDownload[] = "download"; |
65 const char kPermissionTypeGeolocation[] = "geolocation"; | 66 const char kPermissionTypeGeolocation[] = "geolocation"; |
66 const char kPermissionTypeMedia[] = "media"; | 67 const char kPermissionTypeMedia[] = "media"; |
67 const char kPermissionTypeNewWindow[] = "newwindow"; | 68 const char kPermissionTypeNewWindow[] = "newwindow"; |
68 const char kPermissionTypePointerLock[] = "pointerLock"; | 69 const char kPermissionTypePointerLock[] = "pointerLock"; |
69 const char kPersistPrefix[] = "persist:"; | 70 const char kPersistPrefix[] = "persist:"; |
70 const char kProcessId[] = "processId"; | 71 const char kProcessId[] = "processId"; |
71 const char kReason[] = "reason"; | 72 const char kReason[] = "reason"; |
72 const char kRequestId[] = "requestId"; | 73 const char kRequestId[] = "requestId"; |
| 74 const char kRequestMethod[] = "requestMethod"; |
73 const char kTargetURL[] = "targetUrl"; | 75 const char kTargetURL[] = "targetUrl"; |
74 const char kURL[] = "url"; | 76 const char kURL[] = "url"; |
75 const char kWindowID[] = "windowId"; | 77 const char kWindowID[] = "windowId"; |
76 const char kWindowOpenDisposition[] = "windowOpenDisposition"; | 78 const char kWindowOpenDisposition[] = "windowOpenDisposition"; |
77 const char kUserGesture[] = "userGesture"; | 79 const char kUserGesture[] = "userGesture"; |
78 | 80 |
79 // Error messages. | 81 // Error messages. |
80 const char kErrorAlreadyNavigated[] = | 82 const char kErrorAlreadyNavigated[] = |
81 "The object has already navigated, so its partition cannot be changed."; | 83 "The object has already navigated, so its partition cannot be changed."; |
82 const char kErrorInvalidPartition[] = | 84 const char kErrorInvalidPartition[] = |
83 "Invalid partition attribute."; | 85 "Invalid partition attribute."; |
84 const char kErrorCannotRemovePartition[] = | 86 const char kErrorCannotRemovePartition[] = |
85 "Cannot remove partition attribute after navigating."; | 87 "Cannot remove partition attribute after navigating."; |
86 | 88 |
87 // Other. | 89 // Other. |
88 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; | 90 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; |
89 const int kInstanceIDNone = 0; | 91 const int kInstanceIDNone = 0; |
90 | 92 |
91 } // namespace browser_plugin | 93 } // namespace browser_plugin |
92 | 94 |
93 } // namespace content | 95 } // namespace content |
OLD | NEW |