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

Side by Side Diff: android_webview/browser/aw_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: Yet another rebase 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 ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 23 matching lines...) Expand all
34 int render_process_id, 34 int render_process_id,
35 int render_view_id) OVERRIDE; 35 int render_view_id) OVERRIDE;
36 virtual content::BrowserMainParts* CreateBrowserMainParts( 36 virtual content::BrowserMainParts* CreateBrowserMainParts(
37 const content::MainFunctionParams& parameters) OVERRIDE; 37 const content::MainFunctionParams& parameters) OVERRIDE;
38 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( 38 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate(
39 content::WebContents* web_contents) OVERRIDE; 39 content::WebContents* web_contents) OVERRIDE;
40 virtual void RenderProcessHostCreated( 40 virtual void RenderProcessHostCreated(
41 content::RenderProcessHost* host) OVERRIDE; 41 content::RenderProcessHost* host) OVERRIDE;
42 virtual net::URLRequestContextGetter* CreateRequestContext( 42 virtual net::URLRequestContextGetter* CreateRequestContext(
43 content::BrowserContext* browser_context, 43 content::BrowserContext* browser_context,
44 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 44 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
45 blob_protocol_handler,
46 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
47 file_system_protocol_handler,
48 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
49 developer_protocol_handler,
50 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
51 chrome_protocol_handler,
52 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
53 chrome_devtools_protocol_handler) OVERRIDE;
54 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 45 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
55 content::BrowserContext* browser_context, 46 content::BrowserContext* browser_context,
56 const base::FilePath& partition_path, 47 const base::FilePath& partition_path,
57 bool in_memory, 48 bool in_memory,
58 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 49 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
59 blob_protocol_handler,
60 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
61 file_system_protocol_handler,
62 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
63 developer_protocol_handler,
64 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
65 chrome_protocol_handler,
66 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
67 chrome_devtools_protocol_handler) OVERRIDE;
68 virtual std::string GetCanonicalEncodingNameByAliasName( 50 virtual std::string GetCanonicalEncodingNameByAliasName(
69 const std::string& alias_name) OVERRIDE; 51 const std::string& alias_name) OVERRIDE;
70 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 52 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
71 int child_process_id) OVERRIDE; 53 int child_process_id) OVERRIDE;
72 virtual std::string GetApplicationLocale() OVERRIDE; 54 virtual std::string GetApplicationLocale() OVERRIDE;
73 virtual std::string GetAcceptLangs(content::BrowserContext* context) OVERRIDE; 55 virtual std::string GetAcceptLangs(content::BrowserContext* context) OVERRIDE;
74 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; 56 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE;
75 virtual bool AllowAppCache(const GURL& manifest_url, 57 virtual bool AllowAppCache(const GURL& manifest_url,
76 const GURL& first_party, 58 const GURL& first_party,
77 content::ResourceContext* context) OVERRIDE; 59 content::ResourceContext* context) OVERRIDE;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 scoped_ptr<AwBrowserContext> browser_context_; 148 scoped_ptr<AwBrowserContext> browser_context_;
167 149
168 JniDependencyFactory* native_factory_; 150 JniDependencyFactory* native_factory_;
169 151
170 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 152 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
171 }; 153 };
172 154
173 } // namespace android_webview 155 } // namespace android_webview
174 156
175 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 157 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_context.cc ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698