Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: content/shell/shell_browser_main.h

Issue 8488015: Revert 110327 - Add ChromeBrowserParts for non main parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SHELL_BROWSER_MAIN_H_ 5 #ifndef CONTENT_SHELL_SHELL_BROWSER_MAIN_H_
6 #define CONTENT_SHELL_SHELL_BROWSER_MAIN_H_ 6 #define CONTENT_SHELL_SHELL_BROWSER_MAIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 explicit ShellBrowserMainParts(const content::MainFunctionParams& parameters); 30 explicit ShellBrowserMainParts(const content::MainFunctionParams& parameters);
31 virtual ~ShellBrowserMainParts(); 31 virtual ~ShellBrowserMainParts();
32 32
33 virtual void PreEarlyInitialization() OVERRIDE {} 33 virtual void PreEarlyInitialization() OVERRIDE {}
34 virtual void PostEarlyInitialization() OVERRIDE {} 34 virtual void PostEarlyInitialization() OVERRIDE {}
35 virtual void PreMainMessageLoopStart() OVERRIDE {} 35 virtual void PreMainMessageLoopStart() OVERRIDE {}
36 virtual void ToolkitInitialized() OVERRIDE {} 36 virtual void ToolkitInitialized() OVERRIDE {}
37 virtual void PostMainMessageLoopStart() OVERRIDE {} 37 virtual void PostMainMessageLoopStart() OVERRIDE {}
38 virtual void PreMainMessageLoopRun() OVERRIDE; 38 virtual void PreMainMessageLoopRun() OVERRIDE;
39 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; 39 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE;
40 virtual void PostMainMessageLoopRun() OVERRIDE {} 40 virtual void PostMainMessageLoopRun() {}
41 41
42 ResourceDispatcherHost* GetResourceDispatcherHost(); 42 ResourceDispatcherHost* GetResourceDispatcherHost();
43 ui::Clipboard* GetClipboard(); 43 ui::Clipboard* GetClipboard();
44 44
45 base::Thread* io_thread() { return io_thread_.get(); } 45 base::Thread* io_thread() { return io_thread_.get(); }
46 base::Thread* file_thread() { return file_thread_.get(); } 46 base::Thread* file_thread() { return file_thread_.get(); }
47 47
48 private: 48 private:
49 scoped_ptr<ShellBrowserContext> browser_context_; 49 scoped_ptr<ShellBrowserContext> browser_context_;
50 50
51 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_; 51 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_;
52 scoped_ptr<ui::Clipboard> clipboard_; 52 scoped_ptr<ui::Clipboard> clipboard_;
53 53
54 scoped_ptr<base::Thread> io_thread_; 54 scoped_ptr<base::Thread> io_thread_;
55 scoped_ptr<base::Thread> file_thread_; 55 scoped_ptr<base::Thread> file_thread_;
56 scoped_ptr<base::Thread> db_thread_; 56 scoped_ptr<base::Thread> db_thread_;
57 scoped_ptr<base::Thread> process_launcher_thread_; 57 scoped_ptr<base::Thread> process_launcher_thread_;
58 scoped_ptr<base::Thread> cache_thread_; 58 scoped_ptr<base::Thread> cache_thread_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); 60 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts);
61 }; 61 };
62 62
63 } // namespace content 63 } // namespace content
64 64
65 #endif // CONTENT_SHELL_SHELL_BROWSER_MAIN_H_ 65 #endif // CONTENT_SHELL_SHELL_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698