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