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

Unified Diff: chrome/common/extensions/docs/examples/api/fontSettings/js/util.js

Issue 11762004: Make favicons for about:history and about:bookmarks switch from lodpi to hidpi when dragging browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/shared/js/util.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/examples/api/fontSettings/js/util.js
diff --git a/chrome/common/extensions/docs/examples/api/fontSettings/js/util.js b/chrome/common/extensions/docs/examples/api/fontSettings/js/util.js
index e342317d0fa8d038edbfe9695cac03dd7fc85800..1a927d1a6ee7f768a79cbc80b166090f9afeb2b3 100644
--- a/chrome/common/extensions/docs/examples/api/fontSettings/js/util.js
+++ b/chrome/common/extensions/docs/examples/api/fontSettings/js/util.js
@@ -226,15 +226,3 @@ function appendParam(url, key, value) {
return url + '?' + param;
return url + '&' + param;
}
-
-/**
- * Creates a new URL for a favicon request.
- * @param {string} url The url for the favicon.
- * @param {number=} opt_size Optional preferred size of the favicon.
- * @return {string} Updated URL for the favicon.
- */
-function getFaviconUrl(url, opt_size) {
- var size = opt_size || 16;
- return 'chrome://favicon/size/' + size + '@' +
- window.devicePixelRatio + 'x/' + url;
-}
« no previous file with comments | « chrome/browser/resources/shared/js/util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698