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

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

Issue 1310653003: [DevTools] Fix one more backwards compatibility breakage. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(window) { 5 (function(window) {
6 6
7 // DevToolsAPI ---------------------------------------------------------------- 7 // DevToolsAPI ----------------------------------------------------------------
8 8
9 /** 9 /**
10 * @constructor 10 * @constructor
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 775
776 window.InspectorFrontendHost = new InspectorFrontendHostImpl(); 776 window.InspectorFrontendHost = new InspectorFrontendHostImpl();
777 777
778 // DevToolsApp --------------------------------------------------------------- 778 // DevToolsApp ---------------------------------------------------------------
779 779
780 /** 780 /**
781 * @suppressGlobalPropertiesCheck 781 * @suppressGlobalPropertiesCheck
782 */ 782 */
783 function installBackwardsCompatibility() 783 function installBackwardsCompatibility()
784 { 784 {
785 if (window.location.search.indexOf("remoteFrontend") === -1)
786 return;
787
785 /** 788 /**
786 * @this {CSSStyleDeclaration} 789 * @this {CSSStyleDeclaration}
787 */ 790 */
788 function getValue(property) 791 function getValue(property)
789 { 792 {
790 // Note that |property| comes from another context, so we can't use === here. 793 // Note that |property| comes from another context, so we can't use === here.
791 if (property == "padding-left") { 794 if (property == "padding-left") {
792 return { 795 return {
793 /** 796 /**
794 * @suppressReceiverCheck 797 * @suppressReceiverCheck
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 uiTests.testSuiteReady = function(testSuiteConstructor, testBase) 854 uiTests.testSuiteReady = function(testSuiteConstructor, testBase)
852 { 855 {
853 uiTests._testSuite = testSuiteConstructor(window.domAutomationController ); 856 uiTests._testSuite = testSuiteConstructor(window.domAutomationController );
854 uiTests._tryRun(); 857 uiTests._tryRun();
855 }; 858 };
856 859
857 window.uiTests = uiTests; 860 window.uiTests = uiTests;
858 } 861 }
859 862
860 })(window); 863 })(window);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698