OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ |
7 | 7 |
8 #include "extensions/renderer/dispatcher_delegate.h" | 8 #include "extensions/renderer/dispatcher_delegate.h" |
9 | 9 |
10 class ChromeExtensionsDispatcherDelegate | 10 class ChromeExtensionsDispatcherDelegate |
(...skipping 16 matching lines...) Expand all Loading... |
27 void RegisterNativeHandlers(extensions::Dispatcher* dispatcher, | 27 void RegisterNativeHandlers(extensions::Dispatcher* dispatcher, |
28 extensions::ModuleSystem* module_system, | 28 extensions::ModuleSystem* module_system, |
29 extensions::ScriptContext* context) override; | 29 extensions::ScriptContext* context) override; |
30 void PopulateSourceMap( | 30 void PopulateSourceMap( |
31 extensions::ResourceBundleSourceMap* source_map) override; | 31 extensions::ResourceBundleSourceMap* source_map) override; |
32 void RequireAdditionalModules(extensions::ScriptContext* context, | 32 void RequireAdditionalModules(extensions::ScriptContext* context, |
33 bool is_within_platform_app) override; | 33 bool is_within_platform_app) override; |
34 void OnActiveExtensionsUpdated( | 34 void OnActiveExtensionsUpdated( |
35 const std::set<std::string>& extensions_ids) override; | 35 const std::set<std::string>& extensions_ids) override; |
36 void SetChannel(int channel) override; | 36 void SetChannel(int channel) override; |
37 void ClearTabSpecificPermissions( | |
38 const extensions::Dispatcher* dispatcher, | |
39 int tab_id, | |
40 const std::vector<std::string>& extension_ids) override; | |
41 void UpdateTabSpecificPermissions( | |
42 const extensions::Dispatcher* dispatcher, | |
43 const GURL& url, | |
44 int tab_id, | |
45 const std::string& extension_id, | |
46 const extensions::URLPatternSet& origin_set) override; | |
47 | 37 |
48 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsDispatcherDelegate); | 38 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsDispatcherDelegate); |
49 }; | 39 }; |
50 | 40 |
51 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ | 41 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ |
OLD | NEW |