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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 this._model.removeEventListener(WebInspector.CSSStyleModel.Events.StyleS
heetAdded, this._styleSheetAdded, this); | 682 this._model.removeEventListener(WebInspector.CSSStyleModel.Events.StyleS
heetAdded, this._styleSheetAdded, this); |
683 this._model.removeEventListener(WebInspector.CSSStyleModel.Events.StyleS
heetRemoved, this._styleSheetRemoved, this); | 683 this._model.removeEventListener(WebInspector.CSSStyleModel.Events.StyleS
heetRemoved, this._styleSheetRemoved, this); |
684 }, | 684 }, |
685 | 685 |
686 __proto__: WebInspector.LiveLocation.prototype | 686 __proto__: WebInspector.LiveLocation.prototype |
687 } | 687 } |
688 | 688 |
689 /** | 689 /** |
690 * @constructor | 690 * @constructor |
691 * @implements {WebInspector.RawLocation} | 691 * @implements {WebInspector.RawLocation} |
| 692 * @param {!WebInspector.Target} target |
692 * @param {string} url | 693 * @param {string} url |
693 * @param {number} lineNumber | 694 * @param {number} lineNumber |
694 * @param {number=} columnNumber | 695 * @param {number=} columnNumber |
695 */ | 696 */ |
696 WebInspector.CSSLocation = function(target, url, lineNumber, columnNumber) | 697 WebInspector.CSSLocation = function(target, url, lineNumber, columnNumber) |
697 { | 698 { |
698 this._cssModel = target.cssModel; | 699 this._cssModel = target.cssModel; |
699 this.url = url; | 700 this.url = url; |
700 this.lineNumber = lineNumber; | 701 this.lineNumber = lineNumber; |
701 this.columnNumber = columnNumber || 0; | 702 this.columnNumber = columnNumber || 0; |
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1715 for (var i = 0; i < callbacks.length; ++i) | 1716 for (var i = 0; i < callbacks.length; ++i) |
1716 callbacks[i](computedStyle); | 1717 callbacks[i](computedStyle); |
1717 } | 1718 } |
1718 } | 1719 } |
1719 } | 1720 } |
1720 | 1721 |
1721 /** | 1722 /** |
1722 * @type {!WebInspector.CSSStyleModel} | 1723 * @type {!WebInspector.CSSStyleModel} |
1723 */ | 1724 */ |
1724 WebInspector.cssModel; | 1725 WebInspector.cssModel; |
OLD | NEW |