Chromium Code Reviews| 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 EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ |
| 8 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ | 8 #define EXTENSIONS_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 char kGuestViewManagerKeyName[]; |
| 24 extern const char kMimeTypeParam[]; | |
|
Fady Samuel
2014/08/29 18:52:32
I'd prefer not having a GuestView specific constan
lazyboy
2014/08/29 22:08:25
Makes sense.
Removed the const.
I'm using string l
| |
| 24 extern const int kInstanceIDNone; | 25 extern const int kInstanceIDNone; |
| 25 | 26 |
| 26 } // namespace guestview | 27 } // namespace guestview |
| 27 | 28 |
| 28 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ | 29 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_ |
| 29 | 30 |
| OLD | NEW |