No dual_mode on Win10+ shortcuts.
[chromium-blink-merge.git] / chrome / browser / printing / print_view_manager_basic.cc
blob2532486049695513afe0ec17dd941f7fc32fa2ea
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/printing/print_view_manager_basic.h"
7 #if defined(OS_ANDROID)
8 #include "base/bind.h"
9 #include "printing/printing_context_android.h"
10 #endif
12 DEFINE_WEB_CONTENTS_USER_DATA_KEY(printing::PrintViewManagerBasic);
14 namespace printing {
16 PrintViewManagerBasic::PrintViewManagerBasic(content::WebContents* web_contents)
17 : PrintViewManagerBase(web_contents) {
18 #if defined(OS_ANDROID)
19 pdf_writing_done_callback_ =
20 base::Bind(&PrintingContextAndroid::PdfWritingDone);
21 #endif
24 PrintViewManagerBasic::~PrintViewManagerBasic() {
27 } // namespace printing