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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js

Issue 2516253002: [DevTools] Remove HandlerRegistry. (Closed)
Patch Set: rebase, fixed comments Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/main/module.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 4 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
5 * Copyright (C) 2009 Joseph Pecoraro 5 * Copyright (C) 2009 Joseph Pecoraro
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 return a; 723 return a;
724 } 724 }
725 return String.format(Common.UIString(format), substitutions, formatters, creat eElement('span'), append) 725 return String.format(Common.UIString(format), substitutions, formatters, creat eElement('span'), append)
726 .formattedResult; 726 .formattedResult;
727 }; 727 };
728 728
729 /** 729 /**
730 * @return {string} 730 * @return {string}
731 */ 731 */
732 UI.openLinkExternallyLabel = function() { 732 UI.openLinkExternallyLabel = function() {
733 return Common.UIString.capitalize('Open ^link in ^new ^tab'); 733 return Common.UIString.capitalize('Open in ^new ^tab');
734 }; 734 };
735 735
736 /** 736 /**
737 * @return {string} 737 * @return {string}
738 */ 738 */
739 UI.copyLinkAddressLabel = function() { 739 UI.copyLinkAddressLabel = function() {
740 return Common.UIString.capitalize('Copy ^link ^address'); 740 return Common.UIString.capitalize('Copy ^link ^address');
741 }; 741 };
742 742
743 /** 743 /**
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1985 return new Promise(fulfill => { 1985 return new Promise(fulfill => {
1986 var image = new Image(); 1986 var image = new Image();
1987 image.addEventListener('load', () => fulfill(image)); 1987 image.addEventListener('load', () => fulfill(image));
1988 image.addEventListener('error', () => fulfill(null)); 1988 image.addEventListener('error', () => fulfill(null));
1989 image.src = url; 1989 image.src = url;
1990 }); 1990 });
1991 }; 1991 };
1992 1992
1993 /** @type {!UI.ThemeSupport} */ 1993 /** @type {!UI.ThemeSupport} */
1994 UI.themeSupport; 1994 UI.themeSupport;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/main/module.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698