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

Side by Side Diff: Source/devtools/front_end/elements/Spectrum.js

Issue 301163005: DevTools: [JSDoc] Avoid partial arg list annotations in code except "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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 /* 1 /*
2 * Copyright (C) 2011 Brian Grinstead All rights reserved. 2 * Copyright (C) 2011 Brian Grinstead All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 this._onchange(); 125 this._onchange();
126 } 126 }
127 }; 127 };
128 128
129 WebInspector.Spectrum.Events = { 129 WebInspector.Spectrum.Events = {
130 ColorChanged: "ColorChanged" 130 ColorChanged: "ColorChanged"
131 }; 131 };
132 132
133 /** 133 /**
134 * @param {!Element} element
134 * @param {function(!Element, number, number, !MouseEvent)=} onmove 135 * @param {function(!Element, number, number, !MouseEvent)=} onmove
135 * @param {function(!Element, !MouseEvent)=} onstart 136 * @param {function(!Element, !MouseEvent)=} onstart
136 * @param {function(!Element, !MouseEvent)=} onstop 137 * @param {function(!Element, !MouseEvent)=} onstop
137 */ 138 */
138 WebInspector.Spectrum.draggable = function(element, onmove, onstart, onstop) { 139 WebInspector.Spectrum.draggable = function(element, onmove, onstart, onstop) {
139 140
140 var doc = document; 141 var doc = document;
141 var dragging; 142 var dragging;
142 var offset; 143 var offset;
143 var scrollOffset; 144 var scrollOffset;
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 444
444 WebInspector.ColorSwatch.prototype = { 445 WebInspector.ColorSwatch.prototype = {
445 /** 446 /**
446 * @param {string} colorString 447 * @param {string} colorString
447 */ 448 */
448 setColorString: function(colorString) 449 setColorString: function(colorString)
449 { 450 {
450 this._swatchInnerElement.style.backgroundColor = colorString; 451 this._swatchInnerElement.style.backgroundColor = colorString;
451 } 452 }
452 } 453 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/ElementsTreeOutline.js ('k') | Source/devtools/front_end/elements/StylesSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698