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

Side by Side Diff: Source/devtools/front_end/resources/DatabaseQueryView.js

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 7 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 this.dispatchEventToListeners(WebInspector.DatabaseQueryView.Events. SchemaUpdated, this.database); 162 this.dispatchEventToListeners(WebInspector.DatabaseQueryView.Events. SchemaUpdated, this.database);
163 }, 163 },
164 164
165 _queryError: function(query, errorMessage) 165 _queryError: function(query, errorMessage)
166 { 166 {
167 this._appendErrorQueryResult(query, errorMessage); 167 this._appendErrorQueryResult(query, errorMessage);
168 }, 168 },
169 169
170 /** 170 /**
171 * @param {string} query 171 * @param {string} query
172 * @param {!WebInspector.View} view 172 * @param {!WebInspector.Widget} view
173 */ 173 */
174 _appendViewQueryResult: function(query, view) 174 _appendViewQueryResult: function(query, view)
175 { 175 {
176 var resultElement = this._appendQueryResult(query); 176 var resultElement = this._appendQueryResult(query);
177 view.show(resultElement); 177 view.show(resultElement);
178 178
179 this._promptElement.scrollIntoView(false); 179 this._promptElement.scrollIntoView(false);
180 }, 180 },
181 181
182 /** 182 /**
(...skipping 21 matching lines...) Expand all
204 element.appendChild(commandTextElement); 204 element.appendChild(commandTextElement);
205 205
206 var resultElement = createElement("div"); 206 var resultElement = createElement("div");
207 resultElement.className = "database-query-result"; 207 resultElement.className = "database-query-result";
208 element.appendChild(resultElement); 208 element.appendChild(resultElement);
209 return resultElement; 209 return resultElement;
210 }, 210 },
211 211
212 __proto__: WebInspector.VBox.prototype 212 __proto__: WebInspector.VBox.prototype
213 } 213 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/resources/DOMStorageItemsView.js ('k') | Source/devtools/front_end/resources/DatabaseTableView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698