| 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/renderer/browser_plugin/browser_plugin_constants.h" | 5 #include "content/renderer/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 |
| 11 // Method bindings. | 11 // Method bindings. |
| 12 const char kMethodBack[] = "back"; | 12 const char kMethodBack[] = "back"; |
| 13 const char kMethodCanGoBack[] = "canGoBack"; | 13 const char kMethodCanGoBack[] = "canGoBack"; |
| 14 const char kMethodCanGoForward[] = "canGoForward"; | 14 const char kMethodCanGoForward[] = "canGoForward"; |
| 15 const char kMethodForward[] = "forward"; | 15 const char kMethodForward[] = "forward"; |
| 16 const char kMethodGetInstanceId[] = "getInstanceId"; |
| 16 const char kMethodGetProcessId[] = "getProcessId"; | 17 const char kMethodGetProcessId[] = "getProcessId"; |
| 17 const char kMethodGetRouteId[] = "getRouteId"; | 18 const char kMethodGetRouteId[] = "getRouteId"; |
| 18 const char kMethodGo[] = "go"; | 19 const char kMethodGo[] = "go"; |
| 19 const char kMethodReload[] = "reload"; | 20 const char kMethodReload[] = "reload"; |
| 20 const char kMethodStop[] = "stop"; | 21 const char kMethodStop[] = "stop"; |
| 21 const char kMethodTerminate[] = "terminate"; | 22 const char kMethodTerminate[] = "terminate"; |
| 22 | 23 |
| 23 // Attributes. | 24 // Attributes. |
| 24 const char kAttributeAutoSize[] = "autosize"; | 25 const char kAttributeAutoSize[] = "autosize"; |
| 25 const char kAttributeContentWindow[] = "contentWindow"; | 26 const char kAttributeContentWindow[] = "contentWindow"; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 "Invalid partition attribute."; | 63 "Invalid partition attribute."; |
| 63 const char kErrorCannotRemovePartition[] = | 64 const char kErrorCannotRemovePartition[] = |
| 64 "Cannot remove partition attribute after navigating."; | 65 "Cannot remove partition attribute after navigating."; |
| 65 | 66 |
| 66 // Other. | 67 // Other. |
| 67 const int kInstanceIDNone = 0; | 68 const int kInstanceIDNone = 0; |
| 68 | 69 |
| 69 } // namespace browser_plugin | 70 } // namespace browser_plugin |
| 70 | 71 |
| 71 } // namespace content | 72 } // namespace content |
| OLD | NEW |