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

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

Issue 543123004: Close AppWindow to perform clean shutdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@apifeatures
Patch Set: Add comments Created 6 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
« no previous file with comments | « athena/main/athena_main.cc ('k') | extensions/shell/browser/desktop_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 1803f278fae7ae542bd1f8cd0d6282fa58d839af..6ba0db32a3f57dfc97ca53c392eec1a45bfa63c9 100644
--- a/extensions/shell/browser/api/shell/shell_api.cc
+++ b/extensions/shell/browser/api/shell/shell_api.cc
@@ -54,8 +54,9 @@ ExtensionFunction::ResponseAction ShellCreateWindowFunction::Run() {
return RespondNow(Error(kInvalidArguments));
// The desktop keeps ownership of the window.
- ShellAppWindow* app_window = DesktopController::instance()->CreateAppWindow(
- browser_context(), extension());
+ ShellAppWindow* app_window =
+ DesktopController::instance()->CreateShellAppWindow(
+ browser_context(), extension());
app_window->LoadURL(url);
// Create the reply to send to the renderer.
« no previous file with comments | « athena/main/athena_main.cc ('k') | extensions/shell/browser/desktop_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698