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 #include "chrome/browser/guest_view/web_view/web_view_constants.h" | 5 #include "chrome/browser/guest_view/web_view/web_view_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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 const char kFindRectWidth[] = "width"; | 81 const char kFindRectWidth[] = "width"; |
82 const char kFindRectHeight[] = "height"; | 82 const char kFindRectHeight[] = "height"; |
83 const char kFindCanceled[] = "canceled"; | 83 const char kFindCanceled[] = "canceled"; |
84 | 84 |
85 // Initialization parameters. | 85 // Initialization parameters. |
86 const char kParameterUserAgentOverride[] = "userAgentOverride"; | 86 const char kParameterUserAgentOverride[] = "userAgentOverride"; |
87 | 87 |
88 // Miscellaneous. | 88 // Miscellaneous. |
89 const char kMenuItemCommandId[] = "commandId"; | 89 const char kMenuItemCommandId[] = "commandId"; |
90 const char kMenuItemLabel[] = "label"; | 90 const char kMenuItemLabel[] = "label"; |
| 91 const char kPersistPrefix[] = "persist:"; |
91 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 92 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
92 const int kInvalidPermissionRequestID = 0; | 93 const int kInvalidPermissionRequestID = 0; |
93 | 94 |
94 } // namespace webview | 95 } // namespace webview |
OLD | NEW |