Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / guest_view / common / guest_view_constants.h
blobef9066e867e11125c49d2a9359450b43512790a2
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
3 // found in the LICENSE file.
5 // Constants used for the WebView API.
7 #ifndef COMPONENTS_GUEST_VIEW_COMMON_GUEST_VIEW_CONSTANTS_H_
8 #define COMPONENTS_GUEST_VIEW_COMMON_GUEST_VIEW_CONSTANTS_H_
10 namespace guest_view {
12 // Sizing attributes/parameters.
13 extern const char kAttributeAutoSize[];
14 extern const char kAttributeMaxHeight[];
15 extern const char kAttributeMaxWidth[];
16 extern const char kAttributeMinHeight[];
17 extern const char kAttributeMinWidth[];
18 extern const char kElementWidth[];
19 extern const char kElementHeight[];
20 extern const char kElementSizeIsLogical[];
22 // Events.
23 extern const char kEventResize[];
25 // Parameters/properties on events.
26 extern const char kCode[];
27 extern const char kContentWindowID[];
28 extern const char kID[];
29 extern const char kIsTopLevel[];
30 extern const char kNewWidth[];
31 extern const char kNewHeight[];
32 extern const char kOldWidth[];
33 extern const char kOldHeight[];
34 extern const char kReason[];
35 extern const char kUrl[];
36 extern const char kUserGesture[];
38 // Initialization parameters.
39 extern const char kParameterApi[];
40 extern const char kParameterInstanceId[];
42 // Other.
43 extern const char kGuestViewManagerKeyName[];
44 extern const int kInstanceIDNone;
45 extern const int kDefaultWidth;
46 extern const int kDefaultHeight;
48 } // namespace guest_view
50 #endif // COMPONENTS_GUEST_VIEW_COMMON_GUEST_VIEW_CONSTANTS_H_