OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/public/browser/browser_main_parts.h" | 10 #include "content/public/browser/browser_main_parts.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 class ShellBrowserContext; | 29 class ShellBrowserContext; |
30 class ShellDevToolsDelegate; | 30 class ShellDevToolsDelegate; |
31 class ShellPluginServiceFilter; | 31 class ShellPluginServiceFilter; |
32 | 32 |
33 class ShellBrowserMainParts : public BrowserMainParts { | 33 class ShellBrowserMainParts : public BrowserMainParts { |
34 public: | 34 public: |
35 explicit ShellBrowserMainParts(const MainFunctionParams& parameters); | 35 explicit ShellBrowserMainParts(const MainFunctionParams& parameters); |
36 virtual ~ShellBrowserMainParts(); | 36 virtual ~ShellBrowserMainParts(); |
37 | 37 |
38 // BrowserMainParts overrides. | 38 // BrowserMainParts overrides. |
39 virtual void PreEarlyInitialization() OVERRIDE; | 39 virtual void PreEarlyInitialization() override; |
40 virtual void PreMainMessageLoopStart() OVERRIDE; | 40 virtual void PreMainMessageLoopStart() override; |
41 virtual void PostMainMessageLoopStart() OVERRIDE; | 41 virtual void PostMainMessageLoopStart() override; |
42 virtual void PreMainMessageLoopRun() OVERRIDE; | 42 virtual void PreMainMessageLoopRun() override; |
43 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; | 43 virtual bool MainMessageLoopRun(int* result_code) override; |
44 virtual void PostMainMessageLoopRun() OVERRIDE; | 44 virtual void PostMainMessageLoopRun() override; |
45 | 45 |
46 ShellDevToolsDelegate* devtools_delegate() { | 46 ShellDevToolsDelegate* devtools_delegate() { |
47 return devtools_delegate_.get(); | 47 return devtools_delegate_.get(); |
48 } | 48 } |
49 | 49 |
50 ShellBrowserContext* browser_context() { return browser_context_.get(); } | 50 ShellBrowserContext* browser_context() { return browser_context_.get(); } |
51 ShellBrowserContext* off_the_record_browser_context() { | 51 ShellBrowserContext* off_the_record_browser_context() { |
52 return off_the_record_browser_context_.get(); | 52 return off_the_record_browser_context_.get(); |
53 } | 53 } |
54 | 54 |
(...skipping 15 matching lines...) Expand all Loading... |
70 #if defined(ENABLE_PLUGINS) | 70 #if defined(ENABLE_PLUGINS) |
71 scoped_ptr<ShellPluginServiceFilter> plugin_service_filter_; | 71 scoped_ptr<ShellPluginServiceFilter> plugin_service_filter_; |
72 #endif | 72 #endif |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); | 74 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace content | 77 } // namespace content |
78 | 78 |
79 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ | 79 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ |
OLD | NEW |