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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js

Issue 1403373013: DevTools: move ui messages from SourceFrame to UISourceCodeFrame (step2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 5 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) IBM Corp. 2009 All rights reserved. 3 * Copyright (C) IBM Corp. 2009 All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 */ 28 */
29 29
30 /** 30 /**
31 * @extends {WebInspector.SourceFrame} 31 * @extends {WebInspector.SourceFrame}
32 * @constructor 32 * @constructor
33 * @param {!WebInspector.ContentProvider} resource 33 * @param {!WebInspector.ContentProvider} resource
34 */ 34 */
35 WebInspector.ResourceSourceFrame = function(resource) 35 WebInspector.ResourceSourceFrame = function(resource)
36 { 36 {
37 this._resource = resource; 37 this._resource = resource;
38 this._messages = [];
39 WebInspector.SourceFrame.call(this, resource); 38 WebInspector.SourceFrame.call(this, resource);
40 } 39 }
41 40
42 WebInspector.ResourceSourceFrame.prototype = { 41 WebInspector.ResourceSourceFrame.prototype = {
43 get resource() 42 get resource()
44 { 43 {
45 return this._resource; 44 return this._resource;
46 }, 45 },
47 46
48 populateTextAreaContextMenu: function(contextMenu, lineNumber, columnNumber) 47 populateTextAreaContextMenu: function(contextMenu, lineNumber, columnNumber)
(...skipping 29 matching lines...) Expand all
78 /** 77 /**
79 * @param {?string} content 78 * @param {?string} content
80 */ 79 */
81 _contentLoaded: function(content) 80 _contentLoaded: function(content)
82 { 81 {
83 this._content.textContent = content; 82 this._content.textContent = content;
84 }, 83 },
85 84
86 __proto__: WebInspector.VBox.prototype 85 __proto__: WebInspector.VBox.prototype
87 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698