OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/apps/chrome_app_window_client.h" | 5 #include "chrome/browser/ui/apps/chrome_app_window_client.h" |
6 | 6 |
7 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h" | 7 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h" |
| 8 #include "extensions/browser/app_window/app_window.h" |
8 | 9 |
9 // static | 10 // static |
10 extensions::NativeAppWindow* ChromeAppWindowClient::CreateNativeAppWindowImpl( | 11 native_app_window::NativeAppWindow* |
| 12 ChromeAppWindowClient::CreateNativeAppWindowImpl( |
11 extensions::AppWindow* app_window, | 13 extensions::AppWindow* app_window, |
12 const extensions::AppWindow::CreateParams& params) { | 14 const native_app_window::AppWindowCreateParams& params) { |
13 ChromeNativeAppWindowViews* window = new ChromeNativeAppWindowViews; | 15 ChromeNativeAppWindowViews* window = |
| 16 new ChromeNativeAppWindowViews(app_window); |
14 window->Init(app_window, params); | 17 window->Init(app_window, params); |
15 return window; | 18 return window; |
16 } | 19 } |
OLD | NEW |