platform_selection.h 598 B

123456789101112131415161718192021
  1. // Copyright 2014 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.
  4. #ifndef UI_OZONE_PLATFORM_SELECTION_H_
  5. #define UI_OZONE_PLATFORM_SELECTION_H_
  6. #include "base/component_export.h"
  7. #include "ui/ozone/platform_list.h"
  8. namespace ui {
  9. // Get active platform id (by parsing --ozone-platform flag).
  10. COMPONENT_EXPORT(OZONE) int GetOzonePlatformId();
  11. // Get active platform name.
  12. COMPONENT_EXPORT(OZONE) const char* GetOzonePlatformName();
  13. } // namespace ui
  14. #endif // UI_OZONE_PLATFORM_SELECTION_H_