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

Side by Side Diff: Source/devtools/front_end/main/HelpScreenUntilReload.js

Issue 671463002: DevTools: make flame chart a web component. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test fixed Created 6 years, 2 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
« no previous file with comments | « Source/devtools/front_end/inspectorStyle.css ('k') | Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 19 matching lines...) Expand all
30 30
31 /** 31 /**
32 * @constructor 32 * @constructor
33 * @param {string=} title 33 * @param {string=} title
34 * @param {string=} message 34 * @param {string=} message
35 * @extends {WebInspector.HelpScreen} 35 * @extends {WebInspector.HelpScreen}
36 */ 36 */
37 WebInspector.HelpScreenUntilReload = function(title, message) 37 WebInspector.HelpScreenUntilReload = function(title, message)
38 { 38 {
39 WebInspector.HelpScreen.call(this, title); 39 WebInspector.HelpScreen.call(this, title);
40 var p = this.contentElement.createChild("p"); 40 var p = this.helpContentElement.createChild("p");
41 p.classList.add("help-section"); 41 p.classList.add("help-section");
42 p.textContent = message; 42 p.textContent = message;
43 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Event s.GlobalObjectCleared, this.hide, this); 43 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Event s.GlobalObjectCleared, this.hide, this);
44 } 44 }
45 45
46 WebInspector.HelpScreenUntilReload.prototype = { 46 WebInspector.HelpScreenUntilReload.prototype = {
47 /** 47 /**
48 * @override 48 * @override
49 */ 49 */
50 willHide: function() 50 willHide: function()
51 { 51 {
52 WebInspector.debuggerModel.removeEventListener(WebInspector.DebuggerMode l.Events.GlobalObjectCleared, this.hide, this); 52 WebInspector.debuggerModel.removeEventListener(WebInspector.DebuggerMode l.Events.GlobalObjectCleared, this.hide, this);
53 WebInspector.HelpScreen.prototype.willHide.call(this); 53 WebInspector.HelpScreen.prototype.willHide.call(this);
54 }, 54 },
55 55
56 __proto__: WebInspector.HelpScreen.prototype 56 __proto__: WebInspector.HelpScreen.prototype
57 } 57 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/inspectorStyle.css ('k') | Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698