OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/guestview/webview/webview_constants.h" | 5 #include "chrome/browser/guestview/webview/webview_constants.h" |
6 | 6 |
7 namespace webview { | 7 namespace webview { |
8 | 8 |
9 // Events. | 9 // Events. |
10 const char kEventClose[] = "webview.onClose"; | 10 const char kEventClose[] = "webview.onClose"; |
(...skipping 11 matching lines...) Expand all Loading... |
22 const char kEventNewWindow[] = "webview.onNewWindow"; | 22 const char kEventNewWindow[] = "webview.onNewWindow"; |
23 const char kEventPermissionRequest[] = "webview.onPermissionRequest"; | 23 const char kEventPermissionRequest[] = "webview.onPermissionRequest"; |
24 const char kEventResponsive[] = "webview.onResponsive"; | 24 const char kEventResponsive[] = "webview.onResponsive"; |
25 const char kEventSizeChanged[] = "webview.onSizeChanged"; | 25 const char kEventSizeChanged[] = "webview.onSizeChanged"; |
26 const char kEventUnresponsive[] = "webview.onUnresponsive"; | 26 const char kEventUnresponsive[] = "webview.onUnresponsive"; |
27 const char kEventZoomChange[] = "webview.onZoomChange"; | 27 const char kEventZoomChange[] = "webview.onZoomChange"; |
28 | 28 |
29 // Parameters/properties on events. | 29 // Parameters/properties on events. |
30 const char kFindSearchText[] = "searchText"; | 30 const char kFindSearchText[] = "searchText"; |
31 const char kFindFinalUpdate[] = "finalUpdate"; | 31 const char kFindFinalUpdate[] = "finalUpdate"; |
| 32 const char kLastUnlockedBySelf[] = "lastUnlockedBySelf"; |
32 const char kLevel[] = "level"; | 33 const char kLevel[] = "level"; |
33 const char kLine[] = "line"; | 34 const char kLine[] = "line"; |
34 const char kMessage[] = "message"; | 35 const char kMessage[] = "message"; |
35 const char kNewHeight[] = "newHeight"; | 36 const char kNewHeight[] = "newHeight"; |
36 const char kNewURL[] = "newUrl"; | 37 const char kNewURL[] = "newUrl"; |
37 const char kNewWidth[] = "newWidth"; | 38 const char kNewWidth[] = "newWidth"; |
38 const char kOldHeight[] = "oldHeight"; | 39 const char kOldHeight[] = "oldHeight"; |
39 const char kOldURL[] = "oldUrl"; | 40 const char kOldURL[] = "oldUrl"; |
40 const char kPermission[] = "permission"; | 41 const char kPermission[] = "permission"; |
41 const char kPermissionTypeDialog[] = "dialog"; | 42 const char kPermissionTypeDialog[] = "dialog"; |
(...skipping 28 matching lines...) Expand all Loading... |
70 const char kFindCanceled[] = "canceled"; | 71 const char kFindCanceled[] = "canceled"; |
71 | 72 |
72 // Initialization parameters. | 73 // Initialization parameters. |
73 const char kParameterUserAgentOverride[] = "userAgentOverride"; | 74 const char kParameterUserAgentOverride[] = "userAgentOverride"; |
74 | 75 |
75 // Miscellaneous. | 76 // Miscellaneous. |
76 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 77 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
77 const int kInvalidPermissionRequestID = 0; | 78 const int kInvalidPermissionRequestID = 0; |
78 | 79 |
79 } // namespace webview | 80 } // namespace webview |
OLD | NEW |