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

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

Issue 1166393002: Reland "Encapsulate CSS selector declarative content condition tracking" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: address comments Created 5 years, 6 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_ACTION_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_ACTION_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_ACTION_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_ACTION_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "extensions/browser/api/declarative/declarative_rule.h" 12 #include "extensions/browser/api/declarative/declarative_rule.h"
13 #include "extensions/browser/declarative_user_script_master.h" 13 #include "extensions/browser/declarative_user_script_master.h"
14 #include "extensions/common/user_script.h" 14 #include "extensions/common/user_script.h"
15 15
16 namespace base { 16 namespace base {
17 class Time; 17 class Time;
18 class Value; 18 class Value;
19 class DictionaryValue;
19 } 20 }
20 21
21 namespace content { 22 namespace content {
22 class BrowserContext; 23 class BrowserContext;
23 class WebContents; 24 class WebContents;
24 } 25 }
25 26
26 namespace extensions { 27 namespace extensions {
27 class Extension; 28 class Extension;
28 29
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 DeclarativeUserScriptMaster* master_; 157 DeclarativeUserScriptMaster* master_;
157 158
158 DISALLOW_COPY_AND_ASSIGN(RequestContentScript); 159 DISALLOW_COPY_AND_ASSIGN(RequestContentScript);
159 }; 160 };
160 161
161 typedef DeclarativeActionSet<ContentAction> ContentActionSet; 162 typedef DeclarativeActionSet<ContentAction> ContentActionSet;
162 163
163 } // namespace extensions 164 } // namespace extensions
164 165
165 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_ACTION_H_ 166 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_ACTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698