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 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ 6 #define CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ 7 8 namespace content { 9 10 namespace browser_plugin { 11 12 // Internal method bindings. 13 extern const char kMethodInternalAttach[]; 14 15 // Attributes. 16 extern const char kAttributeAllowTransparency[]; 17 extern const char kAttributeAutoSize[]; 18 extern const char kAttributeContentWindow[]; 19 extern const char kAttributeMaxHeight[]; 20 extern const char kAttributeMaxWidth[]; 21 extern const char kAttributeMinHeight[]; 22 extern const char kAttributeMinWidth[]; 23 extern const char kAttributeName[]; 24 extern const char kAttributePartition[]; 25 extern const char kAttributeSrc[]; 26 27 // Parameters/properties on events. 28 extern const char kWindowID[]; 29 30 // Error messages. 31 extern const char kErrorCannotRemovePartition[]; 32 33 // Other. 34 extern const int kInstanceIDNone; 35 extern const int kInvalidPermissionRequestID; 36 37 } // namespace browser_plugin 38 39 } // namespace content 40 41 #endif // CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_CONSTANTS_H_ 42