summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_webnavigation_api_constants.cc
blob: 88f68c1de3583421ca1ec8176334d583ec4b161b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2011 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.

#include "chrome/browser/extensions/extension_webnavigation_api_constants.h"

namespace extension_webnavigation_api_constants {

const char kErrorKey[] = "error";
const char kFrameIdKey[] = "frameId";
const char kRequestIdKey[] = "requestId";
const char kSourceTabIdKey[] = "sourceTabId";
const char kSourceUrlKey[] = "sourceUrl";
const char kTabIdKey[] = "tabId";
const char kTimeStampKey[] = "timeStamp";
const char kTransitionTypeKey[] = "transitionType";
const char kTransitionQualifiersKey[] = "transitionQualifiers";
const char kUrlKey[] = "url";

const char kOnBeforeNavigate[] = "experimental.webNavigation.onBeforeNavigate";
const char kOnBeforeRetarget[] = "experimental.webNavigation.onBeforeRetarget";
const char kOnCommitted[] = "experimental.webNavigation.onCommitted";
const char kOnCompleted[] = "experimental.webNavigation.onCompleted";
const char kOnDOMContentLoaded[] =
    "experimental.webNavigation.onDOMContentLoaded";
const char kOnErrorOccurred[] = "experimental.webNavigation.onErrorOccurred";

}  // namespace extension_webnavigation_api_constants