| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_ |
| 6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "chrome/browser/printing/print_view_manager_base.h" | 9 #include "chrome/browser/printing/print_view_manager_base.h" |
| 9 #include "content/public/browser/web_contents_user_data.h" | 10 #include "content/public/browser/web_contents_user_data.h" |
| 10 | 11 |
| 11 namespace printing { | 12 namespace printing { |
| 12 | 13 |
| 13 // Manages the print commands for a WebContents - basic version. | 14 // Manages the print commands for a WebContents - basic version. |
| 14 class PrintViewManagerBasic | 15 class PrintViewManagerBasic |
| 15 : public PrintViewManagerBase, | 16 : public PrintViewManagerBase, |
| 16 public content::WebContentsUserData<PrintViewManagerBasic> { | 17 public content::WebContentsUserData<PrintViewManagerBasic> { |
| 17 public: | 18 public: |
| 18 ~PrintViewManagerBasic() override; | 19 ~PrintViewManagerBasic() override; |
| 19 | 20 |
| 20 private: | 21 private: |
| 21 explicit PrintViewManagerBasic(content::WebContents* web_contents); | 22 explicit PrintViewManagerBasic(content::WebContents* web_contents); |
| 22 friend class content::WebContentsUserData<PrintViewManagerBasic>; | 23 friend class content::WebContentsUserData<PrintViewManagerBasic>; |
| 23 | 24 |
| 24 DISALLOW_COPY_AND_ASSIGN(PrintViewManagerBasic); | 25 DISALLOW_COPY_AND_ASSIGN(PrintViewManagerBasic); |
| 25 }; | 26 }; |
| 26 | 27 |
| 27 } // namespace printing | 28 } // namespace printing |
| 28 | 29 |
| 29 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_ | 30 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASIC_H_ |
| OLD | NEW |