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

Side by Side Diff: extensions/renderer/dispatcher_delegate.h

Issue 2551303003: Remove unused packaged app window controls code. (Closed)
Patch Set: Nit Created 4 years 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 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 EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_
6 #define EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ 6 #define EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 // Includes additional native handlers in a ScriptContext's ModuleSystem. 29 // Includes additional native handlers in a ScriptContext's ModuleSystem.
30 virtual void RegisterNativeHandlers(Dispatcher* dispatcher, 30 virtual void RegisterNativeHandlers(Dispatcher* dispatcher,
31 ModuleSystem* module_system, 31 ModuleSystem* module_system,
32 ScriptContext* context) {} 32 ScriptContext* context) {}
33 33
34 // Includes additional source resources into the resource map. 34 // Includes additional source resources into the resource map.
35 virtual void PopulateSourceMap(ResourceBundleSourceMap* source_map) {} 35 virtual void PopulateSourceMap(ResourceBundleSourceMap* source_map) {}
36 36
37 // Requires additional modules within an extension context's module system. 37 // Requires additional modules within an extension context's module system.
38 virtual void RequireAdditionalModules(ScriptContext* context, 38 virtual void RequireAdditionalModules(ScriptContext* context) {}
39 bool is_within_platform_app) {}
40 39
41 // Allows the delegate to respond to an updated set of active extensions in 40 // Allows the delegate to respond to an updated set of active extensions in
42 // the Dispatcher. 41 // the Dispatcher.
43 virtual void OnActiveExtensionsUpdated( 42 virtual void OnActiveExtensionsUpdated(
44 const std::set<std::string>& extension_ids) {} 43 const std::set<std::string>& extension_ids) {}
45 }; 44 };
46 45
47 } // namespace extensions 46 } // namespace extensions
48 47
49 #endif // EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ 48 #endif // EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/resources/extensions_renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698