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

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

Issue 2662403002: [DevTools] Merge filter bar with the main toolbar (Closed)
Patch Set: [DevTools] Merge filter bar with the main toolbar 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/resources/StorageItemsView.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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 1045
1046 this._messageURLFiltersSetting = Common.settings.createSetting('messageURLFi lters', {}); 1046 this._messageURLFiltersSetting = Common.settings.createSetting('messageURLFi lters', {});
1047 this._messageLevelFiltersSetting = 1047 this._messageLevelFiltersSetting =
1048 Common.settings.createSetting('messageLevelFilters2', SDK.ConsoleMessage .MessageLevel.Info); 1048 Common.settings.createSetting('messageLevelFilters2', SDK.ConsoleMessage .MessageLevel.Info);
1049 this._hideNetworkMessagesSetting = Common.moduleSetting('hideNetworkMessages '); 1049 this._hideNetworkMessagesSetting = Common.moduleSetting('hideNetworkMessages ');
1050 1050
1051 this._messageURLFiltersSetting.addChangeListener(this._filterChanged); 1051 this._messageURLFiltersSetting.addChangeListener(this._filterChanged);
1052 this._messageLevelFiltersSetting.addChangeListener(this._filterChanged); 1052 this._messageLevelFiltersSetting.addChangeListener(this._filterChanged);
1053 this._hideNetworkMessagesSetting.addChangeListener(this._filterChanged); 1053 this._hideNetworkMessagesSetting.addChangeListener(this._filterChanged);
1054 1054
1055 this._textFilterUI = new UI.ToolbarInput(Common.UIString('Filter'), 0.2, 1); 1055 this._textFilterUI = new UI.ToolbarInput(Common.UIString('Filter'), 0.2, 1, true);
1056 this._textFilterUI.addEventListener(UI.ToolbarInput.Event.TextChanged, this. _textFilterChanged, this); 1056 this._textFilterUI.addEventListener(UI.ToolbarInput.Event.TextChanged, this. _textFilterChanged, this);
1057 1057
1058 var levels = [ 1058 var levels = [
1059 {value: SDK.ConsoleMessage.MessageLevel.Verbose, label: Common.UIString('V erbose')}, 1059 {value: SDK.ConsoleMessage.MessageLevel.Verbose, label: Common.UIString('V erbose')},
1060 {value: SDK.ConsoleMessage.MessageLevel.Info, label: Common.UIString('Info '), default: true}, 1060 {value: SDK.ConsoleMessage.MessageLevel.Info, label: Common.UIString('Info '), default: true},
1061 {value: SDK.ConsoleMessage.MessageLevel.Warning, label: Common.UIString('W arnings')}, 1061 {value: SDK.ConsoleMessage.MessageLevel.Warning, label: Common.UIString('W arnings')},
1062 {value: SDK.ConsoleMessage.MessageLevel.Error, label: Common.UIString('Err ors')} 1062 {value: SDK.ConsoleMessage.MessageLevel.Error, label: Common.UIString('Err ors')}
1063 ]; 1063 ];
1064 1064
1065 this._levelComboBox = 1065 this._levelComboBox =
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1315 return true; 1315 return true;
1316 } 1316 }
1317 return false; 1317 return false;
1318 } 1318 }
1319 }; 1319 };
1320 1320
1321 /** 1321 /**
1322 * @typedef {{messageIndex: number, matchIndex: number}} 1322 * @typedef {{messageIndex: number, matchIndex: number}}
1323 */ 1323 */
1324 Console.ConsoleView.RegexMatchRange; 1324 Console.ConsoleView.RegexMatchRange;
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/resources/StorageItemsView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698