Skip to content

Commit

Permalink
Plugins: Remove chrome://plugins
Browse files Browse the repository at this point in the history
BUG=615738
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2630443002
Cr-Commit-Position: refs/heads/master@{#443264}
  • Loading branch information
tommycli authored and Commit bot committed Jan 12, 2017
1 parent 5159f10 commit c66a327
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 1,655 deletions.
66 changes: 1 addition & 65 deletions chrome/app/generated_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -3920,7 +3920,7 @@ Data associated with this app will be removed from this device.
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_CLIPBOARD_WRITE" desc="Permission string for acess to clipboard for write permission.">
Modify data you copy and paste
</message>
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_DEBUGGER" desc="Permission string for access to debugger.">
Access the page debugger backend
</message>
Expand Down Expand Up @@ -5282,74 +5282,10 @@ Keep your key file in a safe place. You will need it to create new versions of y
Component downloading
</message>

<!-- Plugins -->
<if expr="enable_plugins">
<message name="IDS_PLUGINS_TITLE" desc="Title for the chrome://plugins page.">
Plugins
</message>
<message name="IDS_PLUGINS_DETAILS_MODE_LINK" desc="Text of the link for details mode.">
Details
</message>
<message name="IDS_PLUGINS_NONE_INSTALLED" desc="Text that lets the user know that no plugins are installed.">
No plugins installed.
</message>
<message name="IDS_PLUGINS_DISABLED_PLUGIN" desc="Text that signifies that the plugin is currently disabled.">
(Disabled)
</message>
<message name="IDS_PLUGINS_DISABLED_BY_POLICY_PLUGIN" desc="Text that signifies that the plugin is currently disabled by enterprise policy.">
(Disabled by enterprise policy)
</message>
<message name="IDS_PLUGINS_ENABLED_BY_POLICY_PLUGIN" desc="Text that signifies that the plugin is currently enabled by enterprise policy.">
(Enabled by enterprise policy)
</message>
<message name="IDS_PLUGINS_GROUP_MANAGED_BY_POLICY" desc="Text that signifies that the plugin group is currently managed by enterprise policy.">
(Managed by enterprise policy)
</message>
<message name="IDS_PLUGINS_VERSION" desc="The label in front of a plugin version number.">
Version:
</message>
<message name="IDS_PLUGINS_DESCRIPTION" desc="The label in front of a plugin description.">
Description:
</message>
<message name="IDS_PLUGINS_PATH" desc="The label in front of a plugin path (file/location on disk).">
Location:
</message>
<message name="IDS_PLUGINS_TYPE" desc="The label in front of a plugin type (NPAPI, PPAPI, etc.).">
Type:
</message>
<message name="IDS_PLUGINS_MIME_TYPES" desc="The label in front of a plugin's MIME types table.">
MIME types:
</message>
<message name="IDS_PLUGINS_MIME_TYPES_MIME_TYPE" desc="The label over the MIME type column in a plugin's MIME types table.">
MIME type
</message>
<message name="IDS_PLUGINS_MIME_TYPES_DESCRIPTION" desc="The label over the description column in a plugin's MIME types table.">
Description
</message>
<message name="IDS_PLUGINS_MIME_TYPES_FILE_EXTENSIONS" desc="The label over the file extensions column in a plugin's MIME types table.">
File extensions
</message>
<message name="IDS_PLUGINS_ALWAYS_ALLOWED" desc="The checkbox label for whitelisting a plugin for content settings.">
Always allowed to run
</message>
<message name="IDS_PLUGINS_DOWNLOAD" desc="The link label to download the latest version of this plugin">
Download Critical Security Update
</message>
<message name="IDS_PLUGINS_NAME" desc="The label for the name of this plugin">
Name:
</message>
<message name="IDS_PLUGINS_NO_PLUGINS" desc="Text that indicates that no plugins are installed">
No plugins are installed
</message>
<message name="IDS_PLUGINS_PPAPI_IN_PROCESS" desc="Text that indicates the plugin is an in-process PPAPI plugin.">
PPAPI (in-process)
</message>
<message name="IDS_PLUGINS_PPAPI_OUT_OF_PROCESS" desc="Text that indicates the plugin is an out-of-process PPAPI plugin.">
PPAPI (out-of-process)
</message>
<message name="IDS_PLUGINS_BROWSER_PLUGIN" desc="Text that indicates the plugin is a browser plugin.">
BROWSER PLUGIN
</message>
</if>

<message name="IDS_FLAGS_NACL_NAME" desc="Name of the 'Native Client' lab.">
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -4127,7 +4127,6 @@ grit("resources") {
"//chrome/app:chrome_content_browser_manifest_overlay",
"//chrome/browser/ui/webui/engagement:mojo_bindings__generator",
"//chrome/browser/ui/webui/omnibox:mojo_bindings__generator",
"//chrome/browser/ui/webui/plugins:mojo_bindings__generator",
"//chrome/browser/ui/webui/usb_internals:mojo_bindings__generator",
"//device/bluetooth/public/interfaces:experimental_interfaces__generator",
"//url/mojo:url_mojom_gurl__generator",
Expand Down
5 changes: 0 additions & 5 deletions chrome/browser/browser_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,6 @@
<include name="IDR_OMNIBOX_JS" file="resources\omnibox\omnibox.js" type="BINDATA" />
<include name="IDR_OMNIBOX_MOJO_JS" file="${root_gen_dir}\chrome\browser\ui\webui\omnibox\omnibox.mojom.js" use_base_dir="false" type="BINDATA"/>
<include name="IDR_ORIGIN_MOJO_JS" file="${root_gen_dir}\url\mojo\origin.mojom.js" use_base_dir="false" type="BINDATA" compress="gzip"/>
<if expr="enable_plugins">
<include name="IDR_PLUGINS_HTML" file="resources\plugins.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
<include name="IDR_PLUGINS_JS" file="resources\plugins.js" type="BINDATA" />
<include name="IDR_PLUGINS_MOJO_JS" file="${root_gen_dir}\chrome\browser\ui\webui\plugins\plugins.mojom.js" use_base_dir="false" type="BINDATA"/>
</if>
<include name="IDR_COMPONENTS_HTML" file="resources\components.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
<include name="IDR_COMPONENTS_JS" file="resources\components.js" type="BINDATA" />
<if expr="enable_plugins">
Expand Down
5 changes: 0 additions & 5 deletions chrome/browser/prefs/browser_prefs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
#include "chrome/browser/ui/webui/flags_ui.h"
#include "chrome/browser/ui/webui/instant_ui.h"
#include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
#include "chrome/browser/ui/webui/plugins/plugins_ui.h"
#include "chrome/browser/ui/webui/print_preview/sticky_settings.h"
#include "chrome/common/features.h"
#include "chrome/common/pref_names.h"
Expand Down Expand Up @@ -543,10 +542,6 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
ExtensionWelcomeNotification::RegisterProfilePrefs(registry);
#endif

#if BUILDFLAG(ENABLE_PLUGINS)
PluginsUI::RegisterProfilePrefs(registry);
#endif

#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
printing::StickySettings::RegisterProfilePrefs(registry);
#endif
Expand Down
234 changes: 0 additions & 234 deletions chrome/browser/resources/plugins.css

This file was deleted.

Loading

0 comments on commit c66a327

Please sign in to comment.