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