OLD | NEW |
(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 // Constants used for the WebNavigation API. |
| 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_NAVIGATION_API_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_NAVIGATION_API_CONSTANTS_H_ |
| 9 #pragma once |
| 10 |
| 11 namespace extension_web_navigation_api_constants { |
| 12 |
| 13 // Keys. |
| 14 extern const wchar_t kErrorKey[]; |
| 15 extern const wchar_t kFrameIdKey[]; |
| 16 extern const wchar_t kRequestIdKey[]; |
| 17 extern const wchar_t kSourceTabIdKey[]; |
| 18 extern const wchar_t kSourceUrlKey[]; |
| 19 extern const wchar_t kTabIdKey[]; |
| 20 extern const wchar_t kTargetUrlKey[]; |
| 21 extern const wchar_t kTimeStampKey[]; |
| 22 extern const wchar_t kTransitionTypeKey[]; |
| 23 extern const wchar_t kUrlKey[]; |
| 24 |
| 25 // Events. |
| 26 extern const char kOnBeforeNavigate[]; |
| 27 extern const char kOnBeforeRetarget[]; |
| 28 extern const char kOnCommitted[]; |
| 29 extern const char kOnCompleted[]; |
| 30 extern const char kOnDOMContentLoaded[]; |
| 31 extern const char kOnErrorOccurred[]; |
| 32 |
| 33 } // namespace extension_web_navigation_api_constants |
| 34 |
| 35 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_NAVIGATION_API_CONSTANTS_H_ |
OLD | NEW |