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

Side by Side Diff: content/public/browser/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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 293
294 // Returns the locale used by the application. 294 // Returns the locale used by the application.
295 // This is called on the UI and IO threads. 295 // This is called on the UI and IO threads.
296 virtual std::string GetApplicationLocale(); 296 virtual std::string GetApplicationLocale();
297 297
298 // Returns the languages used in the Accept-Languages HTTP header. 298 // Returns the languages used in the Accept-Languages HTTP header.
299 // (Not called GetAcceptLanguages so it doesn't clash with win32). 299 // (Not called GetAcceptLanguages so it doesn't clash with win32).
300 virtual std::string GetAcceptLangs(BrowserContext* context); 300 virtual std::string GetAcceptLangs(BrowserContext* context);
301 301
302 // Returns the default favicon. The callee doesn't own the given bitmap. 302 // Returns the default favicon. The callee doesn't own the given bitmap.
303 virtual gfx::ImageSkia* GetDefaultFavicon(); 303 virtual const gfx::ImageSkia* GetDefaultFavicon();
304 304
305 // Allow the embedder to control if an AppCache can be used for the given url. 305 // Allow the embedder to control if an AppCache can be used for the given url.
306 // This is called on the IO thread. 306 // This is called on the IO thread.
307 virtual bool AllowAppCache(const GURL& manifest_url, 307 virtual bool AllowAppCache(const GURL& manifest_url,
308 const GURL& first_party, 308 const GURL& first_party,
309 ResourceContext* context); 309 ResourceContext* context);
310 310
311 // Allow the embedder to control if the given cookie can be read. 311 // Allow the embedder to control if the given cookie can be read.
312 // This is called on the IO thread. 312 // This is called on the IO thread.
313 virtual bool AllowGetCookie(const GURL& url, 313 virtual bool AllowGetCookie(const GURL& url,
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 640 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
641 // implementation. Return NULL to disable external surface video. 641 // implementation. Return NULL to disable external surface video.
642 virtual ExternalVideoSurfaceContainer* 642 virtual ExternalVideoSurfaceContainer*
643 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 643 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
644 #endif 644 #endif
645 }; 645 };
646 646
647 } // namespace content 647 } // namespace content
648 648
649 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 649 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search_engines/template_url_table_model.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698