blob: 2d41866717bdb2374463fdcaf00d170b8bb0d10d (
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
29
|
// Copyright (c) 2012 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/api/declarative_content/content_constants.h"
namespace extensions {
namespace declarative_content_constants {
// Signals to which ContentRulesRegistries are registered.
const char kOnPageChanged[] = "declarativeContent.onPageChanged";
// Keys of dictionaries.
const char kAllFrames[] = "allFrames";
const char kCss[] = "css";
const char kInstanceType[] = "instanceType";
const char kIsBookmarked[] = "isBookmarked";
const char kJs[] = "js";
const char kMatchAboutBlank[] = "matchAboutBlank";
const char kPageUrl[] = "pageUrl";
// Values of dictionaries, in particular instance types
const char kPageStateMatcherType[] = "declarativeContent.PageStateMatcher";
const char kShowPageAction[] = "declarativeContent.ShowPageAction";
const char kRequestContentScript[] = "declarativeContent.RequestContentScript";
const char kSetIcon[] = "declarativeContent.SetIcon";
} // namespace declarative_content_constants
} // namespace extensions
|