Implemented explicit resizing from guestview.
[chromium-blink-merge.git] / extensions / common / guest_view / guest_view_constants.h
blob4f874cc54906efaa4a75845a4365497e12109b27
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 EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_
8 #define EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_
10 namespace guestview {
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[];
21 // Parameters/properties on events.
22 extern const char kIsTopLevel[];
23 extern const char kReason[];
24 extern const char kUrl[];
25 extern const char kUserGesture[];
27 // Initialization parameters.
28 extern const char kParameterApi[];
29 extern const char kParameterInstanceId[];
31 // Other.
32 extern const char kGuestViewManagerKeyName[];
33 extern const int kInstanceIDNone;
34 extern const int kDefaultWidth;
35 extern const int kDefaultHeight;
37 } // namespace guestview
39 #endif // EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_