#ifndef IOS_WEB_SHELL_SHELL_WEB_MAIN_PARTS_H_
#define IOS_WEB_SHELL_SHELL_WEB_MAIN_PARTS_H_
#include <memory>
#include "ios/web/public/init/web_main_parts.h"
namespace display {
class ScopedNativeScreen;
}
namespace web {
class ShellBrowserState;
class ShellWebMainParts : public WebMainParts {
public:
ShellWebMainParts();
~ShellWebMainParts() override;
ShellBrowserState* browser_state() const { return browser_state_.get(); }
void PreMainMessageLoopRun() override;
private:
std::unique_ptr<ShellBrowserState> browser_state_;
std::unique_ptr<display::ScopedNativeScreen> screen_;
};
}
#endif