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

Side by Side Diff: chrome/browser/extensions/extension_web_navigation_api_constants.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/extension_web_navigation_api_constants.h"
6
7 namespace extension_web_navigation_api_constants {
8
9 const wchar_t kErrorKey[] = L"error";
10 const wchar_t kFrameIdKey[] = L"frameId";
11 const wchar_t kRequestIdKey[] = L"requestId";
12 const wchar_t kSourceTabIdKey[] = L"sourceTabId";
13 const wchar_t kSourceUrlKey[] = L"sourceUrl";
14 const wchar_t kTabIdKey[] = L"tabId";
15 const wchar_t kTargetUrlKey[] = L"targetUrl";
16 const wchar_t kTimeStampKey[] = L"timeStamp";
17 const wchar_t kTransitionTypeKey[] = L"transitionType";
18 const wchar_t kUrlKey[] = L"url";
19
20 const char kOnBeforeNavigate[] = "experimental.webNavigation.onBeforeNavigate";
21 const char kOnBeforeRetarget[] = "experimental.webNavigation.onBeforeRetarget";
22 const char kOnCommitted[] = "experimental.webNavigation.onCommitted";
23 const char kOnCompleted[] = "experimental.webNavigation.onCompleted";
24 const char kOnDOMContentLoaded[] =
25 "experimental.webNavigation.onDOMContentLoaded";
26 const char kOnErrorOccurred[] = "experimental.webNavigation.onErrorOccurred";
27
28 } // namespace extension_web_navigation_api_constants
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_web_navigation_api_constants.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698