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_apps_client.h" | 5 #include "chrome/browser/ui/apps/chrome_apps_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 | 8 |
9 // static | 9 // static |
10 extensions::NativeAppWindow* ChromeAppsClient::CreateNativeAppWindowImpl( | 10 extensions::NativeAppWindow* ChromeAppsClient::CreateNativeAppWindowImpl( |
11 apps::AppWindow* app_window, | 11 extensions::AppWindow* app_window, |
12 const apps::AppWindow::CreateParams& params) { | 12 const extensions::AppWindow::CreateParams& params) { |
13 ChromeNativeAppWindowViews* window = new ChromeNativeAppWindowViews; | 13 ChromeNativeAppWindowViews* window = new ChromeNativeAppWindowViews; |
14 window->Init(app_window, params); | 14 window->Init(app_window, params); |
15 return window; | 15 return window; |
16 } | 16 } |
OLD | NEW |