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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js

Issue 2716683003: DO NOT COMMIT DevTools: reintroduce fullViewportUpdate (Closed)
Patch Set: hopefully clearer api Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/console/ConsoleViewport.js » ('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 (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 this._hiddenByFilterCount = 0; 706 this._hiddenByFilterCount = 0;
707 for (var i = 0; i < this._visibleViewMessages.length; ++i) { 707 for (var i = 0; i < this._visibleViewMessages.length; ++i) {
708 this._visibleViewMessages[i].resetCloseGroupDecorationCount(); 708 this._visibleViewMessages[i].resetCloseGroupDecorationCount();
709 this._visibleViewMessages[i].resetIncrementRepeatCount(); 709 this._visibleViewMessages[i].resetIncrementRepeatCount();
710 } 710 }
711 this._visibleViewMessages = []; 711 this._visibleViewMessages = [];
712 for (var i = 0; i < this._consoleMessages.length; ++i) 712 for (var i = 0; i < this._consoleMessages.length; ++i)
713 this._appendMessageToEnd(this._consoleMessages[i]); 713 this._appendMessageToEnd(this._consoleMessages[i]);
714 this._updateFilterStatus(); 714 this._updateFilterStatus();
715 this._searchableView.updateSearchMatchesCount(this._regexMatchRanges.length) ; 715 this._searchableView.updateSearchMatchesCount(this._regexMatchRanges.length) ;
716 this._viewport.invalidate(); 716 this._viewport.fullViewportInvalidate();
717 } 717 }
718 718
719 /** 719 /**
720 * @param {!Common.Event} event 720 * @param {!Common.Event} event
721 */ 721 */
722 _monitoringXHREnabledSettingChanged(event) { 722 _monitoringXHREnabledSettingChanged(event) {
723 var enabled = /** @type {boolean} */ (event.data); 723 var enabled = /** @type {boolean} */ (event.data);
724 SDK.targetManager.targets().forEach(function(target) { 724 SDK.targetManager.targets().forEach(function(target) {
725 target.networkAgent().setMonitoringXHREnabled(enabled); 725 target.networkAgent().setMonitoringXHREnabled(enabled);
726 }); 726 });
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 return true; 1329 return true;
1330 } 1330 }
1331 return false; 1331 return false;
1332 } 1332 }
1333 }; 1333 };
1334 1334
1335 /** 1335 /**
1336 * @typedef {{messageIndex: number, matchIndex: number}} 1336 * @typedef {{messageIndex: number, matchIndex: number}}
1337 */ 1337 */
1338 Console.ConsoleView.RegexMatchRange; 1338 Console.ConsoleView.RegexMatchRange;
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/console/ConsoleViewport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698