| Index: chrome/browser/extensions/api/app_window/app_window_api.cc
|
| diff --git a/chrome/browser/extensions/api/app_window/app_window_api.cc b/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| index 7d7e90096a850a1c9d0ffd3072a611b57d49c3e5..a172a5a3c129ea0c84a4106577a837337c438880 100644
|
| --- a/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| +++ b/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/extensions/api/app_window/app_window_api.h"
|
|
|
| #include "apps/app_window_contents.h"
|
| +#include "apps/native_app_window.h"
|
| #include "apps/shell_window.h"
|
| #include "base/command_line.h"
|
| #include "base/time/time.h"
|
| @@ -15,7 +16,6 @@
|
| #include "chrome/browser/extensions/shell_window_registry.h"
|
| #include "chrome/browser/extensions/window_controller.h"
|
| #include "chrome/browser/ui/apps/chrome_shell_window_delegate.h"
|
| -#include "chrome/browser/ui/extensions/native_app_window.h"
|
| #include "chrome/common/extensions/api/app_window.h"
|
| #include "chrome/common/extensions/features/feature.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| @@ -294,10 +294,9 @@ bool AppWindowCreateFunction::RunImpl() {
|
| if (force_maximize)
|
| create_params.state = ui::SHOW_STATE_MAXIMIZED;
|
|
|
| - ShellWindow* shell_window = new ShellWindow(
|
| - profile(),
|
| - new chrome::ChromeShellWindowDelegate(),
|
| - GetExtension());
|
| + ShellWindow* shell_window = new ShellWindow(profile(),
|
| + new ChromeShellWindowDelegate(),
|
| + GetExtension());
|
| shell_window->Init(url,
|
| new apps::AppWindowContents(shell_window),
|
| create_params);
|
|
|