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

Side by Side Diff: chrome/browser/extensions/api/declarative_content/content_constants.h

Issue 344433003: Prepare declarativeContent API for new script injection feature. Added Javascript types and functio… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement fixes from comments and add unit tests Created 6 years, 5 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
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 // Constants used for the declarativeContent API. 5 // Constants used for the declarativeContent API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H_ 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H_ 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H_
9 9
10 namespace extensions { 10 namespace extensions {
11 namespace declarative_content_constants { 11 namespace declarative_content_constants {
12 12
13 // Signals to which ContentRulesRegistries are registered. 13 // Signals to which ContentRulesRegistries are registered.
14 extern const char kOnPageChanged[]; 14 extern const char kOnPageChanged[];
15 15
16 // Keys of dictionaries. 16 // Keys of dictionaries.
17 extern const char kAllFrames[];
17 extern const char kCss[]; 18 extern const char kCss[];
18 extern const char kInstanceType[]; 19 extern const char kInstanceType[];
20 extern const char kJs[];
21 extern const char kMatchAboutBlank[];
19 extern const char kPageUrl[]; 22 extern const char kPageUrl[];
20 23
21 // Values of dictionaries, in particular instance types 24 // Values of dictionaries, in particular instance types
22 extern const char kPageStateMatcherType[]; 25 extern const char kPageStateMatcherType[];
23 extern const char kShowPageAction[]; 26 extern const char kShowPageAction[];
27 extern const char kRequestContentScript[];
24 28
25 } // namespace declarative_content_constants 29 } // namespace declarative_content_constants
26 } // namespace extensions 30 } // namespace extensions
27 31
28 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H _ 32 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698