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

Side by Side Diff: chrome/browser/ui/views/apps/chrome_apps_client_views.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.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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h ('k') | chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698