Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc

Issue 616253002: Extract NativeAppWindow from src/extensions Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: might fix athena. similarity=33 Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698