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

Unified Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 160228: Functionality has been requested in the Extension API for Javascript to... (Closed)
Patch Set: added docs Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_tabs_module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_dispatcher.cc
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
index e9ddef4a657a4fc2762f4ee0e4913c0eadea1e08..314d349111e23fd9b2f6ad9929fe2603d8a0382e 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -105,6 +105,8 @@ void FactoryRegistry::ResetFunctions() {
&NewExtensionFunction<RemoveTabFunction>;
factories_[tabs::kDetectTabLanguageFunction] =
&NewExtensionFunction<DetectTabLanguageFunction>;
+ factories_[tabs::kCaptureVisibleTabFunction] =
+ &NewExtensionFunction<CaptureVisibleTabFunction>;
// Page Actions.
factories_[page_actions::kEnablePageActionFunction] =
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_tabs_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698