OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 this._styleSheetIdToHeader.clear(); | 594 this._styleSheetIdToHeader.clear(); |
595 for (var i = 0; i < headers.length; ++i) | 595 for (var i = 0; i < headers.length; ++i) |
596 this.dispatchEventToListeners(WebInspector.CSSStyleModel.Events.Styl
eSheetRemoved, headers[i]); | 596 this.dispatchEventToListeners(WebInspector.CSSStyleModel.Events.Styl
eSheetRemoved, headers[i]); |
597 }, | 597 }, |
598 | 598 |
599 __proto__: WebInspector.SDKModel.prototype | 599 __proto__: WebInspector.SDKModel.prototype |
600 } | 600 } |
601 | 601 |
602 /** | 602 /** |
603 * @constructor | 603 * @constructor |
604 * @implements {WebInspector.RawLocation} | |
605 * @extends {WebInspector.SDKObject} | 604 * @extends {WebInspector.SDKObject} |
606 * @param {!WebInspector.Target} target | 605 * @param {!WebInspector.Target} target |
607 * @param {?CSSAgent.StyleSheetId} styleSheetId | 606 * @param {?CSSAgent.StyleSheetId} styleSheetId |
608 * @param {string} url | 607 * @param {string} url |
609 * @param {number} lineNumber | 608 * @param {number} lineNumber |
610 * @param {number=} columnNumber | 609 * @param {number=} columnNumber |
611 */ | 610 */ |
612 WebInspector.CSSLocation = function(target, styleSheetId, url, lineNumber, colum
nNumber) | 611 WebInspector.CSSLocation = function(target, styleSheetId, url, lineNumber, colum
nNumber) |
613 { | 612 { |
614 WebInspector.SDKObject.call(this, target); | 613 WebInspector.SDKObject.call(this, target); |
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1643 for (var i = 0; i < callbacks.length; ++i) | 1642 for (var i = 0; i < callbacks.length; ++i) |
1644 callbacks[i](computedStyle); | 1643 callbacks[i](computedStyle); |
1645 } | 1644 } |
1646 } | 1645 } |
1647 } | 1646 } |
1648 | 1647 |
1649 /** | 1648 /** |
1650 * @type {!WebInspector.CSSStyleModel} | 1649 * @type {!WebInspector.CSSStyleModel} |
1651 */ | 1650 */ |
1652 WebInspector.cssModel; | 1651 WebInspector.cssModel; |
OLD | NEW |