#ifndef CHROME_COMMON_EXTENSIONS_API_OMNIBOX_H__
#define CHROME_COMMON_EXTENSIONS_API_OMNIBOX_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
#include <string_view>
namespace extensions {
namespace api {
namespace omnibox {
enum class DescriptionStyleType { … };
const char* ToString(DescriptionStyleType as_enum);
DescriptionStyleType ParseDescriptionStyleType(std::string_view as_string);
std::u16string GetDescriptionStyleTypeParseError(std::string_view as_string);
enum class OnInputEnteredDisposition { … };
const char* ToString(OnInputEnteredDisposition as_enum);
OnInputEnteredDisposition ParseOnInputEnteredDisposition(std::string_view as_string);
std::u16string GetOnInputEnteredDispositionParseError(std::string_view as_string);
struct MatchClassification { … };
struct SuggestResult { … };
struct DefaultSuggestResult { … };
struct ManifestKeys { … };
namespace SendSuggestions {
struct Params { … };
}
namespace SetDefaultSuggestion {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace OnInputStarted {
extern const char kEventName[];
base::Value::List Create();
}
namespace OnInputChanged {
extern const char kEventName[];
base::Value::List Create(const std::string& text, base::Value::Dict suggest);
}
namespace OnInputEntered {
extern const char kEventName[];
base::Value::List Create(const std::string& text, const OnInputEnteredDisposition& disposition);
}
namespace OnInputCancelled {
extern const char kEventName[];
base::Value::List Create();
}
namespace OnDeleteSuggestion {
extern const char kEventName[];
base::Value::List Create(const std::string& text);
}
}
}
}
#endif