| Index: chrome/browser/extensions/api/declarative_content/content_constants.cc
|
| diff --git a/chrome/browser/extensions/api/declarative_content/content_constants.cc b/chrome/browser/extensions/api/declarative_content/content_constants.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ace34a36ab7c30c6af3d5316a6098b09581112d1
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/api/declarative_content/content_constants.cc
|
| @@ -0,0 +1,23 @@
|
| +// 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 kCss[] = "css";
|
| +const char kInstanceType[] = "instanceType";
|
| +const char kTopUrl[] = "top_url";
|
| +
|
| +// Values of dictionaries, in particular instance types
|
| +const char kPageStateMatcherType[] = "declarativeContent.PageStateMatcher";
|
| +const char kShowPageAction[] = "declarativeContent.ShowPageAction";
|
| +
|
| +} // namespace declarative_content_constants
|
| +} // namespace extensions
|
|
|