• Devlin Cronin's avatar
    [Extensions Click-to-Script] Pull out runtime host permissions element · 37d98c47
    Devlin Cronin authored
    Create a custom element for the runtime host permissions controls in
    the chrome://extensions page, rather than having them defined in the
    DetailView element. This will make it easier to test and expand the
    controls.
    
    Pull the controls into runtime_host_permissions.[js|html], and extract
    the tests from extension_detail_view_test.js to
    extension_runtime_host_permisisons_test.js. Also add an additional test
    to verify the runtime host permissions dialog is shown when the 'add'
    button is clicked.
    
    There should be no visible UI changes as a result of this CL.
    
    Bug: 844128
    Change-Id: I741adc921af95253087dbf31be1800c01fb4185c
    Reviewed-on: https://chromium-review.googlesource.com/1146999Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
    Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577367}
    37d98c47
detail_view.html 15.1 KB