Infobar material design refresh: bg color
[chromium-blink-merge.git] / ios / web / shell / shell_web_main_parts.h
blob6b6f001e47f5634702933fc4027dd8592b1939ee
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"
12 namespace web {
13 class ShellBrowserState;
15 // Shell-specific implementation of WebMainParts.
16 class ShellWebMainParts : public WebMainParts {
17 public:
18 ShellWebMainParts();
19 ~ShellWebMainParts() override;
21 ShellBrowserState* browser_state() const { return browser_state_.get(); }
23 // WebMainParts implementation.
24 void PreMainMessageLoopRun() override;
26 private:
27 scoped_ptr<ShellBrowserState> browser_state_;
30 } // namespace web
32 #endif // IOS_WEB_SHELL_SHELL_WEB_MAIN_PARTS_H_