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. 4 5 // Constants used for the WebView API. 6 7 #ifndef EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ 8 #define EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ 9 10 namespace guestview { 11 12 // Parameters/properties on events. 13 extern const char kIsTopLevel[]; 14 extern const char kReason[]; 15 extern const char kUrl[]; 16 extern const char kUserGesture[]; 17 18 // Initialization parameters. 19 extern const char kParameterApi[]; 20 extern const char kParameterInstanceId[]; 21 22 // Other. 23 extern const char kGuestViewManagerKeyName[]; 24 extern const int kInstanceIDNone; 25 26 } // namespace guestview 27 28 #endif // EXTENSIONS_COMMON_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ 29 30