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

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

Issue 11896113: Add chrome-search: access from Instant overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Charlie's comments. Created 7 years, 9 months 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 12 matching lines...) Expand all
23 ShellContentBrowserClient(); 23 ShellContentBrowserClient();
24 virtual ~ShellContentBrowserClient(); 24 virtual ~ShellContentBrowserClient();
25 25
26 // ContentBrowserClient overrides. 26 // ContentBrowserClient overrides.
27 virtual BrowserMainParts* CreateBrowserMainParts( 27 virtual BrowserMainParts* CreateBrowserMainParts(
28 const MainFunctionParams& parameters) OVERRIDE; 28 const MainFunctionParams& parameters) OVERRIDE;
29 virtual void RenderProcessHostCreated(RenderProcessHost* host) OVERRIDE; 29 virtual void RenderProcessHostCreated(RenderProcessHost* host) OVERRIDE;
30 virtual net::URLRequestContextGetter* CreateRequestContext( 30 virtual net::URLRequestContextGetter* CreateRequestContext(
31 BrowserContext* browser_context, 31 BrowserContext* browser_context,
32 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 32 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
33 blob_protocol_handler,
34 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
35 file_system_protocol_handler,
36 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
37 developer_protocol_handler, 33 developer_protocol_handler,
38 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 34 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
39 chrome_protocol_handler,
40 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
41 chrome_devtools_protocol_handler) OVERRIDE;
42 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 35 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
43 BrowserContext* browser_context, 36 BrowserContext* browser_context,
44 const base::FilePath& partition_path, 37 const base::FilePath& partition_path,
45 bool in_memory, 38 bool in_memory,
46 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 39 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
47 blob_protocol_handler,
48 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
49 file_system_protocol_handler,
50 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
51 developer_protocol_handler, 40 developer_protocol_handler,
52 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 41 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
53 chrome_protocol_handler,
54 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
55 chrome_devtools_protocol_handler) OVERRIDE;
56 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 42 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
57 int child_process_id) OVERRIDE; 43 int child_process_id) OVERRIDE;
58 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, 44 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host,
59 const GURL& url, 45 const GURL& url,
60 webkit_glue::WebPreferences* prefs) OVERRIDE; 46 webkit_glue::WebPreferences* prefs) OVERRIDE;
61 virtual void ResourceDispatcherHostCreated() OVERRIDE; 47 virtual void ResourceDispatcherHostCreated() OVERRIDE;
62 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 48 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
63 virtual std::string GetDefaultDownloadName() OVERRIDE; 49 virtual std::string GetDefaultDownloadName() OVERRIDE;
64 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( 50 virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
65 WebContents* web_contents) OVERRIDE; 51 WebContents* web_contents) OVERRIDE;
(...skipping 22 matching lines...) Expand all
88 resource_dispatcher_host_delegate_; 74 resource_dispatcher_host_delegate_;
89 75
90 base::FilePath webkit_source_dir_; 76 base::FilePath webkit_source_dir_;
91 77
92 ShellBrowserMainParts* shell_browser_main_parts_; 78 ShellBrowserMainParts* shell_browser_main_parts_;
93 }; 79 };
94 80
95 } // namespace content 81 } // namespace content
96 82
97 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 83 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698