| 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 #ifndef CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ | 5 #ifndef CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ |
| 6 #define CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ | 6 #define CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 | 9 |
| 10 namespace browser_plugin { | 10 namespace browser_plugin { |
| 11 | 11 |
| 12 // Method bindings. | |
| 13 extern const char kMethodBack[]; | |
| 14 extern const char kMethodCanGoBack[]; | |
| 15 extern const char kMethodCanGoForward[]; | |
| 16 extern const char kMethodForward[]; | |
| 17 extern const char kMethodGetGuestInstanceId[]; | |
| 18 extern const char kMethodGetInstanceId[]; | |
| 19 extern const char kMethodGo[]; | |
| 20 extern const char kMethodReload[]; | |
| 21 extern const char kMethodStop[]; | |
| 22 extern const char kMethodTerminate[]; | |
| 23 | |
| 24 // Internal method bindings. | 12 // Internal method bindings. |
| 25 extern const char kMethodInternalAttach[]; | 13 extern const char kMethodInternalAttach[]; |
| 26 extern const char kMethodInternalAttachWindowTo[]; | |
| 27 extern const char kMethodInternalTrackObjectLifetime[]; | |
| 28 | 14 |
| 29 // Internal events | 15 // Internal events |
| 30 extern const char kEventInternalInstanceIDAllocated[]; | 16 extern const char kEventInternalInstanceIDAllocated[]; |
| 31 extern const char kEventInternalTrackedObjectGone[]; | |
| 32 | 17 |
| 33 // Attributes. | 18 // Attributes. |
| 34 extern const char kAttributeAllowTransparency[]; | 19 extern const char kAttributeAllowTransparency[]; |
| 35 extern const char kAttributeApi[]; | |
| 36 extern const char kAttributeAutoSize[]; | 20 extern const char kAttributeAutoSize[]; |
| 37 extern const char kAttributeContentWindow[]; | 21 extern const char kAttributeContentWindow[]; |
| 38 extern const char kAttributeMaxHeight[]; | 22 extern const char kAttributeMaxHeight[]; |
| 39 extern const char kAttributeMaxWidth[]; | 23 extern const char kAttributeMaxWidth[]; |
| 40 extern const char kAttributeMinHeight[]; | 24 extern const char kAttributeMinHeight[]; |
| 41 extern const char kAttributeMinWidth[]; | 25 extern const char kAttributeMinWidth[]; |
| 42 extern const char kAttributeName[]; | 26 extern const char kAttributeName[]; |
| 43 extern const char kAttributePartition[]; | 27 extern const char kAttributePartition[]; |
| 44 extern const char kAttributeSrc[]; | 28 extern const char kAttributeSrc[]; |
| 45 | 29 |
| 46 // Parameters/properties on events. | 30 // Parameters/properties on events. |
| 47 extern const char kId[]; | |
| 48 extern const char kInitialHeight[]; | |
| 49 extern const char kInitialWidth[]; | |
| 50 extern const char kLastUnlockedBySelf[]; | |
| 51 extern const char kName[]; | |
| 52 extern const char kPermission[]; | |
| 53 extern const char kPermissionTypeDialog[]; | |
| 54 extern const char kPermissionTypeDownload[]; | |
| 55 extern const char kPermissionTypeGeolocation[]; | |
| 56 extern const char kPermissionTypeMedia[]; | |
| 57 extern const char kPermissionTypeNewWindow[]; | |
| 58 extern const char kPermissionTypePointerLock[]; | |
| 59 extern const char kPersistPrefix[]; | 31 extern const char kPersistPrefix[]; |
| 60 extern const char kProcessId[]; | |
| 61 extern const char kRequestId[]; | |
| 62 extern const char kRequestMethod[]; | |
| 63 extern const char kTargetURL[]; | |
| 64 extern const char kURL[]; | |
| 65 extern const char kWindowID[]; | 32 extern const char kWindowID[]; |
| 66 extern const char kWindowOpenDisposition[]; | |
| 67 | 33 |
| 68 // Error messages. | 34 // Error messages. |
| 69 extern const char kErrorAlreadyNavigated[]; | 35 extern const char kErrorAlreadyNavigated[]; |
| 70 extern const char kErrorInvalidPartition[]; | 36 extern const char kErrorInvalidPartition[]; |
| 71 extern const char kErrorCannotRemovePartition[]; | 37 extern const char kErrorCannotRemovePartition[]; |
| 72 | 38 |
| 73 // Other. | 39 // Other. |
| 74 extern const char kBrowserPluginGuestManagerKeyName[]; | |
| 75 extern const int kInstanceIDNone; | 40 extern const int kInstanceIDNone; |
| 76 extern const int kInvalidPermissionRequestID; | 41 extern const int kInvalidPermissionRequestID; |
| 77 | 42 |
| 78 } // namespace browser_plugin | 43 } // namespace browser_plugin |
| 79 | 44 |
| 80 } // namespace content | 45 } // namespace content |
| 81 | 46 |
| 82 #endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ | 47 #endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ |
| OLD | NEW |