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

Unified Diff: chrome/browser/extensions/api/webview/webview_api_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: Addressed nit 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/extensions/api/webview/webview_api_constants.cc
diff --git a/chrome/browser/extensions/api/webview/webview_api_constants.cc b/chrome/browser/extensions/api/webview/webview_api_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f12577bfc9d7475475a87d5fc94ee1e283a31216
--- /dev/null
+++ b/chrome/browser/extensions/api/webview/webview_api_constants.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser//extensions/api/webview/webview_api_constants.h"
+
+namespace webview_api_constants {
+
+// Events.
+const char kEventLoadCommit[] = "webview.onLoadCommit";
+
+// Parameters/properties on events.
+const char kIsTopLevel[] = "isTopLevel";
+const char kUrl[] = "url";
+
+} // namespace webview_api_constants

Powered by Google App Engine
This is Rietveld 408576698