diff options
Diffstat (limited to 'chrome/browser/extensions/extension_webnavigation_api_constants.h')
-rw-r--r-- | chrome/browser/extensions/extension_webnavigation_api_constants.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_webnavigation_api_constants.h b/chrome/browser/extensions/extension_webnavigation_api_constants.h new file mode 100644 index 0000000..7956ccd --- /dev/null +++ b/chrome/browser/extensions/extension_webnavigation_api_constants.h @@ -0,0 +1,36 @@ +// 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_WEBNAVIGATION_API_CONSTANTS_H_ +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_CONSTANTS_H_ +#pragma once + +namespace extension_webnavigation_api_constants { + +// Keys. +extern const char kErrorKey[]; +extern const char kFrameIdKey[]; +extern const char kRequestIdKey[]; +extern const char kSourceTabIdKey[]; +extern const char kSourceUrlKey[]; +extern const char kTabIdKey[]; +extern const char kTargetUrlKey[]; +extern const char kTimeStampKey[]; +extern const char kTransitionTypeKey[]; +extern const char kTransitionQualifiersKey[]; +extern const char 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_webnavigation_api_constants + +#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_CONSTANTS_H_ |