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

Side by Side Diff: chrome/browser/ui/webui/plugins/plugins.mojom

Issue 2530563002: Remove the enable/disable links for the about:plugins page. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « chrome/browser/resources/plugins.js ('k') | chrome/browser/ui/webui/plugins/plugins_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/plugins.js ('k') | chrome/browser/ui/webui/plugins/plugins_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698