Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3661)

Unified Diff: chrome/browser/webview/webview_constants.cc

Issue 17165004: <webview>: Partially migrate loadcommit event from content to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/webview/webview_constants.cc
diff --git a/chrome/browser/webview/webview_constants.cc b/chrome/browser/webview/webview_constants.cc
index 5a5e13b298383a019382b348f3691b18bacd91e5..d612ad9b150be4edc791b48e6e06df5091a47393 100644
--- a/chrome/browser/webview/webview_constants.cc
+++ b/chrome/browser/webview/webview_constants.cc
@@ -6,6 +6,13 @@
namespace webview_constants {
+// Events.
+const char kEventLoadCommit[] = "webview.onLoadCommit";
+
+// Parameters/properties on events.
+const char kIsTopLevel[] = "isTopLevel";
+const char kUrl[] = "url";
+
// Attributes.
const char kAttributeApi[] = "api";

Powered by Google App Engine
This is Rietveld 408576698