OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Event
s.Load, this._loadEventFired, this); | 102 WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Event
s.Load, this._loadEventFired, this); |
103 | 103 |
104 // Create top level properties splitter. | 104 // Create top level properties splitter. |
105 this._detailsSplitView = new WebInspector.SplitView(false, true, "timelinePa
nelDetailsSplitViewState"); | 105 this._detailsSplitView = new WebInspector.SplitView(false, true, "timelinePa
nelDetailsSplitViewState"); |
106 this._detailsSplitView.element.classList.add("timeline-details-split"); | 106 this._detailsSplitView.element.classList.add("timeline-details-split"); |
107 this._detailsSplitView.sidebarElement().classList.add("timeline-details"); | 107 this._detailsSplitView.sidebarElement().classList.add("timeline-details"); |
108 this._detailsView = new WebInspector.TimelineDetailsView(); | 108 this._detailsView = new WebInspector.TimelineDetailsView(); |
109 this._detailsSplitView.installResizer(this._detailsView.headerElement()); | 109 this._detailsSplitView.installResizer(this._detailsView.headerElement()); |
110 this._detailsView.show(this._detailsSplitView.sidebarElement()); | 110 this._detailsView.show(this._detailsSplitView.sidebarElement()); |
111 | 111 |
112 this._searchableView = new WebInspector.SearchableView(this); | 112 this._searchableView = new WebInspector.SearchableView(this, false); |
113 this._searchableView.setMinimumSize(0, 25); | 113 this._searchableView.setMinimumSize(0, 25); |
114 this._searchableView.element.classList.add("searchable-view"); | 114 this._searchableView.element.classList.add("searchable-view"); |
115 this._searchableView.show(this._detailsSplitView.mainElement()); | 115 this._searchableView.show(this._detailsSplitView.mainElement()); |
116 | 116 |
117 this._stackView = new WebInspector.StackView(false); | 117 this._stackView = new WebInspector.StackView(false); |
118 this._stackView.show(this._searchableView.element); | 118 this._stackView.show(this._searchableView.element); |
119 this._stackView.element.classList.add("timeline-view-stack"); | 119 this._stackView.element.classList.add("timeline-view-stack"); |
120 | 120 |
121 WebInspector.dockController.addEventListener(WebInspector.DockController.Eve
nts.DockSideChanged, this._dockSideChanged.bind(this)); | 121 WebInspector.dockController.addEventListener(WebInspector.DockController.Eve
nts.DockSideChanged, this._dockSideChanged.bind(this)); |
122 WebInspector.settings.splitVerticallyWhenDockedToRight.addChangeListener(thi
s._dockSideChanged.bind(this)); | 122 WebInspector.settings.splitVerticallyWhenDockedToRight.addChangeListener(thi
s._dockSideChanged.bind(this)); |
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1456 | 1456 |
1457 WebInspector.TimelinePanelFactory.prototype = { | 1457 WebInspector.TimelinePanelFactory.prototype = { |
1458 /** | 1458 /** |
1459 * @return {!WebInspector.Panel} | 1459 * @return {!WebInspector.Panel} |
1460 */ | 1460 */ |
1461 createPanel: function() | 1461 createPanel: function() |
1462 { | 1462 { |
1463 return WebInspector.TimelinePanel._instance(); | 1463 return WebInspector.TimelinePanel._instance(); |
1464 } | 1464 } |
1465 } | 1465 } |
OLD | NEW |