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

Side by Side Diff: android_webview/browser/aw_content_browser_client.h

Issue 333493002: Load the default favicon as a native image, rather than as a Skia image. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "android_webview/browser/aw_web_preferences_populater.h" 8 #include "android_webview/browser/aw_web_preferences_populater.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const base::FilePath& partition_path, 50 const base::FilePath& partition_path,
51 bool in_memory, 51 bool in_memory,
52 content::ProtocolHandlerMap* protocol_handlers, 52 content::ProtocolHandlerMap* protocol_handlers,
53 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; 53 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE;
54 virtual std::string GetCanonicalEncodingNameByAliasName( 54 virtual std::string GetCanonicalEncodingNameByAliasName(
55 const std::string& alias_name) OVERRIDE; 55 const std::string& alias_name) OVERRIDE;
56 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 56 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
57 int child_process_id) OVERRIDE; 57 int child_process_id) OVERRIDE;
58 virtual std::string GetApplicationLocale() OVERRIDE; 58 virtual std::string GetApplicationLocale() OVERRIDE;
59 virtual std::string GetAcceptLangs(content::BrowserContext* context) OVERRIDE; 59 virtual std::string GetAcceptLangs(content::BrowserContext* context) OVERRIDE;
60 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; 60 virtual const gfx::ImageSkia* GetDefaultFavicon() OVERRIDE;
61 virtual bool AllowAppCache(const GURL& manifest_url, 61 virtual bool AllowAppCache(const GURL& manifest_url,
62 const GURL& first_party, 62 const GURL& first_party,
63 content::ResourceContext* context) OVERRIDE; 63 content::ResourceContext* context) OVERRIDE;
64 virtual bool AllowGetCookie(const GURL& url, 64 virtual bool AllowGetCookie(const GURL& url,
65 const GURL& first_party, 65 const GURL& first_party,
66 const net::CookieList& cookie_list, 66 const net::CookieList& cookie_list,
67 content::ResourceContext* context, 67 content::ResourceContext* context,
68 int render_process_id, 68 int render_process_id,
69 int render_frame_id) OVERRIDE; 69 int render_frame_id) OVERRIDE;
70 virtual bool AllowSetCookie(const GURL& url, 70 virtual bool AllowSetCookie(const GURL& url,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 170 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
171 171
172 JniDependencyFactory* native_factory_; 172 JniDependencyFactory* native_factory_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 174 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
175 }; 175 };
176 176
177 } // namespace android_webview 177 } // namespace android_webview
178 178
179 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 179 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698