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

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
« no previous file with comments | « chrome/browser/webview/webview_constants.h ('k') | chrome/browser/webview/webview_guest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0766a216b8b436985510679840cf446defdc0442 100644
--- a/chrome/browser/webview/webview_constants.cc
+++ b/chrome/browser/webview/webview_constants.cc
@@ -4,9 +4,16 @@
#include "chrome/browser/webview/webview_constants.h"
-namespace webview_constants {
+namespace webview {
+
+// Events.
+const char kEventLoadCommit[] = "webview.onLoadCommit";
+
+// Parameters/properties on events.
+const char kIsTopLevel[] = "isTopLevel";
+const char kUrl[] = "url";
// Attributes.
const char kAttributeApi[] = "api";
-} // namespace webview_constants
+} // namespace webview
« no previous file with comments | « chrome/browser/webview/webview_constants.h ('k') | chrome/browser/webview/webview_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698