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

Side by Side Diff: Source/devtools/front_end/extensions/ExtensionPanel.js

Issue 632573002: Adding regex support to search bar in dev tools console (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 6 years, 2 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 24 matching lines...) Expand all
35 * @param {string} id 35 * @param {string} id
36 * @param {string} pageURL 36 * @param {string} pageURL
37 */ 37 */
38 WebInspector.ExtensionPanel = function(id, pageURL) 38 WebInspector.ExtensionPanel = function(id, pageURL)
39 { 39 {
40 WebInspector.Panel.call(this, id); 40 WebInspector.Panel.call(this, id);
41 this.setHideOnDetach(); 41 this.setHideOnDetach();
42 this.element.classList.add("extension-panel"); 42 this.element.classList.add("extension-panel");
43 this._panelStatusBarElement = this.element.createChild("div", "panel-status- bar hidden"); 43 this._panelStatusBarElement = this.element.createChild("div", "panel-status- bar hidden");
44 44
45 this._searchableView = new WebInspector.SearchableView(this); 45 this._searchableView = new WebInspector.SearchableView(this, false);
46 this._searchableView.show(this.element); 46 this._searchableView.show(this.element);
47 47
48 var extensionView = new WebInspector.ExtensionView(id, pageURL, "extension p anel"); 48 var extensionView = new WebInspector.ExtensionView(id, pageURL, "extension p anel");
49 extensionView.show(this._searchableView.element); 49 extensionView.show(this._searchableView.element);
50 this.setDefaultFocusedElement(extensionView.defaultFocusedElement()); 50 this.setDefaultFocusedElement(extensionView.defaultFocusedElement());
51 } 51 }
52 52
53 WebInspector.ExtensionPanel.prototype = { 53 WebInspector.ExtensionPanel.prototype = {
54 /** 54 /**
55 * @return {!Element} 55 * @return {!Element}
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 if (!title) 252 if (!title)
253 section.headerElement.classList.add("hidden"); 253 section.headerElement.classList.add("hidden");
254 section.expanded = true; 254 section.expanded = true;
255 section.editable = false; 255 section.editable = false;
256 this._objectPropertiesView.element.appendChild(section.element); 256 this._objectPropertiesView.element.appendChild(section.element);
257 callback(); 257 callback();
258 }, 258 },
259 259
260 __proto__: WebInspector.SidebarPane.prototype 260 __proto__: WebInspector.SidebarPane.prototype
261 } 261 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698