| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const char kPermissionTypeNewWindow[] = "newwindow"; | 60 const char kPermissionTypeNewWindow[] = "newwindow"; |
| 61 const char kPermissionTypePointerLock[] = "pointerLock"; | 61 const char kPermissionTypePointerLock[] = "pointerLock"; |
| 62 const char kPersistPrefix[] = "persist:"; | 62 const char kPersistPrefix[] = "persist:"; |
| 63 const char kProcessId[] = "processId"; | 63 const char kProcessId[] = "processId"; |
| 64 const char kRequestId[] = "requestId"; | 64 const char kRequestId[] = "requestId"; |
| 65 const char kRequestMethod[] = "requestMethod"; | 65 const char kRequestMethod[] = "requestMethod"; |
| 66 const char kTargetURL[] = "targetUrl"; | 66 const char kTargetURL[] = "targetUrl"; |
| 67 const char kURL[] = "url"; | 67 const char kURL[] = "url"; |
| 68 const char kWindowID[] = "windowId"; | 68 const char kWindowID[] = "windowId"; |
| 69 const char kWindowOpenDisposition[] = "windowOpenDisposition"; | 69 const char kWindowOpenDisposition[] = "windowOpenDisposition"; |
| 70 const char kUserGesture[] = "userGesture"; | |
| 71 | 70 |
| 72 // Error messages. | 71 // Error messages. |
| 73 const char kErrorAlreadyNavigated[] = | 72 const char kErrorAlreadyNavigated[] = |
| 74 "The object has already navigated, so its partition cannot be changed."; | 73 "The object has already navigated, so its partition cannot be changed."; |
| 75 const char kErrorInvalidPartition[] = | 74 const char kErrorInvalidPartition[] = |
| 76 "Invalid partition attribute."; | 75 "Invalid partition attribute."; |
| 77 const char kErrorCannotRemovePartition[] = | 76 const char kErrorCannotRemovePartition[] = |
| 78 "Cannot remove partition attribute after navigating."; | 77 "Cannot remove partition attribute after navigating."; |
| 79 | 78 |
| 80 // Other. | 79 // Other. |
| 81 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; | 80 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; |
| 82 const int kInstanceIDNone = 0; | 81 const int kInstanceIDNone = 0; |
| 83 const int kInvalidPermissionRequestID = 0; | 82 const int kInvalidPermissionRequestID = 0; |
| 84 | 83 |
| 85 } // namespace browser_plugin | 84 } // namespace browser_plugin |
| 86 | 85 |
| 87 } // namespace content | 86 } // namespace content |
| OLD | NEW |