| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * Copyright (C) 2011 Google Inc. All rights reserved. | 4 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 { | 115 { |
| 116 this._recordButton = new WebInspector.ToolbarButton("", "record-toolbar-
item"); | 116 this._recordButton = new WebInspector.ToolbarButton("", "record-toolbar-
item"); |
| 117 this._recordButton.addEventListener("click", this._onRecordButtonClicked
, this); | 117 this._recordButton.addEventListener("click", this._onRecordButtonClicked
, this); |
| 118 this._panelToolbar.appendToolbarItem(this._recordButton); | 118 this._panelToolbar.appendToolbarItem(this._recordButton); |
| 119 | 119 |
| 120 this._clearButton = new WebInspector.ToolbarButton(WebInspector.UIString
("Clear"), "clear-toolbar-item"); | 120 this._clearButton = new WebInspector.ToolbarButton(WebInspector.UIString
("Clear"), "clear-toolbar-item"); |
| 121 this._clearButton.addEventListener("click", this._onClearButtonClicked,
this); | 121 this._clearButton.addEventListener("click", this._onClearButtonClicked,
this); |
| 122 this._panelToolbar.appendToolbarItem(this._clearButton); | 122 this._panelToolbar.appendToolbarItem(this._clearButton); |
| 123 | 123 |
| 124 if (Runtime.experiments.isEnabled("filmStripInNetworkAndTimeline")) { | 124 if (Runtime.experiments.isEnabled("filmStripInNetworkAndTimeline")) { |
| 125 var recordFilmStripButton = new WebInspector.ToolbarSettingToggle(th
is._networkRecordFilmStripSetting, "record-filmstrip-toolbar-item", WebInspector
.UIString("Capture screenshots")); | 125 var recordFilmStripButton = new WebInspector.ToolbarSettingToggle(th
is._networkRecordFilmStripSetting, "camera-toolbar-item", WebInspector.UIString(
"Capture screenshots")); |
| 126 this._panelToolbar.appendToolbarItem(recordFilmStripButton); | 126 this._panelToolbar.appendToolbarItem(recordFilmStripButton); |
| 127 } | 127 } |
| 128 | 128 |
| 129 this._panelToolbar.appendToolbarItem(this._filterBar.filterButton()); | 129 this._panelToolbar.appendToolbarItem(this._filterBar.filterButton()); |
| 130 | 130 |
| 131 var viewModeLabel = new WebInspector.ToolbarText(WebInspector.UIString("
View:"), "toolbar-group-label"); | 131 var viewModeLabel = new WebInspector.ToolbarText(WebInspector.UIString("
View:"), "toolbar-group-label"); |
| 132 this._panelToolbar.appendToolbarItem(viewModeLabel); | 132 this._panelToolbar.appendToolbarItem(viewModeLabel); |
| 133 | 133 |
| 134 var largerRequestsButton = new WebInspector.ToolbarSettingToggle(this._n
etworkLogLargeRowsSetting, "large-list-toolbar-item", WebInspector.UIString("Use
large request rows"), WebInspector.UIString("Use small request rows")); | 134 var largerRequestsButton = new WebInspector.ToolbarSettingToggle(this._n
etworkLogLargeRowsSetting, "large-list-toolbar-item", WebInspector.UIString("Use
large request rows"), WebInspector.UIString("Use small request rows")); |
| 135 this._panelToolbar.appendToolbarItem(largerRequestsButton); | 135 this._panelToolbar.appendToolbarItem(largerRequestsButton); |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 { | 698 { |
| 699 if (!this._target) | 699 if (!this._target) |
| 700 return; | 700 return; |
| 701 | 701 |
| 702 this._target.tracingManager.stop(); | 702 this._target.tracingManager.stop(); |
| 703 this._target = null; | 703 this._target = null; |
| 704 this._callback = callback; | 704 this._callback = callback; |
| 705 this._filmStripView.setFetching(); | 705 this._filmStripView.setFetching(); |
| 706 } | 706 } |
| 707 } | 707 } |
| OLD | NEW |