blob: e8f6809760a3892b9b2135e17b41a12c75e6ab11 [file] [log] [blame]
// Copyright 2020 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 "ui/ozone/common/features.h"
#include "build/chromeos_buildflags.h"
namespace ui {
const base::Feature kWaylandOverlayDelegation {
"WaylandOverlayDelegation",
#if BUILDFLAG(IS_LACROS)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
};
bool IsWaylandOverlayDelegationEnabled() {
return base::FeatureList::IsEnabled(kWaylandOverlayDelegation);
}
} // namespace ui