| 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 |
| 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 // Internal method bindings. | 24 // Internal method bindings. |
| 24 const char kMethodInternalAttachWindowTo[] = "-internal-attachWindowTo"; | 25 const char kMethodInternalAttachWindowTo[] = "-internal-attachWindowTo"; |
| 25 const char kMethodInternalPersistObject[] = "-internal-persistObject"; | 26 const char kMethodInternalPersistObject[] = "-internal-persistObject"; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 const char kErrorCannotRemovePartition[] = | 94 const char kErrorCannotRemovePartition[] = |
| 94 "Cannot remove partition attribute after navigating."; | 95 "Cannot remove partition attribute after navigating."; |
| 95 | 96 |
| 96 // Other. | 97 // Other. |
| 97 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; | 98 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; |
| 98 const int kInstanceIDNone = 0; | 99 const int kInstanceIDNone = 0; |
| 99 | 100 |
| 100 } // namespace browser_plugin | 101 } // namespace browser_plugin |
| 101 | 102 |
| 102 } // namespace content | 103 } // namespace content |
| OLD | NEW |