Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Side by Side Diff: extensions/common/guest_view/guest_view_constants.h

Issue 856563002: Added the infrastructure for surfaceProxy.onResize() and SurfaceView.onResize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment by kalman@. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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. 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[];
19 extern const char kElementHeight[];
20
21 // Events.
22 extern const char kEventResize[];
18 23
19 // Parameters/properties on events. 24 // Parameters/properties on events.
20 extern const char kIsTopLevel[]; 25 extern const char kIsTopLevel[];
26 extern const char kNewWidth[];
27 extern const char kNewHeight[];
28 extern const char kOldWidth[];
29 extern const char kOldHeight[];
21 extern const char kReason[]; 30 extern const char kReason[];
22 extern const char kUrl[]; 31 extern const char kUrl[];
23 extern const char kUserGesture[]; 32 extern const char kUserGesture[];
24 33
25 // Initialization parameters. 34 // Initialization parameters.
26 extern const char kParameterApi[]; 35 extern const char kParameterApi[];
27 extern const char kParameterInstanceId[]; 36 extern const char kParameterInstanceId[];
28 37
29 // Other. 38 // Other.
30 extern const char kGuestViewManagerKeyName[]; 39 extern const char kGuestViewManagerKeyName[];
31 extern const int kInstanceIDNone; 40 extern const int kInstanceIDNone;
32 41
33 } // namespace guestview 42 } // namespace guestview
34 43
35 #endif // EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ 44 #endif // EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698