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 |
11 // Internal method bindings. | 11 // Internal method bindings. |
12 const char kMethodInternalAttach[] = "-internal-attach"; | 12 const char kMethodInternalAttach[] = "-internal-attach"; |
13 | 13 |
14 // Attributes. | 14 // Attributes. |
15 const char kAttributeAllowTransparency[] = "allowtransparency"; | 15 const char kAttributeAllowTransparency[] = "allowtransparency"; |
16 const char kAttributeAutoSize[] = "autosize"; | |
17 const char kAttributeContentWindow[] = "contentWindow"; | 16 const char kAttributeContentWindow[] = "contentWindow"; |
18 const char kAttributeMaxHeight[] = "maxheight"; | |
19 const char kAttributeMaxWidth[] = "maxwidth"; | |
20 const char kAttributeMinHeight[] = "minheight"; | |
21 const char kAttributeMinWidth[] = "minwidth"; | |
22 const char kAttributeName[] = "name"; | |
23 const char kAttributePartition[] = "partition"; | |
24 const char kAttributeSrc[] = "src"; | 17 const char kAttributeSrc[] = "src"; |
25 | 18 |
26 // Parameters/properties on events. | 19 // Parameters/properties on events. |
27 const char kWindowID[] = "windowId"; | 20 const char kWindowID[] = "windowId"; |
28 | 21 |
29 // Error messages. | 22 // Error messages. |
30 const char kErrorCannotRemovePartition[] = | 23 const char kErrorCannotRemovePartition[] = |
31 "Cannot remove partition attribute after navigating."; | 24 "Cannot remove partition attribute after navigating."; |
32 | 25 |
33 // Other. | 26 // Other. |
34 const int kInstanceIDNone = 0; | 27 const int kInstanceIDNone = 0; |
35 const int kInvalidPermissionRequestID = 0; | 28 const int kInvalidPermissionRequestID = 0; |
36 | 29 |
37 } // namespace browser_plugin | 30 } // namespace browser_plugin |
38 | 31 |
39 } // namespace content | 32 } // namespace content |
OLD | NEW |