Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: extensions/common/api/declarative/declarative_constants.cc

Issue 2853023002: [Extensions Bindings] Add native declarativeContent verification (Closed)
Patch Set: lazyboy's Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/common/api/declarative/declarative_constants.h ('k') | extensions/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/api/declarative_content/content_constants.h" 5 #include "extensions/common/api/declarative/declarative_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 namespace declarative_content_constants { 8 namespace declarative_content_constants {
9 9
10 // Signals to which ContentRulesRegistries are registered. 10 // Signals to which ContentRulesRegistries are registered.
11 const char kOnPageChanged[] = "declarativeContent.onPageChanged"; 11 const char kOnPageChanged[] = "declarativeContent.onPageChanged";
12 12
13 // Keys of dictionaries. 13 // Keys of dictionaries.
14 const char kAllFrames[] = "allFrames"; 14 const char kAllFrames[] = "allFrames";
15 const char kCss[] = "css"; 15 const char kCss[] = "css";
16 const char kInstanceType[] = "instanceType"; 16 const char kInstanceType[] = "instanceType";
17 const char kIsBookmarked[] = "isBookmarked"; 17 const char kIsBookmarked[] = "isBookmarked";
18 const char kJs[] = "js"; 18 const char kJs[] = "js";
19 const char kMatchAboutBlank[] = "matchAboutBlank"; 19 const char kMatchAboutBlank[] = "matchAboutBlank";
20 const char kPageUrl[] = "pageUrl"; 20 const char kPageUrl[] = "pageUrl";
21 21
22 // Values of dictionaries, in particular instance types 22 // Values of dictionaries, in particular instance types
23 const char kPageStateMatcherType[] = "declarativeContent.PageStateMatcher"; 23 const char kPageStateMatcherType[] = "declarativeContent.PageStateMatcher";
24 const char kShowPageAction[] = "declarativeContent.ShowPageAction"; 24 const char kShowPageAction[] = "declarativeContent.ShowPageAction";
25 const char kRequestContentScript[] = "declarativeContent.RequestContentScript"; 25 const char kRequestContentScript[] = "declarativeContent.RequestContentScript";
26 const char kSetIcon[] = "declarativeContent.SetIcon"; 26 const char kSetIcon[] = "declarativeContent.SetIcon";
27 27
28 } // namespace declarative_content_constants 28 } // namespace declarative_content_constants
29 } // namespace extensions 29 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/api/declarative/declarative_constants.h ('k') | extensions/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698