| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 16 #include "chrome/browser/printing/print_view_manager_observer.h" | 16 #include "chrome/browser/printing/print_view_manager_observer.h" |
| 17 #include "chrome/browser/ui/select_file_dialog.h" | 17 #include "chrome/browser/ui/select_file_dialog.h" |
| 18 #include "content/public/browser/web_ui_message_handler.h" | 18 #include "content/public/browser/web_ui_message_handler.h" |
| 19 #include "printing/print_job_constants.h" | 19 #include "printing/print_job_constants.h" |
| 20 | 20 |
| 21 class FilePath; | 21 class FilePath; |
| 22 class PrintSystemTaskProxy; | 22 class PrintSystemTaskProxy; |
| 23 class TabContentsWrapper; | 23 class TabContents; |
| 24 typedef TabContents TabContentsWrapper; |
| 24 | 25 |
| 25 namespace base { | 26 namespace base { |
| 26 class DictionaryValue; | 27 class DictionaryValue; |
| 27 class RefCountedBytes; | 28 class RefCountedBytes; |
| 28 } | 29 } |
| 29 | 30 |
| 30 namespace printing { | 31 namespace printing { |
| 31 struct PageSizeMargins; | 32 struct PageSizeMargins; |
| 32 class PrintBackend; | 33 class PrintBackend; |
| 33 class StickySettings; | 34 class StickySettings; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 bool has_logged_printers_count_; | 208 bool has_logged_printers_count_; |
| 208 | 209 |
| 209 // Holds the path to the print to pdf request. It is empty if no such request | 210 // Holds the path to the print to pdf request. It is empty if no such request |
| 210 // exists. | 211 // exists. |
| 211 scoped_ptr<FilePath> print_to_pdf_path_; | 212 scoped_ptr<FilePath> print_to_pdf_path_; |
| 212 | 213 |
| 213 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); | 214 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); |
| 214 }; | 215 }; |
| 215 | 216 |
| 216 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 217 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
| OLD | NEW |