1 // Copyright 2014 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.
5 #ifndef IOS_WEB_SHELL_SHELL_WEB_MAIN_PARTS_H_
6 #define IOS_WEB_SHELL_SHELL_WEB_MAIN_PARTS_H_
8 #include "ios/web/public/app/web_main_parts.h"
10 #include "base/memory/scoped_ptr.h"
13 class ShellBrowserState
;
15 // Shell-specific implementation of WebMainParts.
16 class ShellWebMainParts
: public WebMainParts
{
19 ~ShellWebMainParts() override
;
21 ShellBrowserState
* browser_state() const { return browser_state_
.get(); }
23 // WebMainParts implementation.
24 void PreMainMessageLoopRun() override
;
27 scoped_ptr
<ShellBrowserState
> browser_state_
;
32 #endif // IOS_WEB_SHELL_SHELL_WEB_MAIN_PARTS_H_