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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/gtest_prod_util.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/printing/print_view_manager_observer.h" | 15 #include "chrome/browser/printing/print_view_manager_observer.h" |
15 #include "chrome/browser/ui/webui/print_preview/print_preview_distiller.h" | 16 #include "chrome/browser/ui/webui/print_preview/print_preview_distiller.h" |
16 #include "components/signin/core/browser/gaia_cookie_manager_service.h" | 17 #include "components/signin/core/browser/gaia_cookie_manager_service.h" |
17 #include "content/public/browser/web_ui_message_handler.h" | 18 #include "content/public/browser/web_ui_message_handler.h" |
18 #include "ui/shell_dialogs/select_file_dialog.h" | 19 #include "ui/shell_dialogs/select_file_dialog.h" |
19 | 20 |
20 #if defined(ENABLE_SERVICE_DISCOVERY) | 21 #if defined(ENABLE_SERVICE_DISCOVERY) |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 // A print preview that is responsible for rendering the page after | 399 // A print preview that is responsible for rendering the page after |
399 // being processed by the DOM Distiller. | 400 // being processed by the DOM Distiller. |
400 scoped_ptr<PrintPreviewDistiller> print_preview_distiller_; | 401 scoped_ptr<PrintPreviewDistiller> print_preview_distiller_; |
401 | 402 |
402 base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; | 403 base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; |
403 | 404 |
404 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); | 405 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); |
405 }; | 406 }; |
406 | 407 |
407 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 408 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
OLD | NEW |