| OLD | NEW |
| 1 // Copyright (c) 2012 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_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANT
S_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANT
S_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANT
S_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANT
S_H_ |
| 9 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| 11 | 11 |
| 12 namespace web_navigation_api_constants { | 12 namespace web_navigation_api_constants { |
| 13 | 13 |
| 14 // Keys. | 14 // Keys. |
| 15 extern const char kErrorKey[]; | 15 extern const char kErrorKey[]; |
| 16 extern const char kFrameIdKey[]; | 16 extern const char kFrameIdKey[]; |
| 17 extern const char kProcessIdKey[]; |
| 17 extern const char kReplacedTabIdKey[]; | 18 extern const char kReplacedTabIdKey[]; |
| 19 extern const char kSourceFrameIdKey[]; |
| 20 extern const char kSourceProcessIdKey[]; |
| 18 extern const char kSourceTabIdKey[]; | 21 extern const char kSourceTabIdKey[]; |
| 19 extern const char kSourceFrameIdKey[]; | |
| 20 extern const char kTabIdKey[]; | 22 extern const char kTabIdKey[]; |
| 21 extern const char kTimeStampKey[]; | 23 extern const char kTimeStampKey[]; |
| 22 extern const char kTransitionTypeKey[]; | 24 extern const char kTransitionTypeKey[]; |
| 23 extern const char kTransitionQualifiersKey[]; | 25 extern const char kTransitionQualifiersKey[]; |
| 24 extern const char kUrlKey[]; | 26 extern const char kUrlKey[]; |
| 25 | 27 |
| 26 // Events. | 28 // Events. |
| 27 extern const char kOnBeforeNavigate[]; | 29 extern const char kOnBeforeNavigate[]; |
| 28 extern const char kOnCommitted[]; | 30 extern const char kOnCommitted[]; |
| 29 extern const char kOnCompleted[]; | 31 extern const char kOnCompleted[]; |
| 30 extern const char kOnCreatedNavigationTarget[]; | 32 extern const char kOnCreatedNavigationTarget[]; |
| 31 extern const char kOnDOMContentLoaded[]; | 33 extern const char kOnDOMContentLoaded[]; |
| 32 extern const char kOnErrorOccurred[]; | 34 extern const char kOnErrorOccurred[]; |
| 33 extern const char kOnHistoryStateUpdated[]; | 35 extern const char kOnHistoryStateUpdated[]; |
| 34 extern const char kOnReferenceFragmentUpdated[]; | 36 extern const char kOnReferenceFragmentUpdated[]; |
| 35 extern const char kOnTabReplaced[]; | 37 extern const char kOnTabReplaced[]; |
| 36 | 38 |
| 37 } // namespace web_navigation_api_constants | 39 } // namespace web_navigation_api_constants |
| 38 | 40 |
| 39 } // namespace extensions | 41 } // namespace extensions |
| 40 | 42 |
| 41 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONST
ANTS_H_ | 43 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONST
ANTS_H_ |
| OLD | NEW |