Remove unused parameter.
[chromium-blink-merge.git] / extensions / shell / browser / shell_app_window_client_aura.cc
blobaf63f278b059e95d1eae16049afa7e1f2052596f
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "extensions/shell/browser/shell_app_window_client.h"
7 #include "extensions/browser/app_window/app_window.h"
8 #include "extensions/shell/browser/desktop_controller.h"
9 #include "extensions/shell/browser/shell_native_app_window_aura.h"
11 namespace extensions {
13 NativeAppWindow* ShellAppWindowClient::CreateNativeAppWindow(
14 AppWindow* window,
15 AppWindow::CreateParams* params) {
16 ShellNativeAppWindow* native_app_window =
17 new ShellNativeAppWindowAura(window, *params);
18 DesktopController::instance()->AddAppWindow(
19 native_app_window->GetNativeWindow());
20 return native_app_window;
23 } // namespace extensions