| OLD | NEW |
| 1 // Copyright 2014 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/guest_view/web_view/web_view_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"; |
| 11 const char kEventConsoleMessage[] = "webview.onConsoleMessage"; | 11 const char kEventConsoleMessage[] = "webview.onConsoleMessage"; |
| 12 const char kEventContentLoad[] = "webview.onContentLoad"; | 12 const char kEventContentLoad[] = "webview.onContentLoad"; |
| 13 const char kEventDialog[] = "webview.onDialog"; | 13 const char kEventDialog[] = "webview.onDialog"; |
| 14 const char kEventExit[] = "webview.onExit"; | 14 const char kEventExit[] = "webview.onExit"; |
| 15 const char kEventFindReply[] = "webview.onFindReply"; | 15 const char kEventFindReply[] = "webview.onFindReply"; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 const char kFindCanceled[] = "canceled"; | 74 const char kFindCanceled[] = "canceled"; |
| 75 | 75 |
| 76 // Initialization parameters. | 76 // Initialization parameters. |
| 77 const char kParameterUserAgentOverride[] = "userAgentOverride"; | 77 const char kParameterUserAgentOverride[] = "userAgentOverride"; |
| 78 | 78 |
| 79 // Miscellaneous. | 79 // Miscellaneous. |
| 80 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 80 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
| 81 const int kInvalidPermissionRequestID = 0; | 81 const int kInvalidPermissionRequestID = 0; |
| 82 | 82 |
| 83 } // namespace webview | 83 } // namespace webview |
| OLD | NEW |