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

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

Issue 2297443002: DevTools: show extension name in console execution context selector. (Closed)
Patch Set: Created 4 years, 3 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) 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 this._urlToMessageCount = {}; 52 this._urlToMessageCount = {};
53 this._hiddenByFilterCount = 0; 53 this._hiddenByFilterCount = 0;
54 54
55 /** 55 /**
56 * @type {!Array.<!WebInspector.ConsoleView.RegexMatchRange>} 56 * @type {!Array.<!WebInspector.ConsoleView.RegexMatchRange>}
57 */ 57 */
58 this._regexMatchRanges = []; 58 this._regexMatchRanges = [];
59 59
60 this._executionContextComboBox = new WebInspector.ToolbarComboBox(null, "con sole-context"); 60 this._executionContextComboBox = new WebInspector.ToolbarComboBox(null, "con sole-context");
61 this._executionContextComboBox.setMaxWidth(200); 61 this._executionContextComboBox.setMaxWidth(200);
62 this._executionContextModel = new WebInspector.ConsoleContextSelector(this._ executionContextComboBox.selectElement()); 62 this._consoleContextSelector = new WebInspector.ConsoleContextSelector(this. _executionContextComboBox.selectElement());
63 63
64 this._filter = new WebInspector.ConsoleViewFilter(this); 64 this._filter = new WebInspector.ConsoleViewFilter(this);
65 this._filter.addEventListener(WebInspector.ConsoleViewFilter.Events.FilterCh anged, this._updateMessageList.bind(this)); 65 this._filter.addEventListener(WebInspector.ConsoleViewFilter.Events.FilterCh anged, this._updateMessageList.bind(this));
66 66
67 this._filterBar = new WebInspector.FilterBar("consoleView"); 67 this._filterBar = new WebInspector.FilterBar("consoleView");
68 68
69 this._preserveLogCheckbox = new WebInspector.ToolbarCheckbox(WebInspector.UI String("Preserve log"), WebInspector.UIString("Do not clear log on page reload / navigation"), WebInspector.moduleSetting("preserveConsoleLog")); 69 this._preserveLogCheckbox = new WebInspector.ToolbarCheckbox(WebInspector.UI String("Preserve log"), WebInspector.UIString("Do not clear log on page reload / navigation"), WebInspector.moduleSetting("preserveConsoleLog"));
70 this._progressToolbarItem = new WebInspector.ToolbarItem(createElement("div" )); 70 this._progressToolbarItem = new WebInspector.ToolbarItem(createElement("div" ));
71 71
72 var toolbar = new WebInspector.Toolbar("", this._contentsElement); 72 var toolbar = new WebInspector.Toolbar("", this._contentsElement);
(...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 return true; 1416 return true;
1417 } 1417 }
1418 return false; 1418 return false;
1419 } 1419 }
1420 } 1420 }
1421 1421
1422 /** 1422 /**
1423 * @typedef {{messageIndex: number, matchIndex: number}} 1423 * @typedef {{messageIndex: number, matchIndex: number}}
1424 */ 1424 */
1425 WebInspector.ConsoleView.RegexMatchRange; 1425 WebInspector.ConsoleView.RegexMatchRange;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698