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

Side by Side Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.h

Issue 9959097: Move webNavigation extension api into a separate directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Constants used for the WebNavigation API. 5 // Constants used for the WebNavigation API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_CONSTANTS_H_ 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANT S_H_
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_CONSTANTS_H_ 8 #define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANT S_H_
9 #pragma once 9 #pragma once
10 10
11 namespace extension_webnavigation_api_constants { 11 namespace extensions {
12
13 namespace web_navigation_api_constants {
12 14
13 // Keys. 15 // Keys.
14 extern const char kErrorKey[]; 16 extern const char kErrorKey[];
15 extern const char kErrorOccurredKey[]; 17 extern const char kErrorOccurredKey[];
16 extern const char kFrameIdKey[]; 18 extern const char kFrameIdKey[];
17 extern const char kSourceTabIdKey[]; 19 extern const char kSourceTabIdKey[];
18 extern const char kSourceFrameIdKey[]; 20 extern const char kSourceFrameIdKey[];
19 extern const char kTabIdKey[]; 21 extern const char kTabIdKey[];
20 extern const char kTimeStampKey[]; 22 extern const char kTimeStampKey[];
21 extern const char kTransitionTypeKey[]; 23 extern const char kTransitionTypeKey[];
22 extern const char kTransitionQualifiersKey[]; 24 extern const char kTransitionQualifiersKey[];
23 extern const char kUrlKey[]; 25 extern const char kUrlKey[];
24 26
25 // Events. 27 // Events.
26 extern const char kOnBeforeNavigate[]; 28 extern const char kOnBeforeNavigate[];
27 extern const char kOnCommitted[]; 29 extern const char kOnCommitted[];
28 extern const char kOnCompleted[]; 30 extern const char kOnCompleted[];
29 extern const char kOnCreatedNavigationTarget[]; 31 extern const char kOnCreatedNavigationTarget[];
30 extern const char kOnDOMContentLoaded[]; 32 extern const char kOnDOMContentLoaded[];
31 extern const char kOnErrorOccurred[]; 33 extern const char kOnErrorOccurred[];
32 extern const char kOnReferenceFragmentUpdated[]; 34 extern const char kOnReferenceFragmentUpdated[];
33 35
34 } // namespace extension_webnavigation_api_constants 36 } // namespace web_navigation_api_constants
35 37
36 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_CONSTANTS_H_ 38 } // namespace extensions
39
40 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONST ANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698