Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2492)

Unified Diff: chrome/browser/printing/print_view_manager_basic.h

Issue 22577010: Printing: Add a basic printing mode without print preview and cloud print. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/printing/print_view_manager_basic.h
diff --git a/chrome/browser/printing/print_view_manager_basic.h b/chrome/browser/printing/print_view_manager_basic.h
new file mode 100644
index 0000000000000000000000000000000000000000..be1bc66bc07fc8a28dbbb249af90aeb0187feda3
--- /dev/null
+++ b/chrome/browser/printing/print_view_manager_basic.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_
+#define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_
+
+#include "chrome/browser/printing/print_view_manager_base.h"
+#include "content/public/browser/web_contents_user_data.h"
+
+namespace printing {
+
+// Manages the print commands for a WebContents - basic version.
+class PrintViewManagerBasic
+ : public PrintViewManagerBase,
+ public content::WebContentsUserData<PrintViewManagerBasic> {
+ public:
+ virtual ~PrintViewManagerBasic();
+
+ private:
+ explicit PrintViewManagerBasic(content::WebContents* web_contents);
+ friend class content::WebContentsUserData<PrintViewManagerBasic>;
+
+ DISALLOW_COPY_AND_ASSIGN(PrintViewManagerBasic);
+};
+
+} // namespace printing
+
+#endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_
« no previous file with comments | « chrome/browser/printing/print_view_manager_base.cc ('k') | chrome/browser/printing/print_view_manager_basic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698