| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Constants used for the WebView API. | 5 // Constants used for the WebView API. |
| 6 | 6 |
| 7 #ifndef EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ |
| 8 #define EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ | 8 #define EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ |
| 9 | 9 |
| 10 namespace guestview { | 10 namespace guestview { |
| 11 | 11 |
| 12 // Sizing attributes/parameters. | 12 // Sizing attributes/parameters. |
| 13 extern const char kAttributeAutoSize[]; | 13 extern const char kAttributeAutoSize[]; |
| 14 extern const char kAttributeMaxHeight[]; | 14 extern const char kAttributeMaxHeight[]; |
| 15 extern const char kAttributeMaxWidth[]; | 15 extern const char kAttributeMaxWidth[]; |
| 16 extern const char kAttributeMinHeight[]; | 16 extern const char kAttributeMinHeight[]; |
| 17 extern const char kAttributeMinWidth[]; | 17 extern const char kAttributeMinWidth[]; |
| 18 extern const char kElementWidth[]; | 18 extern const char kElementWidth[]; |
| 19 extern const char kElementHeight[]; | 19 extern const char kElementHeight[]; |
| 20 extern const char kElementSizeIsLogical[]; | 20 extern const char kElementSizeIsLogical[]; |
| 21 | 21 |
| 22 // Events. | 22 // Events. |
| 23 extern const char kEventResize[]; | 23 extern const char kEventResize[]; |
| 24 | 24 |
| 25 // Parameters/properties on events. | 25 // Parameters/properties on events. |
| 26 extern const char kContentWindowID[]; |
| 27 extern const char kID[]; |
| 26 extern const char kIsTopLevel[]; | 28 extern const char kIsTopLevel[]; |
| 27 extern const char kNewWidth[]; | 29 extern const char kNewWidth[]; |
| 28 extern const char kNewHeight[]; | 30 extern const char kNewHeight[]; |
| 29 extern const char kOldWidth[]; | 31 extern const char kOldWidth[]; |
| 30 extern const char kOldHeight[]; | 32 extern const char kOldHeight[]; |
| 31 extern const char kReason[]; | 33 extern const char kReason[]; |
| 32 extern const char kUrl[]; | 34 extern const char kUrl[]; |
| 33 extern const char kUserGesture[]; | 35 extern const char kUserGesture[]; |
| 34 | 36 |
| 35 // Initialization parameters. | 37 // Initialization parameters. |
| 36 extern const char kParameterApi[]; | 38 extern const char kParameterApi[]; |
| 37 extern const char kParameterInstanceId[]; | 39 extern const char kParameterInstanceId[]; |
| 38 | 40 |
| 39 // Other. | 41 // Other. |
| 40 extern const char kGuestViewManagerKeyName[]; | 42 extern const char kGuestViewManagerKeyName[]; |
| 41 extern const int kInstanceIDNone; | 43 extern const int kInstanceIDNone; |
| 42 extern const int kDefaultWidth; | 44 extern const int kDefaultWidth; |
| 43 extern const int kDefaultHeight; | 45 extern const int kDefaultHeight; |
| 44 | 46 |
| 45 } // namespace guestview | 47 } // namespace guestview |
| 46 | 48 |
| 47 #endif // EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ | 49 #endif // EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ |
| OLD | NEW |