| 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 #include "extensions/common/guest_view/guest_view_constants.h" | 5 #include "extensions/common/guest_view/guest_view_constants.h" |
| 6 | 6 |
| 7 namespace guestview { | 7 namespace guestview { |
| 8 | 8 |
| 9 // Sizing Attributes. | 9 // Sizing attributes/parameters. |
| 10 const char kAttributeAutoSize[] = "autosize"; | 10 const char kAttributeAutoSize[] = "autosize"; |
| 11 const char kAttributeMaxHeight[] = "maxheight"; | 11 const char kAttributeMaxHeight[] = "maxheight"; |
| 12 const char kAttributeMaxWidth[] = "maxwidth"; | 12 const char kAttributeMaxWidth[] = "maxwidth"; |
| 13 const char kAttributeMinHeight[] = "minheight"; | 13 const char kAttributeMinHeight[] = "minheight"; |
| 14 const char kAttributeMinWidth[] = "minwidth"; | 14 const char kAttributeMinWidth[] = "minwidth"; |
| 15 const char kElementWidth[] = "elementWidth"; |
| 16 const char kElementHeight[] = "elementHeight"; |
| 15 | 17 |
| 16 // Parameters/properties on events. | 18 // Parameters/properties on events. |
| 17 const char kIsTopLevel[] = "isTopLevel"; | 19 const char kIsTopLevel[] = "isTopLevel"; |
| 18 const char kReason[] = "reason"; | 20 const char kReason[] = "reason"; |
| 19 const char kUrl[] = "url"; | 21 const char kUrl[] = "url"; |
| 20 const char kUserGesture[] = "userGesture"; | 22 const char kUserGesture[] = "userGesture"; |
| 21 | 23 |
| 22 // Initialization parameters. | 24 // Initialization parameters. |
| 23 const char kParameterApi[] = "api"; | 25 const char kParameterApi[] = "api"; |
| 24 const char kParameterInstanceId[] = "instanceId"; | 26 const char kParameterInstanceId[] = "instanceId"; |
| 25 | 27 |
| 26 // Other. | 28 // Other. |
| 27 const char kGuestViewManagerKeyName[] = "guest_view_manager"; | 29 const char kGuestViewManagerKeyName[] = "guest_view_manager"; |
| 28 const int kInstanceIDNone = 0; | 30 const int kInstanceIDNone = 0; |
| 31 const int kDefaultWidth = 300; |
| 32 const int kDefaultHeight = 300; |
| 29 | 33 |
| 30 } // namespace guestview | 34 } // namespace guestview |
| OLD | NEW |