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_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
8 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 8 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
9 | 9 |
10 namespace webview { | 10 namespace webview { |
(...skipping 20 matching lines...) Expand all Loading... |
31 extern const char kEventFrameNameChanged[]; | 31 extern const char kEventFrameNameChanged[]; |
32 extern const char kEventLoadAbort[]; | 32 extern const char kEventLoadAbort[]; |
33 extern const char kEventLoadCommit[]; | 33 extern const char kEventLoadCommit[]; |
34 extern const char kEventLoadProgress[]; | 34 extern const char kEventLoadProgress[]; |
35 extern const char kEventLoadRedirect[]; | 35 extern const char kEventLoadRedirect[]; |
36 extern const char kEventLoadStart[]; | 36 extern const char kEventLoadStart[]; |
37 extern const char kEventLoadStop[]; | 37 extern const char kEventLoadStop[]; |
38 extern const char kEventMessage[]; | 38 extern const char kEventMessage[]; |
39 extern const char kEventNewWindow[]; | 39 extern const char kEventNewWindow[]; |
40 extern const char kEventPermissionRequest[]; | 40 extern const char kEventPermissionRequest[]; |
| 41 extern const char kEventPluginDestroyed[]; |
41 extern const char kEventResponsive[]; | 42 extern const char kEventResponsive[]; |
42 extern const char kEventSizeChanged[]; | 43 extern const char kEventSizeChanged[]; |
43 extern const char kEventUnresponsive[]; | 44 extern const char kEventUnresponsive[]; |
44 extern const char kEventZoomChange[]; | 45 extern const char kEventZoomChange[]; |
45 | 46 |
46 // Event related constants. | 47 // Event related constants. |
47 extern const char kWebViewEventPrefix[]; | 48 extern const char kWebViewEventPrefix[]; |
48 | 49 |
49 // Parameters/properties on events. | 50 // Parameters/properties on events. |
50 extern const char kContextMenuItems[]; | 51 extern const char kContextMenuItems[]; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 extern const char kMenuItemCommandId[]; | 110 extern const char kMenuItemCommandId[]; |
110 extern const char kMenuItemLabel[]; | 111 extern const char kMenuItemLabel[]; |
111 extern const char kPersistPrefix[]; | 112 extern const char kPersistPrefix[]; |
112 extern const char kStoragePartitionId[]; | 113 extern const char kStoragePartitionId[]; |
113 extern const unsigned int kMaxOutstandingPermissionRequests; | 114 extern const unsigned int kMaxOutstandingPermissionRequests; |
114 extern const int kInvalidPermissionRequestID; | 115 extern const int kInvalidPermissionRequestID; |
115 | 116 |
116 } // namespace webview | 117 } // namespace webview |
117 | 118 |
118 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 119 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
OLD | NEW |