| Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
| diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
| index 10afc73b3d19ab2747a01c6892bf8a98434592c7..57ec8ea693436d39ef5014610dfc42571edb66d8 100644
|
| --- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
| +++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
| @@ -167,9 +167,6 @@ const char kPrintAutomaticallyInKioskMode[] = "printAutomaticallyInKioskMode";
|
| const char kAppKioskMode[] = "appKioskMode";
|
| // Dictionary field to store Cloud Print base URL.
|
| const char kCloudPrintUrl[] = "cloudPrintUrl";
|
| -#if defined(OS_WIN)
|
| -const char kHidePrintWithSystemDialogLink[] = "hidePrintWithSystemDialogLink";
|
| -#endif
|
| // Name of a dictionary field holding the state of selection for document.
|
| const char kDocumentHasSelection[] = "documentHasSelection";
|
| // Dictionary field holding the default destination selection rules.
|
| @@ -1293,13 +1290,6 @@ void PrintPreviewHandler::SendInitialSettings(
|
| cmdline->HasSwitch(switches::kKioskModePrinting));
|
| initial_settings.SetBoolean(kAppKioskMode,
|
| chrome::IsRunningInForcedAppMode());
|
| -#if defined(OS_WIN)
|
| - // In Win8 metro, the system print dialog can only open on the desktop. Doing
|
| - // so will cause the browser to appear hung, so we don't show the link in
|
| - // metro.
|
| - bool is_ash = (chrome::GetActiveDesktop() == chrome::HOST_DESKTOP_TYPE_ASH);
|
| - initial_settings.SetBoolean(kHidePrintWithSystemDialogLink, is_ash);
|
| -#endif
|
| if (prefs) {
|
| const std::string rules_str =
|
| prefs->GetString(prefs::kPrintPreviewDefaultDestinationSelectionRules);
|
|
|