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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 * @override | 947 * @override |
948 * @return {!Promise} | 948 * @return {!Promise} |
949 */ | 949 */ |
950 resumeModel: function() | 950 resumeModel: function() |
951 { | 951 { |
952 return this._agent.enable().then(this._wasEnabled.bind(this)); | 952 return this._agent.enable().then(this._wasEnabled.bind(this)); |
953 }, | 953 }, |
954 | 954 |
955 /** | 955 /** |
956 * @param {!CSSAgent.StyleSheetId} id | 956 * @param {!CSSAgent.StyleSheetId} id |
957 * @param {!CSSAgent.SourceRange} range | 957 * @param {!RuntimeAgent.SourceRange} range |
958 */ | 958 */ |
959 _layoutEditorChange: function(id, range) | 959 _layoutEditorChange: function(id, range) |
960 { | 960 { |
961 this.dispatchEventToListeners(WebInspector.CSSModel.Events.LayoutEditorC
hange, {id: id, range: range}); | 961 this.dispatchEventToListeners(WebInspector.CSSModel.Events.LayoutEditorC
hange, {id: id, range: range}); |
962 }, | 962 }, |
963 | 963 |
964 /** | 964 /** |
965 * @param {number} nodeId | 965 * @param {number} nodeId |
966 * @param {string} name | 966 * @param {string} name |
967 * @param {string} value | 967 * @param {string} value |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 * @param {!CSSAgent.StyleSheetId} id | 1076 * @param {!CSSAgent.StyleSheetId} id |
1077 */ | 1077 */ |
1078 styleSheetRemoved: function(id) | 1078 styleSheetRemoved: function(id) |
1079 { | 1079 { |
1080 this._cssModel._styleSheetRemoved(id); | 1080 this._cssModel._styleSheetRemoved(id); |
1081 }, | 1081 }, |
1082 | 1082 |
1083 /** | 1083 /** |
1084 * @override | 1084 * @override |
1085 * @param {!CSSAgent.StyleSheetId} id | 1085 * @param {!CSSAgent.StyleSheetId} id |
1086 * @param {!CSSAgent.SourceRange} range | 1086 * @param {!RuntimeAgent.SourceRange} range |
1087 */ | 1087 */ |
1088 layoutEditorChange: function(id, range) | 1088 layoutEditorChange: function(id, range) |
1089 { | 1089 { |
1090 this._cssModel._layoutEditorChange(id, range); | 1090 this._cssModel._layoutEditorChange(id, range); |
1091 }, | 1091 }, |
1092 } | 1092 } |
1093 | 1093 |
1094 /** | 1094 /** |
1095 * @constructor | 1095 * @constructor |
1096 * @param {!WebInspector.CSSModel} cssModel | 1096 * @param {!WebInspector.CSSModel} cssModel |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 /** | 1165 /** |
1166 * @constructor | 1166 * @constructor |
1167 * @param {?WebInspector.CSSStyleDeclaration} inlineStyle | 1167 * @param {?WebInspector.CSSStyleDeclaration} inlineStyle |
1168 * @param {?WebInspector.CSSStyleDeclaration} attributesStyle | 1168 * @param {?WebInspector.CSSStyleDeclaration} attributesStyle |
1169 */ | 1169 */ |
1170 WebInspector.CSSModel.InlineStyleResult = function(inlineStyle, attributesStyle) | 1170 WebInspector.CSSModel.InlineStyleResult = function(inlineStyle, attributesStyle) |
1171 { | 1171 { |
1172 this.inlineStyle = inlineStyle; | 1172 this.inlineStyle = inlineStyle; |
1173 this.attributesStyle = attributesStyle; | 1173 this.attributesStyle = attributesStyle; |
1174 } | 1174 } |
OLD | NEW |