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 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 newScriptFile.checkMapping(); | 1169 newScriptFile.checkMapping(); |
1170 if (newScriptFile.hasSourceMapURL()) { | 1170 if (newScriptFile.hasSourceMapURL()) { |
1171 var sourceMapInfobar = UI.Infobar.create( | 1171 var sourceMapInfobar = UI.Infobar.create( |
1172 UI.Infobar.Type.Info, Common.UIString('Source Map detected.'), | 1172 UI.Infobar.Type.Info, Common.UIString('Source Map detected.'), |
1173 Common.settings.createSetting('sourceMapInfobarDisabled', false)); | 1173 Common.settings.createSetting('sourceMapInfobarDisabled', false)); |
1174 if (sourceMapInfobar) { | 1174 if (sourceMapInfobar) { |
1175 sourceMapInfobar.createDetailsRowMessage(Common.UIString( | 1175 sourceMapInfobar.createDetailsRowMessage(Common.UIString( |
1176 'Associated files should be added to the file tree. You can debug
these resolved source files as regular JavaScript files.')); | 1176 'Associated files should be added to the file tree. You can debug
these resolved source files as regular JavaScript files.')); |
1177 sourceMapInfobar.createDetailsRowMessage(Common.UIString( | 1177 sourceMapInfobar.createDetailsRowMessage(Common.UIString( |
1178 'Associated files are available via file tree or %s.', | 1178 'Associated files are available via file tree or %s.', |
1179 UI.shortcutRegistry.shortcutTitleForAction('sources.go-to-source')
)); | 1179 UI.shortcutRegistry.shortcutTitleForAction('quickOpen.show'))); |
1180 this.attachInfobars([sourceMapInfobar]); | 1180 this.attachInfobars([sourceMapInfobar]); |
1181 } | 1181 } |
1182 } | 1182 } |
1183 } | 1183 } |
1184 } | 1184 } |
1185 | 1185 |
1186 /** | 1186 /** |
1187 * @override | 1187 * @override |
1188 */ | 1188 */ |
1189 onTextEditorContentSet() { | 1189 onTextEditorContentSet() { |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 return; | 1452 return; |
1453 this.bookmark.clear(); | 1453 this.bookmark.clear(); |
1454 this.bookmark = null; | 1454 this.bookmark = null; |
1455 } | 1455 } |
1456 }; | 1456 }; |
1457 | 1457 |
1458 Sources.JavaScriptSourceFrame.BreakpointDecoration.bookmarkSymbol = Symbol('book
mark'); | 1458 Sources.JavaScriptSourceFrame.BreakpointDecoration.bookmarkSymbol = Symbol('book
mark'); |
1459 Sources.JavaScriptSourceFrame.BreakpointDecoration._elementSymbolForTest = Symbo
l('element'); | 1459 Sources.JavaScriptSourceFrame.BreakpointDecoration._elementSymbolForTest = Symbo
l('element'); |
1460 | 1460 |
1461 Sources.JavaScriptSourceFrame.continueToLocationDecorationSymbol = Symbol('bookm
ark'); | 1461 Sources.JavaScriptSourceFrame.continueToLocationDecorationSymbol = Symbol('bookm
ark'); |
OLD | NEW |