| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (C) 2012 Google Inc. All rights reserved. | 2 Copyright (C) 2012 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 | 5 modification, are permitted provided that the following conditions |
| 6 are met: | 6 are met: |
| 7 | 7 |
| 8 1. Redistributions of source code must retain the above copyright | 8 1. 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 2. Redistributions in binary form must reproduce the above copyright | 10 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 visibility: hidden; | 192 visibility: hidden; |
| 193 } | 193 } |
| 194 </style> | 194 </style> |
| 195 <script> | 195 <script> |
| 196 const lightGridColor = "rgba(0,0,0,0.2)"; | 196 const lightGridColor = "rgba(0,0,0,0.2)"; |
| 197 const darkGridColor = "rgba(0,0,0,0.7)"; | 197 const darkGridColor = "rgba(0,0,0,0.7)"; |
| 198 const transparentColor = "rgba(0, 0, 0, 0)"; | 198 const transparentColor = "rgba(0, 0, 0, 0)"; |
| 199 const gridBackgroundColor = "rgba(255, 255, 255, 0.8)"; | 199 const gridBackgroundColor = "rgba(255, 255, 255, 0.8)"; |
| 200 | 200 |
| 201 // The order must correspond to that in InspectorOverlay::OverrideType. | 201 // The order must correspond to that in InspectorOverlay::OverrideType. |
| 202 const overrideEntries = ["User-Agent", "Device Metrics", "Geolocation", "Device
Orientation", "Touch", "Media"]; | 202 const overrideEntries = ["User-Agent", "Device Metrics", "Geolocation", "Device
Orientation", "Touch", "Media", "Text Autosizing"]; |
| 203 const overrideTouchBit = 1 << 4; | 203 const overrideTouchBit = 1 << 4; |
| 204 | 204 |
| 205 var overridesContainer; | 205 var overridesContainer; |
| 206 var overridesMessageElement; | 206 var overridesMessageElement; |
| 207 | 207 |
| 208 function drawPausedInDebuggerMessage(message) | 208 function drawPausedInDebuggerMessage(message) |
| 209 { | 209 { |
| 210 document.querySelector(".controls-line").style.visibility = "visible"; | 210 document.querySelector(".controls-line").style.visibility = "visible"; |
| 211 document.getElementById("paused-in-debugger").textContent = message; | 211 document.getElementById("paused-in-debugger").textContent = message; |
| 212 document.body.classList.add("dimmed"); | 212 document.body.classList.add("dimmed"); |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 <span id="tag-name"></span><span id="node-id"></span><span id="class-name"></s
pan> | 799 <span id="tag-name"></span><span id="node-id"></span><span id="class-name"></s
pan> |
| 800 <span id="node-width"></span><span class="px">px</span><span class="px"> ×
; </span><span id="node-height"></span><span class="px">px</span> | 800 <span id="node-width"></span><span class="px">px</span><span class="px"> ×
; </span><span id="node-height"></span><span class="px">px</span> |
| 801 </div> | 801 </div> |
| 802 <div id="right-gutter"></div> | 802 <div id="right-gutter"></div> |
| 803 <div id="bottom-gutter"></div> | 803 <div id="bottom-gutter"></div> |
| 804 <div id="overrides-container"> | 804 <div id="overrides-container"> |
| 805 <div id="overrides-message"></div> | 805 <div id="overrides-message"></div> |
| 806 </div> | 806 </div> |
| 807 <div id="log"></div> | 807 <div id="log"></div> |
| 808 </html> | 808 </html> |
| OLD | NEW |