[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / apps / chrome_app_window_delegate_views.cc
blobdeb73187a4e69e5e4681797af10a613276d4dd50
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
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/apps/chrome_app_window_delegate.h"
7 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h"
9 // static
10 apps::NativeAppWindow* ChromeAppWindowDelegate::CreateNativeAppWindowImpl(
11 apps::AppWindow* app_window,
12 const apps::AppWindow::CreateParams& params) {
13 ChromeNativeAppWindowViews* window = new ChromeNativeAppWindowViews;
14 window->Init(app_window, params);
15 return window;