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"; |
16 const char kAttributeContentWindow[] = "contentWindow"; | 17 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"; |
17 const char kAttributeSrc[] = "src"; | 24 const char kAttributeSrc[] = "src"; |
18 | 25 |
19 // Parameters/properties on events. | 26 // Parameters/properties on events. |
20 const char kWindowID[] = "windowId"; | 27 const char kWindowID[] = "windowId"; |
21 | 28 |
22 // Error messages. | 29 // Error messages. |
23 const char kErrorCannotRemovePartition[] = | 30 const char kErrorCannotRemovePartition[] = |
24 "Cannot remove partition attribute after navigating."; | 31 "Cannot remove partition attribute after navigating."; |
25 | 32 |
26 // Other. | 33 // Other. |
27 const int kInstanceIDNone = 0; | 34 const int kInstanceIDNone = 0; |
28 const int kInvalidPermissionRequestID = 0; | 35 const int kInvalidPermissionRequestID = 0; |
29 | 36 |
30 } // namespace browser_plugin | 37 } // namespace browser_plugin |
31 | 38 |
32 } // namespace content | 39 } // namespace content |
OLD | NEW |