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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js

Issue 1907263002: DevTools: Fix all outstanding JavaScript style issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove yoda disable. fix throw parens Created 4 years, 8 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
OLDNEW
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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 jumpToPreviousSearchResult: function() 441 jumpToPreviousSearchResult: function()
442 { 442 {
443 var currentIndex = this._searchResultIndexForCurrentSelection(); 443 var currentIndex = this._searchResultIndexForCurrentSelection();
444 this.jumpToSearchResult(currentIndex - 1); 444 this.jumpToSearchResult(currentIndex - 1);
445 }, 445 },
446 446
447 /** 447 /**
448 * @override 448 * @override
449 * @return {boolean} 449 * @return {boolean}
450 */ 450 */
451 supportsCaseSensitiveSearch: function () 451 supportsCaseSensitiveSearch: function()
452 { 452 {
453 return true; 453 return true;
454 }, 454 },
455 455
456 /** 456 /**
457 * @override 457 * @override
458 * @return {boolean} 458 * @return {boolean}
459 */ 459 */
460 supportsRegexSearch: function() 460 supportsRegexSearch: function()
461 { 461 {
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 /** 719 /**
720 * @override 720 * @override
721 * @param {?WebInspector.TextRange} from 721 * @param {?WebInspector.TextRange} from
722 * @param {?WebInspector.TextRange} to 722 * @param {?WebInspector.TextRange} to
723 */ 723 */
724 onJumpToPosition: function(from, to) 724 onJumpToPosition: function(from, to)
725 { 725 {
726 this._sourceFrame.onJumpToPosition(from, to); 726 this._sourceFrame.onJumpToPosition(from, to);
727 } 727 }
728 } 728 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698