OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ | 5 #ifndef IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ |
6 #define IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ | 6 #define IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
11 #include "ios/web/public/app/web_main_delegate.h" | 10 #include "ios/web/public/app/web_main_delegate.h" |
12 | 11 |
13 namespace web { | 12 namespace web { |
14 class ShellWebClient; | 13 class ShellWebClient; |
15 | 14 |
16 class ShellMainDelegate : public WebMainDelegate { | 15 class ShellMainDelegate : public WebMainDelegate { |
17 public: | 16 public: |
18 ShellMainDelegate(); | 17 ShellMainDelegate(); |
19 ~ShellMainDelegate() override; | 18 ~ShellMainDelegate() override; |
20 | 19 |
21 void BasicStartupComplete() override; | 20 void BasicStartupComplete() override; |
22 | 21 |
23 private: | 22 private: |
24 scoped_ptr<ShellWebClient> web_client_; | 23 scoped_ptr<ShellWebClient> web_client_; |
25 }; | 24 }; |
26 | 25 |
27 } // namespace web | 26 } // namespace web |
28 | 27 |
29 #endif // IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ | 28 #endif // IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ |
OLD | NEW |