| // 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 "chrome/common/chrome_features.h" | |
| #if defined(OS_MACOSX) && BUILDFLAG(MAC_VIEWS_BROWSER) | |
| namespace views_mode_controller { | |
| bool IsViewsBrowserCocoa() { | |
| return !base::FeatureList::IsEnabled(features::kViewsBrowserWindows); | |
| } | |
| } // namespace views_mode_controller | |
| #endif |