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

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

Issue 1056533002: Implement <webview>.addContentScript/removeContentScript API [2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webview_addremove_contentscripts_2
Patch Set: nits. Created 5 years, 8 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 | « no previous file | chrome/browser/ui/webui/webui_webview_browsertest.cc » ('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 #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 15
15 namespace base { 16 namespace base {
16 class Time; 17 class Time;
17 class Value; 18 class Value;
18 } 19 }
19 20
20 namespace content { 21 namespace content {
21 class BrowserContext; 22 class BrowserContext;
22 class WebContents; 23 class WebContents;
23 } 24 }
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 DeclarativeUserScriptMaster* master_; 156 DeclarativeUserScriptMaster* master_;
156 157
157 DISALLOW_COPY_AND_ASSIGN(RequestContentScript); 158 DISALLOW_COPY_AND_ASSIGN(RequestContentScript);
158 }; 159 };
159 160
160 typedef DeclarativeActionSet<ContentAction> ContentActionSet; 161 typedef DeclarativeActionSet<ContentAction> ContentActionSet;
161 162
162 } // namespace extensions 163 } // namespace extensions
163 164
164 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_ACTION_H_ 165 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_ACTION_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/webui_webview_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698