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)
9 #include "printing/printing_context_android.h"
12 DEFINE_WEB_CONTENTS_USER_DATA_KEY(printing::PrintViewManagerBasic
);
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
);
24 PrintViewManagerBasic::~PrintViewManagerBasic() {
27 } // namespace printing