blob: c0efb5df87e780fa10590290b95d69e08243ffdc [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/test/stub_ozone_ui_controls_test_helper.h"
#include "base/logging.h"
#include "base/notreached.h"
namespace ui {
namespace {
OzoneUIControlsTestHelper* PrintErrorAndReturnNullptr() {
NOTREACHED()
<< "Notimplemented or not supported by the underlaying platform.";
return nullptr;
}
} // namespace
OzoneUIControlsTestHelper* CreateOzoneUIControlsTestHelperWayland() {
return PrintErrorAndReturnNullptr();
}
OzoneUIControlsTestHelper* CreateOzoneUIControlsTestHelperWindows() {
return PrintErrorAndReturnNullptr();
}
OzoneUIControlsTestHelper* CreateOzoneUIControlsTestHelperDrm() {
return PrintErrorAndReturnNullptr();
}
OzoneUIControlsTestHelper* CreateOzoneUIControlsTestHelperScenic() {
return PrintErrorAndReturnNullptr();
}
OzoneUIControlsTestHelper* CreateOzoneUIControlsTestHelperHeadless() {
return PrintErrorAndReturnNullptr();
}
OzoneUIControlsTestHelper* CreateOzoneUIControlsTestHelperCast() {
return PrintErrorAndReturnNullptr();
}
} // namespace ui