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

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

Issue 1157733004: [DevTools] Cleanup frontend-in-iframe support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/devtools.js ('k') | Source/devtools/front_end/main/Tests.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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 evaluateForTestInFrontend: function(callId, script) 621 evaluateForTestInFrontend: function(callId, script)
622 { 622 {
623 WebInspector.evaluateForTestInFrontend(callId, script); 623 WebInspector.evaluateForTestInFrontend(callId, script);
624 } 624 }
625 } 625 }
626 626
627 WebInspector.reload = function() 627 WebInspector.reload = function()
628 { 628 {
629 if (WebInspector.dockController.canDock() && WebInspector.dockController.doc kSide() === WebInspector.DockController.State.Undocked) 629 if (WebInspector.dockController.canDock() && WebInspector.dockController.doc kSide() === WebInspector.DockController.State.Undocked)
630 InspectorFrontendHost.setIsDocked(true, function() {}); 630 InspectorFrontendHost.setIsDocked(true, function() {});
631 window.top.location.reload(); 631 window.location.reload();
632 } 632 }
633 633
634 /** 634 /**
635 * @constructor 635 * @constructor
636 * @implements {WebInspector.ActionDelegate} 636 * @implements {WebInspector.ActionDelegate}
637 */ 637 */
638 WebInspector.Main.ReloadActionDelegate = function() 638 WebInspector.Main.ReloadActionDelegate = function()
639 { 639 {
640 } 640 }
641 641
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 p.classList.add("help-section"); 839 p.classList.add("help-section");
840 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 840 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
841 } 841 }
842 842
843 WebInspector.WorkerTerminatedScreen.prototype = { 843 WebInspector.WorkerTerminatedScreen.prototype = {
844 844
845 __proto__: WebInspector.HelpScreen.prototype 845 __proto__: WebInspector.HelpScreen.prototype
846 } 846 }
847 847
848 new WebInspector.Main(); 848 new WebInspector.Main();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/devtools.js ('k') | Source/devtools/front_end/main/Tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698