OLD | NEW |
1 | 1 |
2 // Copyright 2014 The Chromium Authors. All rights reserved. | 2 // Copyright 2014 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 /** | 6 /** |
7 * @constructor | 7 * @constructor |
8 * @param {!WebInspector.SourcesPanel} sourcesPanel | 8 * @param {!WebInspector.SourcesPanel} sourcesPanel |
9 * @param {!WebInspector.Workspace} workspace | 9 * @param {!WebInspector.Workspace} workspace |
10 */ | 10 */ |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 var uiSourceCodeFrame = this._sourcesView.viewForFile(uiSourceCode); | 144 var uiSourceCodeFrame = this._sourcesView.viewForFile(uiSourceCode); |
145 | 145 |
146 infobar.createDetailsRowMessage("").createChild("br"); | 146 infobar.createDetailsRowMessage("").createChild("br"); |
147 var rowElement = infobar.createDetailsRowMessage(WebInspector.UIString("
For more information on workspaces, refer to the ")); | 147 var rowElement = infobar.createDetailsRowMessage(WebInspector.UIString("
For more information on workspaces, refer to the ")); |
148 var a = rowElement.createChild("a"); | 148 var a = rowElement.createChild("a"); |
149 a.textContent = "workspaces documentation"; | 149 a.textContent = "workspaces documentation"; |
150 a.href = "https://developer.chrome.com/devtools/docs/workspaces"; | 150 a.href = "https://developer.chrome.com/devtools/docs/workspaces"; |
151 rowElement.createTextChild("."); | 151 rowElement.createTextChild("."); |
152 uiSourceCode[WebInspector.WorkspaceMappingTip._infobarSymbol] = infobar; | 152 uiSourceCode[WebInspector.WorkspaceMappingTip._infobarSymbol] = infobar; |
153 uiSourceCodeFrame.attachInfobars([infobar]); | 153 uiSourceCodeFrame.attachInfobars([infobar]); |
| 154 WebInspector.runCSSAnimationOnce(infobar.element, "source-frame-infobar-
animation"); |
154 } | 155 } |
155 } | 156 } |
OLD | NEW |