blob: b59cf1c3f1d382b77bf38e4d99107490e0b0682a [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.
#ifndef ASH_BLOOM_BLOOM_UI_DELEGATE_IMPL_H_
#define ASH_BLOOM_BLOOM_UI_DELEGATE_IMPL_H_
#include "chromeos/components/bloom/public/cpp/bloom_ui_delegate.h"
namespace ash {
class AssistantInteractionController;
class BloomUiDelegateImpl : public chromeos::bloom::BloomUiDelegate {
public:
BloomUiDelegateImpl();
BloomUiDelegateImpl(const BloomUiDelegateImpl&) = delete;
BloomUiDelegateImpl& operator=(const BloomUiDelegateImpl&) = delete;
~BloomUiDelegateImpl() override;
// BloomUiDelegate implementation:
void OnInteractionStarted() override;
void OnShowUI() override;
void OnShowResult(const chromeos::bloom::BloomResult& result) override;
void OnInteractionFinished(
chromeos::bloom::BloomInteractionResolution resolution) override;
private:
AssistantInteractionController* assistant_interaction_controller();
};
} // namespace ash
#endif // ASH_BLOOM_BLOOM_UI_DELEGATE_IMPL_H_