blob: 1586dc27e96a8cc45ff46dbb6206692e2ed48499 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views_mode_controller.h"
#include "base/feature_list.h"
#include "ui/base/ui_base_features.h"
#if defined(OS_MACOSX) && BUILDFLAG(MAC_VIEWS_BROWSER)
namespace views_mode_controller {
bool IsViewsBrowserCocoa() {
return features::IsViewsBrowserCocoa() &&
!base::FeatureList::IsEnabled(features::kExperimentalUi);
}
} // namespace views_mode_controller
#endif