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

Unified Diff: chrome/browser/extensions/extension_web_navigation_api_constants.h

Issue 3131014: Add constant values for the webNavigation API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « no previous file | chrome/browser/extensions/extension_web_navigation_api_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_web_navigation_api_constants.h
===================================================================
--- chrome/browser/extensions/extension_web_navigation_api_constants.h (revision 0)
+++ chrome/browser/extensions/extension_web_navigation_api_constants.h (revision 0)
@@ -0,0 +1,35 @@
+// Copyright (c) 2010 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.
+
+// Constants used for the WebNavigation API.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_NAVIGATION_API_CONSTANTS_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_NAVIGATION_API_CONSTANTS_H_
+#pragma once
+
+namespace extension_web_navigation_api_constants {
+
+// Keys.
+extern const wchar_t kErrorKey[];
+extern const wchar_t kFrameIdKey[];
+extern const wchar_t kRequestIdKey[];
+extern const wchar_t kSourceTabIdKey[];
+extern const wchar_t kSourceUrlKey[];
+extern const wchar_t kTabIdKey[];
+extern const wchar_t kTargetUrlKey[];
+extern const wchar_t kTimeStampKey[];
+extern const wchar_t kTransitionTypeKey[];
+extern const wchar_t kUrlKey[];
+
+// Events.
+extern const char kOnBeforeNavigate[];
+extern const char kOnBeforeRetarget[];
+extern const char kOnCommitted[];
+extern const char kOnCompleted[];
+extern const char kOnDOMContentLoaded[];
+extern const char kOnErrorOccurred[];
+
+} // namespace extension_web_navigation_api_constants
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_NAVIGATION_API_CONSTANTS_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_web_navigation_api_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698