| Index: trunk/src/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/extensions/api/app_window/app_window_api.cc (revision 215780)
|
| +++ trunk/src/chrome/browser/extensions/api/app_window/app_window_api.cc (working copy)
|
| @@ -5,7 +5,6 @@
|
| #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"
|
| @@ -16,6 +15,7 @@
|
| #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,9 +294,10 @@
|
| if (force_maximize)
|
| create_params.state = ui::SHOW_STATE_MAXIMIZED;
|
|
|
| - ShellWindow* shell_window = new ShellWindow(profile(),
|
| - new ChromeShellWindowDelegate(),
|
| - GetExtension());
|
| + ShellWindow* shell_window = new ShellWindow(
|
| + profile(),
|
| + new chrome::ChromeShellWindowDelegate(),
|
| + GetExtension());
|
| shell_window->Init(url,
|
| new apps::AppWindowContents(shell_window),
|
| create_params);
|
|
|