Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / native_browser_frame_factory_auralinux.cc
blob2fc944119c4d14427c650083d0249fca7219277f
1 // Copyright 2013 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/views/frame/native_browser_frame_factory.h"
7 #include "chrome/browser/ui/views/frame/browser_frame_ash.h"
8 #include "chrome/browser/ui/views/frame/desktop_browser_frame_auralinux.h"
10 NativeBrowserFrame* NativeBrowserFrameFactory::Create(
11 BrowserFrame* browser_frame,
12 BrowserView* browser_view) {
13 if (ShouldCreateForAshDesktop(browser_view))
14 return new BrowserFrameAsh(browser_frame, browser_view);
16 return new DesktopBrowserFrameAuraLinux(browser_frame, browser_view);