1 // Copyright (c) 2011 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_webnavigation_api_constants.h" 6 7 namespace extension_webnavigation_api_constants { 8 9 const char kErrorKey[] = "error"; 10 const char kFrameIdKey[] = "frameId"; 11 const char kRequestIdKey[] = "requestId"; 12 const char kSourceTabIdKey[] = "sourceTabId"; 13 const char kSourceUrlKey[] = "sourceUrl"; 14 const char kTabIdKey[] = "tabId"; 15 const char kTimeStampKey[] = "timeStamp"; 16 const char kTransitionTypeKey[] = "transitionType"; 17 const char kTransitionQualifiersKey[] = "transitionQualifiers"; 18 const char kUrlKey[] = "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_webnavigation_api_constants 29