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

Unified Diff: chrome/browser/extensions/api/webview/webview_api_constants.h

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.h
diff --git a/chrome/browser/extensions/api/webview/webview_api_constants.h b/chrome/browser/extensions/api/webview/webview_api_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c94a9179cac5a5108d4364dedfbc7f1733a0e85
--- /dev/null
+++ b/chrome/browser/extensions/api/webview/webview_api_constants.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
lazyboy 2013/06/20 02:37:05 nit: here and in other files, remove the (c) part.
Fady Samuel 2013/06/20 03:58:29 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Constants used for the WebView API.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_CONSTANTS_H_
+#define CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_CONSTANTS_H_
+
+namespace webview_api_constants {
+
+// Events.
+extern const char kEventLoadCommit[];
+
+// Parameters/properties on events.
+extern const char kIsTopLevel[];
+extern const char kUrl[];
+
+} // namespace webview_api_constants
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_CONSTANTS_H_
+
« no previous file with comments | « no previous file | chrome/browser/extensions/api/webview/webview_api_constants.cc » ('j') | chrome/browser/webview/webview_guest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698