ash_interfaces.h 836 B

12345678910111213141516171819202122232425
  1. // Copyright 2018 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 ASH_PUBLIC_ASH_INTERFACES_H_
  5. #define ASH_PUBLIC_ASH_INTERFACES_H_
  6. #include "ash/ash_export.h"
  7. #include "ash/public/mojom/tray_action.mojom.h"
  8. #include "chromeos/crosapi/mojom/cros_display_config.mojom.h"
  9. #include "mojo/public/cpp/bindings/pending_receiver.h"
  10. namespace ash {
  11. // Helper methods for binding interfaces exposed by Ash. Must only be called on
  12. // the main thread.
  13. ASH_EXPORT void BindCrosDisplayConfigController(
  14. mojo::PendingReceiver<crosapi::mojom::CrosDisplayConfigController>
  15. receiver);
  16. ASH_EXPORT
  17. void BindTrayAction(mojo::PendingReceiver<mojom::TrayAction> receiver);
  18. } // namespace ash
  19. #endif // ASH_PUBLIC_ASH_INTERFACES_H_