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_win.h" | 7 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h" |
8 | 8 |
9 // static | 9 // static |
10 extensions::NativeAppWindow* ChromeAppWindowClient::CreateNativeAppWindowImpl( | 10 native_app_window::NativeAppWindow* |
| 11 ChromeAppWindowClient::CreateNativeAppWindowImpl( |
11 extensions::AppWindow* app_window, | 12 extensions::AppWindow* app_window, |
12 const extensions::AppWindow::CreateParams& params) { | 13 const native_app_window::AppWindowCreateParams& params) { |
13 ChromeNativeAppWindowViewsWin* window = new ChromeNativeAppWindowViewsWin; | 14 ChromeNativeAppWindowViewsWin* window = |
| 15 new ChromeNativeAppWindowViewsWin(app_window); |
14 window->Init(app_window, params); | 16 window->Init(app_window, params); |
15 return window; | 17 return window; |
16 } | 18 } |
OLD | NEW |