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

Side by Side Diff: chrome/browser/chrome_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
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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const GURL& current_url, 127 const GURL& current_url,
128 const GURL& new_url) OVERRIDE; 128 const GURL& new_url) OVERRIDE;
129 virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE; 129 virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE;
130 virtual std::string GetCanonicalEncodingNameByAliasName( 130 virtual std::string GetCanonicalEncodingNameByAliasName(
131 const std::string& alias_name) OVERRIDE; 131 const std::string& alias_name) OVERRIDE;
132 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 132 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
133 int child_process_id) OVERRIDE; 133 int child_process_id) OVERRIDE;
134 virtual std::string GetApplicationLocale() OVERRIDE; 134 virtual std::string GetApplicationLocale() OVERRIDE;
135 virtual std::string GetAcceptLangs( 135 virtual std::string GetAcceptLangs(
136 content::BrowserContext* context) OVERRIDE; 136 content::BrowserContext* context) OVERRIDE;
137 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; 137 virtual const gfx::ImageSkia* GetDefaultFavicon() OVERRIDE;
138 virtual bool AllowAppCache(const GURL& manifest_url, 138 virtual bool AllowAppCache(const GURL& manifest_url,
139 const GURL& first_party, 139 const GURL& first_party,
140 content::ResourceContext* context) OVERRIDE; 140 content::ResourceContext* context) OVERRIDE;
141 virtual bool AllowGetCookie(const GURL& url, 141 virtual bool AllowGetCookie(const GURL& url,
142 const GURL& first_party, 142 const GURL& first_party,
143 const net::CookieList& cookie_list, 143 const net::CookieList& cookie_list,
144 content::ResourceContext* context, 144 content::ResourceContext* context,
145 int render_process_id, 145 int render_process_id,
146 int render_frame_id) OVERRIDE; 146 int render_frame_id) OVERRIDE;
147 virtual bool AllowSetCookie(const GURL& url, 147 virtual bool AllowSetCookie(const GURL& url,
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 prerender::PrerenderTracker* prerender_tracker_; 313 prerender::PrerenderTracker* prerender_tracker_;
314 314
315 friend class DisableWebRtcEncryptionFlagTest; 315 friend class DisableWebRtcEncryptionFlagTest;
316 316
317 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 317 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
318 }; 318 };
319 319
320 } // namespace chrome 320 } // namespace chrome
321 321
322 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 322 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/cookies_tree_model.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698