diff options
Diffstat (limited to 'chrome/browser/extensions/extension_function_dispatcher.cc')
-rw-r--r-- | chrome/browser/extensions/extension_function_dispatcher.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc index 6545f6f..5ca347b 100644 --- a/chrome/browser/extensions/extension_function_dispatcher.cc +++ b/chrome/browser/extensions/extension_function_dispatcher.cc @@ -52,6 +52,7 @@ FactoryRegistry::FactoryRegistry() { // Tabs factories_["GetWindows"] = &NewExtensionFunction<GetWindowsFunction>; + factories_["CreateWindow"] = &NewExtensionFunction<CreateWindowFunction>; factories_["GetTabsForWindow"] = &NewExtensionFunction<GetTabsForWindowFunction>; factories_["GetTab"] = &NewExtensionFunction<GetTabFunction>; @@ -97,8 +98,10 @@ void ExtensionFunctionDispatcher::GetAllFunctionNames( ExtensionFunctionDispatcher::ExtensionFunctionDispatcher( RenderViewHost* render_view_host, + Browser* browser, const std::string& extension_id) : render_view_host_(render_view_host), + browser_(browser), extension_id_(extension_id) { } |