| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 var url = eventData["styleSheetUrl"]; | 796 var url = eventData["styleSheetUrl"]; |
| 797 if (url) | 797 if (url) |
| 798 contentHelper.appendElementRow(WebInspector.UIString("Stylesheet URL
"), WebInspector.linkifyResourceAsNode(url)); | 798 contentHelper.appendElementRow(WebInspector.UIString("Stylesheet URL
"), WebInspector.linkifyResourceAsNode(url)); |
| 799 break; | 799 break; |
| 800 case recordTypes.UpdateLayoutTree: // We don't want to see default details. | 800 case recordTypes.UpdateLayoutTree: // We don't want to see default details. |
| 801 case recordTypes.RecalculateStyles: | 801 case recordTypes.RecalculateStyles: |
| 802 contentHelper.appendTextRow(WebInspector.UIString("Elements Affected"),
event.args["elementCount"]); | 802 contentHelper.appendTextRow(WebInspector.UIString("Elements Affected"),
event.args["elementCount"]); |
| 803 break; | 803 break; |
| 804 case recordTypes.Layout: | 804 case recordTypes.Layout: |
| 805 var beginData = event.args["beginData"]; | 805 var beginData = event.args["beginData"]; |
| 806 contentHelper.appendTextRow(WebInspector.UIString("Nodes That Need Layou
t"), beginData["dirtyObjects"]); | 806 contentHelper.appendTextRow(WebInspector.UIString("Nodes That Need Layou
t"), WebInspector.UIString("%s of %s", beginData["dirtyObjects"], beginData["tot
alObjects"])); |
| 807 relatedNodeLabel = WebInspector.UIString("Layout root"); | 807 relatedNodeLabel = WebInspector.UIString("Layout root"); |
| 808 break; | 808 break; |
| 809 case recordTypes.ConsoleTime: | 809 case recordTypes.ConsoleTime: |
| 810 contentHelper.appendTextRow(WebInspector.UIString("Message"), event.name
); | 810 contentHelper.appendTextRow(WebInspector.UIString("Message"), event.name
); |
| 811 break; | 811 break; |
| 812 case recordTypes.WebSocketCreate: | 812 case recordTypes.WebSocketCreate: |
| 813 case recordTypes.WebSocketSendHandshakeRequest: | 813 case recordTypes.WebSocketSendHandshakeRequest: |
| 814 case recordTypes.WebSocketReceiveHandshakeResponse: | 814 case recordTypes.WebSocketReceiveHandshakeResponse: |
| 815 case recordTypes.WebSocketDestroy: | 815 case recordTypes.WebSocketDestroy: |
| 816 var initiatorData = initiator ? initiator.args["data"] : eventData; | 816 var initiatorData = initiator ? initiator.args["data"] : eventData; |
| (...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2138 case warnings.V8Deopt: | 2138 case warnings.V8Deopt: |
| 2139 span.appendChild(WebInspector.linkifyURLAsNode("https://github.com/Googl
eChrome/devtools-docs/issues/53", | 2139 span.appendChild(WebInspector.linkifyURLAsNode("https://github.com/Googl
eChrome/devtools-docs/issues/53", |
| 2140 WebInspector.UIString("Not optimized"), undefined, true)); | 2140 WebInspector.UIString("Not optimized"), undefined, true)); |
| 2141 span.createTextChild(WebInspector.UIString(": %s", eventData["deoptReaso
n"])); | 2141 span.createTextChild(WebInspector.UIString(": %s", eventData["deoptReaso
n"])); |
| 2142 break; | 2142 break; |
| 2143 default: | 2143 default: |
| 2144 console.assert(false, "Unhandled TimelineModel.WarningType"); | 2144 console.assert(false, "Unhandled TimelineModel.WarningType"); |
| 2145 } | 2145 } |
| 2146 return span; | 2146 return span; |
| 2147 } | 2147 } |
| OLD | NEW |