Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: Source/devtools/front_end/sources/WorkspaceMappingTip.js

Issue 625893002: DevTools: Run workspace mapping tip infobar animation only once (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/sourcesView.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/sourcesView.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698