| 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/webview/webview_constants.h" | 5 #include "chrome/browser/webview/webview_constants.h" |
| 6 | 6 |
| 7 namespace webview { | 7 namespace webview { |
| 8 | 8 |
| 9 // Events. | 9 // Events. |
| 10 const char kEventLoadCommit[] = "webview.onLoadCommit"; | 10 const char kEventLoadCommit[] = "webview.onLoadCommit"; |
| 11 | 11 |
| 12 // Parameters/properties on events. | 12 // Parameters/properties on events. |
| 13 const char kIsTopLevel[] = "isTopLevel"; | 13 const char kIsTopLevel[] = "isTopLevel"; |
| 14 const char kUrl[] = "url"; | 14 const char kUrl[] = "url"; |
| 15 | 15 |
| 16 // Internal parameters/properties on events. |
| 17 const char kInternalCurrentEntryIndex[] = "currentEntryIndex"; |
| 18 const char kInternalEntryCount[] = "entryCount"; |
| 19 |
| 16 // Attributes. | 20 // Attributes. |
| 17 const char kAttributeApi[] = "api"; | 21 const char kAttributeApi[] = "api"; |
| 18 | 22 |
| 19 } // namespace webview | 23 } // namespace webview |
| OLD | NEW |