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

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

Issue 7720002: Chrome Extensions chrome.experimental.offscreenTabs.* API implementation, docs, and test. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 3 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
Index: chrome/browser/extensions/extension_function_dispatcher.cc
===================================================================
--- chrome/browser/extensions/extension_function_dispatcher.cc (revision 101324)
+++ chrome/browser/extensions/extension_function_dispatcher.cc (working copy)
@@ -32,6 +32,7 @@
#include "chrome/browser/extensions/extension_management_api.h"
#include "chrome/browser/extensions/extension_metrics_module.h"
#include "chrome/browser/extensions/extension_module.h"
+#include "chrome/browser/extensions/extension_offscreen_tabs_module.h"
#include "chrome/browser/extensions/extension_omnibox_api.h"
#include "chrome/browser/extensions/extension_page_actions_module.h"
#include "chrome/browser/extensions/extension_permissions_api.h"
@@ -447,6 +448,16 @@
RegisterFunction<DownloadsAcceptDangerFunction>();
RegisterFunction<DownloadsShowFunction>();
RegisterFunction<DownloadsDragFunction>();
+
+ // Experimental Offscreen Tabs
+ RegisterFunction<CreateOffscreenTabFunction>();
+ RegisterFunction<GetOffscreenTabFunction>();
+ RegisterFunction<GetAllOffscreenTabFunction>();
+ RegisterFunction<RemoveOffscreenTabFunction>();
+ RegisterFunction<SendKeyboardEventOffscreenTabFunction>();
+ RegisterFunction<SendMouseEventOffscreenTabFunction>();
+ RegisterFunction<ToDataUrlOffscreenTabFunction>();
+ RegisterFunction<UpdateOffscreenTabFunction>();
}
void FactoryRegistry::GetAllNames(std::vector<std::string>* names) {

Powered by Google App Engine
This is Rietveld 408576698