| Index: chrome/common/chrome_switches.cc
|
| diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
|
| index 6907863d7318a5d93d6cfd5d8d1f456296e26441..c9c9249829c2994a148f1d40f294bcaf7cc9cf2f 100644
|
| --- a/chrome/common/chrome_switches.cc
|
| +++ b/chrome/common/chrome_switches.cc
|
| @@ -302,9 +302,6 @@ const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac";
|
| const char kDisablePasswordManagerReauthentication[] =
|
| "disable-password-manager-reauthentication";
|
|
|
| -// Disable the new material UI - requires out of process PDF plugin.
|
| -const char kDisablePdfMaterialUI[] = "disable-pdf-material-ui";
|
| -
|
| // Disables the Permissions Blacklist, which blocks access to permissions
|
| // for blacklisted sites.
|
| const char kDisablePermissionsBlacklist[] = "disable-permissions-blacklist";
|
| @@ -466,9 +463,6 @@ const char kEnableOfflineAutoReloadVisibleOnly[] =
|
| // Enables panels (always on-top docked pop-up windows).
|
| const char kEnablePanels[] = "enable-panels";
|
|
|
| -// Enable the new material UI - requires out of process PDF plugin.
|
| -const char kEnablePdfMaterialUI[] = "enable-pdf-material-ui";
|
| -
|
| // Enables the Permissions Blacklist, which blocks access to permissions
|
| // for blacklisted sites.
|
| const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist";
|
| @@ -1356,17 +1350,6 @@ bool MdPolicyPageEnabled() {
|
| ::switches::kEnableMaterialDesignPolicyPage);
|
| }
|
|
|
| -bool PdfMaterialUIEnabled() {
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnablePdfMaterialUI))
|
| - return true;
|
| -
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(kDisablePdfMaterialUI))
|
| - return false;
|
| -
|
| - // Default.
|
| - return true;
|
| -}
|
| -
|
| bool SettingsWindowEnabled() {
|
| #if defined(OS_CHROMEOS)
|
| return !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
|
|