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

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

Issue 714423005: DevTools: move front-end files from components to ui. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comment addressed Created 6 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 | Annotate | Revision Log
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 } 89 }
90 90
91 /** 91 /**
92 * @constructor 92 * @constructor
93 * @extends {WebInspector.VBox} 93 * @extends {WebInspector.VBox}
94 */ 94 */
95 WebInspector.RenderingOptions.View = function() 95 WebInspector.RenderingOptions.View = function()
96 { 96 {
97 WebInspector.VBox.call(this); 97 WebInspector.VBox.call(this);
98 this.registerRequiredCSS("components/helpScreen.css"); 98 this.registerRequiredCSS("ui/helpScreen.css");
99 this.element.classList.add("help-indent-labels"); 99 this.element.classList.add("help-indent-labels");
100 100
101 var div = this.element.createChild("div", "settings-tab help-content help-co ntainer help-no-columns"); 101 var div = this.element.createChild("div", "settings-tab help-content help-co ntainer help-no-columns");
102 div.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.U IString("Show paint rectangles"), WebInspector.settings.showPaintRects)); 102 div.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.U IString("Show paint rectangles"), WebInspector.settings.showPaintRects));
103 div.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.U IString("Show composited layer borders"), WebInspector.settings.showDebugBorders )); 103 div.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.U IString("Show composited layer borders"), WebInspector.settings.showDebugBorders ));
104 div.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.U IString("Show FPS meter"), WebInspector.settings.showFPSCounter)); 104 div.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.U IString("Show FPS meter"), WebInspector.settings.showFPSCounter));
105 div.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.U IString("Enable continuous page repainting"), WebInspector.settings.continuousPa inting)); 105 div.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.U IString("Enable continuous page repainting"), WebInspector.settings.continuousPa inting));
106 var child = WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStr ing("Show potential scroll bottlenecks"), WebInspector.settings.showScrollBottle neckRects); 106 var child = WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStr ing("Show potential scroll bottlenecks"), WebInspector.settings.showScrollBottle neckRects);
107 child.title = WebInspector.UIString("Shows areas of the page that slow down scrolling:\nTouch and mousewheel event listeners can delay scrolling.\nSome area s need to repaint their content when scrolled."); 107 child.title = WebInspector.UIString("Shows areas of the page that slow down scrolling:\nTouch and mousewheel event listeners can delay scrolling.\nSome area s need to repaint their content when scrolled.");
108 div.appendChild(child); 108 div.appendChild(child);
109 } 109 }
110 110
111 WebInspector.RenderingOptions.View.prototype = { 111 WebInspector.RenderingOptions.View.prototype = {
112 __proto__: WebInspector.VBox.prototype 112 __proto__: WebInspector.VBox.prototype
113 } 113 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/front_end/network/FilterSuggestionBuilder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698