| 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 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ |
| 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ | 6 #define CONTENT_RENDERER_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. | 12 // Method bindings. |
| 13 extern const char kMethodBack[]; | 13 extern const char kMethodBack[]; |
| 14 extern const char kMethodCanGoBack[]; | 14 extern const char kMethodCanGoBack[]; |
| 15 extern const char kMethodCanGoForward[]; | 15 extern const char kMethodCanGoForward[]; |
| 16 extern const char kMethodForward[]; | 16 extern const char kMethodForward[]; |
| 17 extern const char kMethodGetProcessId[]; | 17 extern const char kMethodGetProcessId[]; |
| 18 extern const char kMethodGetRouteId[]; | 18 extern const char kMethodGetRouteId[]; |
| 19 extern const char kMethodGo[]; | 19 extern const char kMethodGo[]; |
| 20 extern const char kMethodReload[]; | 20 extern const char kMethodReload[]; |
| 21 extern const char kMethodSetMediaPermission[]; |
| 21 extern const char kMethodStop[]; | 22 extern const char kMethodStop[]; |
| 22 extern const char kMethodTerminate[]; | 23 extern const char kMethodTerminate[]; |
| 23 | 24 |
| 24 // Attributes. | 25 // Attributes. |
| 25 extern const char kAttributeAutoSize[]; | 26 extern const char kAttributeAutoSize[]; |
| 26 extern const char kAttributeContentWindow[]; | 27 extern const char kAttributeContentWindow[]; |
| 27 extern const char kAttributeMaxHeight[]; | 28 extern const char kAttributeMaxHeight[]; |
| 28 extern const char kAttributeMaxWidth[]; | 29 extern const char kAttributeMaxWidth[]; |
| 29 extern const char kAttributeMinHeight[]; | 30 extern const char kAttributeMinHeight[]; |
| 30 extern const char kAttributeMinWidth[]; | 31 extern const char kAttributeMinWidth[]; |
| 31 extern const char kAttributeName[]; | 32 extern const char kAttributeName[]; |
| 32 extern const char kAttributePartition[]; | 33 extern const char kAttributePartition[]; |
| 33 extern const char kAttributeSrc[]; | 34 extern const char kAttributeSrc[]; |
| 34 | 35 |
| 35 // Events. | 36 // Events. |
| 36 extern const char kEventExit[]; | 37 extern const char kEventExit[]; |
| 37 extern const char kEventLoadAbort[]; | 38 extern const char kEventLoadAbort[]; |
| 38 extern const char kEventLoadCommit[]; | 39 extern const char kEventLoadCommit[]; |
| 39 extern const char kEventLoadRedirect[]; | 40 extern const char kEventLoadRedirect[]; |
| 40 extern const char kEventLoadStart[]; | 41 extern const char kEventLoadStart[]; |
| 41 extern const char kEventLoadStop[]; | 42 extern const char kEventLoadStop[]; |
| 43 extern const char kEventRequestPermission[]; |
| 42 extern const char kEventResponsive[]; | 44 extern const char kEventResponsive[]; |
| 43 extern const char kEventSizeChanged[]; | 45 extern const char kEventSizeChanged[]; |
| 44 extern const char kEventUnresponsive[]; | 46 extern const char kEventUnresponsive[]; |
| 45 | 47 |
| 46 // Parameters/properties on events. | 48 // Parameters/properties on events. |
| 47 extern const char kIsTopLevel[]; | 49 extern const char kIsTopLevel[]; |
| 48 extern const char kNewURL[]; | 50 extern const char kNewURL[]; |
| 49 extern const char kNewHeight[]; | 51 extern const char kNewHeight[]; |
| 50 extern const char kNewWidth[]; | 52 extern const char kNewWidth[]; |
| 51 extern const char kOldURL[]; | 53 extern const char kOldURL[]; |
| 52 extern const char kOldHeight[]; | 54 extern const char kOldHeight[]; |
| 53 extern const char kOldWidth[]; | 55 extern const char kOldWidth[]; |
| 56 extern const char kPermission[]; |
| 57 extern const char kPermissionTypeMedia[]; |
| 54 extern const char kPersistPrefix[]; | 58 extern const char kPersistPrefix[]; |
| 55 extern const char kProcessId[]; | 59 extern const char kProcessId[]; |
| 56 extern const char kReason[]; | 60 extern const char kReason[]; |
| 61 extern const char kRequestId[]; |
| 57 extern const char kURL[]; | 62 extern const char kURL[]; |
| 58 | 63 |
| 59 // Error messages. | 64 // Error messages. |
| 60 extern const char kErrorAlreadyNavigated[]; | 65 extern const char kErrorAlreadyNavigated[]; |
| 61 extern const char kErrorInvalidPartition[]; | 66 extern const char kErrorInvalidPartition[]; |
| 62 | 67 |
| 63 // Other. | 68 // Other. |
| 64 extern const int kInstanceIDNone; | 69 extern const int kInstanceIDNone; |
| 65 | 70 |
| 66 } // namespace browser_plugin | 71 } // namespace browser_plugin |
| 67 | 72 |
| 68 } // namespace content | 73 } // namespace content |
| 69 | 74 |
| 70 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ | 75 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ |
| OLD | NEW |