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

Unified Diff: extensions/shell/browser/api/shell/shell_api.cc

Issue 493453004: app_shell: Add audio and video capture support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (video-capture) rebase Created 6 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 | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/default_shell_app_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/api/shell/shell_api.cc
diff --git a/extensions/shell/browser/api/shell/shell_api.cc b/extensions/shell/browser/api/shell/shell_api.cc
index 1a773e4672acdd8d2127dbb3fe32d430990c186a..afc58ddd1ebb3612378ac9fec6e874b1bcbcd296 100644
--- a/extensions/shell/browser/api/shell/shell_api.cc
+++ b/extensions/shell/browser/api/shell/shell_api.cc
@@ -49,7 +49,8 @@ ExtensionFunction::ResponseAction ShellCreateWindowFunction::Run() {
// The desktop keeps ownership of the window.
ShellAppWindow* app_window =
- ShellDesktopController::instance()->CreateAppWindow(browser_context());
+ ShellDesktopController::instance()->CreateAppWindow(browser_context(),
+ extension());
app_window->LoadURL(url);
// Create the reply to send to the renderer.
« no previous file with comments | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/default_shell_app_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698