The FilteredItemSelectorDialog (bound to eg control + o to open files) is a nice, general purpose list selection widget. By exposing it to WebInspector extensions, the extensions can be more effective, feel more integrated with the WebInspector, and users can adapt to extensions more quickly. Such an extension could have many uses, eg "find a CSS selector", "find a JS identifier", "find localized strings", "find test cases on my special test server", etc.
Created attachment 162620 [details] Patch
Please give feedback on the concept and API first. I guess this will need to be behind some experimental flag.
Comment on attachment 162620 [details] Patch Attachment 162620 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13778738 New failing tests: inspector/extensions/extensions-panel.html
Created attachment 163388 [details] rebase and fix formatting
Comment on attachment 163388 [details] rebase and fix formatting Attachment 163388 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13825524 New failing tests: inspector/extensions/extensions-panel.html
Do we have use cases for this API? Did any of the extensions try to create such a UI on their panel? I wouldn't want to expose provisional extensions APIs.
Comment on attachment 163388 [details] rebase and fix formatting Clearing r? while we are figuring out whether this is needed.
I'm using it in my extension, to load files into an editor in conjunction with Resource get/setContent.