| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1162 newScriptFile.checkMapping(); | 1162 newScriptFile.checkMapping(); |
| 1163 if (newScriptFile.hasSourceMapURL()) { | 1163 if (newScriptFile.hasSourceMapURL()) { |
| 1164 var sourceMapInfobar = UI.Infobar.create( | 1164 var sourceMapInfobar = UI.Infobar.create( |
| 1165 UI.Infobar.Type.Info, Common.UIString('Source Map detected.'), | 1165 UI.Infobar.Type.Info, Common.UIString('Source Map detected.'), |
| 1166 Common.settings.createSetting('sourceMapInfobarDisabled', false)); | 1166 Common.settings.createSetting('sourceMapInfobarDisabled', false)); |
| 1167 if (sourceMapInfobar) { | 1167 if (sourceMapInfobar) { |
| 1168 sourceMapInfobar.createDetailsRowMessage(Common.UIString( | 1168 sourceMapInfobar.createDetailsRowMessage(Common.UIString( |
| 1169 'Associated files should be added to the file tree. You can debug
these resolved source files as regular JavaScript files.')); | 1169 'Associated files should be added to the file tree. You can debug
these resolved source files as regular JavaScript files.')); |
| 1170 sourceMapInfobar.createDetailsRowMessage(Common.UIString( | 1170 sourceMapInfobar.createDetailsRowMessage(Common.UIString( |
| 1171 'Associated files are available via file tree or %s.', | 1171 'Associated files are available via file tree or %s.', |
| 1172 UI.shortcutRegistry.shortcutTitleForAction('sources.go-to-source')
)); | 1172 UI.shortcutRegistry.shortcutTitleForAction('quickOpen.show'))); |
| 1173 this.attachInfobars([sourceMapInfobar]); | 1173 this.attachInfobars([sourceMapInfobar]); |
| 1174 } | 1174 } |
| 1175 } | 1175 } |
| 1176 } | 1176 } |
| 1177 } | 1177 } |
| 1178 | 1178 |
| 1179 /** | 1179 /** |
| 1180 * @override | 1180 * @override |
| 1181 */ | 1181 */ |
| 1182 onTextEditorContentSet() { | 1182 onTextEditorContentSet() { |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 return; | 1445 return; |
| 1446 this.bookmark.clear(); | 1446 this.bookmark.clear(); |
| 1447 this.bookmark = null; | 1447 this.bookmark = null; |
| 1448 } | 1448 } |
| 1449 }; | 1449 }; |
| 1450 | 1450 |
| 1451 Sources.JavaScriptSourceFrame.BreakpointDecoration.bookmarkSymbol = Symbol('book
mark'); | 1451 Sources.JavaScriptSourceFrame.BreakpointDecoration.bookmarkSymbol = Symbol('book
mark'); |
| 1452 Sources.JavaScriptSourceFrame.BreakpointDecoration._elementSymbolForTest = Symbo
l('element'); | 1452 Sources.JavaScriptSourceFrame.BreakpointDecoration._elementSymbolForTest = Symbo
l('element'); |
| 1453 | 1453 |
| 1454 Sources.JavaScriptSourceFrame.continueToLocationDecorationSymbol = Symbol('bookm
ark'); | 1454 Sources.JavaScriptSourceFrame.continueToLocationDecorationSymbol = Symbol('bookm
ark'); |
| OLD | NEW |