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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 * @extends {WebInspector.RequestView} | 122 * @extends {WebInspector.RequestView} |
123 * @param {!WebInspector.NetworkRequest} request | 123 * @param {!WebInspector.NetworkRequest} request |
124 */ | 124 */ |
125 WebInspector.RequestContentView = function(request) | 125 WebInspector.RequestContentView = function(request) |
126 { | 126 { |
127 WebInspector.RequestView.call(this, request); | 127 WebInspector.RequestView.call(this, request); |
128 } | 128 } |
129 | 129 |
130 WebInspector.RequestContentView.prototype = { | 130 WebInspector.RequestContentView.prototype = { |
131 /** | 131 /** |
132 * @return {!WebInspector.View} | 132 * @return {!WebInspector.Widget} |
133 */ | 133 */ |
134 get innerView() | 134 get innerView() |
135 { | 135 { |
136 return this._innerView; | 136 return this._innerView; |
137 }, | 137 }, |
138 | 138 |
139 set innerView(innerView) | 139 set innerView(innerView) |
140 { | 140 { |
141 this._innerView = innerView; | 141 this._innerView = innerView; |
142 }, | 142 }, |
(...skipping 22 matching lines...) Expand all Loading... |
165 this.request.requestContent(callback.bind(this)); | 165 this.request.requestContent(callback.bind(this)); |
166 }, | 166 }, |
167 | 167 |
168 contentLoaded: function() | 168 contentLoaded: function() |
169 { | 169 { |
170 // Should be implemented by subclasses. | 170 // Should be implemented by subclasses. |
171 }, | 171 }, |
172 | 172 |
173 __proto__: WebInspector.RequestView.prototype | 173 __proto__: WebInspector.RequestView.prototype |
174 } | 174 } |
OLD | NEW |