| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mojom; | 5 module mojom; |
| 6 | 6 |
| 7 struct MimeType { | 7 struct MimeType { |
| 8 string description; | 8 string description; |
| 9 array<string> file_extensions; | 9 array<string> file_extensions; |
| 10 string mime_type; | 10 string mime_type; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 string update_url; | 32 string update_url; |
| 33 string version; | 33 string version; |
| 34 array<PluginFile> plugin_files; | 34 array<PluginFile> plugin_files; |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 interface PluginsPageHandler { | 37 interface PluginsPageHandler { |
| 38 GetPluginsData() => (array<PluginData> plugins); | 38 GetPluginsData() => (array<PluginData> plugins); |
| 39 GetShowDetails() => (bool show_details); | 39 GetShowDetails() => (bool show_details); |
| 40 SaveShowDetailsToPrefs(bool details_mode); | 40 SaveShowDetailsToPrefs(bool details_mode); |
| 41 SetPluginAlwaysAllowed(string plugin, bool allowed); | 41 SetPluginAlwaysAllowed(string plugin, bool allowed); |
| 42 SetPluginEnabled(string plugin_path, bool enable); | |
| 43 SetPluginGroupEnabled(string group_name, bool enable); | |
| 44 SetClientPage(PluginsPage page); | 42 SetClientPage(PluginsPage page); |
| 45 }; | 43 }; |
| 46 | 44 |
| 47 interface PluginsPage { | 45 interface PluginsPage { |
| 48 OnPluginsUpdated(array<PluginData> plugins); | 46 OnPluginsUpdated(array<PluginData> plugins); |
| 49 }; | 47 }; |
| OLD | NEW |