#ifndef ASH_QUICK_INSERT_VIEWS_QUICK_INSERT_EMOJI_ITEM_VIEW_H_
#define ASH_QUICK_INSERT_VIEWS_QUICK_INSERT_EMOJI_ITEM_VIEW_H_
#include <string>
#include "ash/ash_export.h"
#include "ash/quick_insert/views/quick_insert_item_view.h"
#include "base/memory/raw_ptr.h"
#include "ui/base/metadata/metadata_header_macros.h"
namespace views {
class Label;
}
namespace ash {
class ASH_EXPORT QuickInsertEmojiItemView : public QuickInsertItemView {
METADATA_HEADER(QuickInsertEmojiItemView, QuickInsertItemView)
public:
enum class Style { kEmoji, kEmoticon, kSymbol };
QuickInsertEmojiItemView(Style style,
SelectItemCallback select_item_callback,
const std::u16string& text);
QuickInsertEmojiItemView(const QuickInsertEmojiItemView&) = delete;
QuickInsertEmojiItemView& operator=(const QuickInsertEmojiItemView&) = delete;
~QuickInsertEmojiItemView() override;
std::u16string_view GetTextForTesting() const;
private:
raw_ptr<views::Label> label_ = nullptr;
};
}
#endif