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 // TODO(sgurun) copied from chrome/renderer. Remove after crbug.com/322276 | 5 // TODO(sgurun) copied from chrome/renderer. Remove after crbug.com/322276 |
6 | 6 |
7 #ifndef AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 7 #ifndef AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
8 #define AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 8 #define AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/shared_memory.h" | 14 #include "base/memory/shared_memory.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "content/public/renderer/render_view_observer.h" | 17 #include "content/public/renderer/render_view_observer.h" |
18 #include "content/public/renderer/render_view_observer_tracker.h" | 18 #include "content/public/renderer/render_view_observer_tracker.h" |
19 #include "printing/pdf_metafile_skia.h" | 19 #include "printing/pdf_metafile_skia.h" |
20 #include "third_party/WebKit/public/platform/WebCanvas.h" | 20 #include "third_party/WebKit/public/platform/WebCanvas.h" |
21 #include "third_party/WebKit/public/web/WebNode.h" | 21 #include "third_party/WebKit/public/web/WebNode.h" |
22 #include "third_party/WebKit/public/web/WebPrintParams.h" | 22 #include "third_party/WebKit/public/web/WebPrintParams.h" |
23 #include "ui/gfx/size.h" | 23 #include "ui/gfx/geometry/size.h" |
24 | 24 |
25 struct PrintMsg_Print_Params; | 25 struct PrintMsg_Print_Params; |
26 struct PrintMsg_PrintPage_Params; | 26 struct PrintMsg_PrintPage_Params; |
27 struct PrintMsg_PrintPages_Params; | 27 struct PrintMsg_PrintPages_Params; |
28 | 28 |
29 namespace base { | 29 namespace base { |
30 class DictionaryValue; | 30 class DictionaryValue; |
31 } | 31 } |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 PrintPreviewContext print_preview_context_; | 469 PrintPreviewContext print_preview_context_; |
470 bool is_loading_; | 470 bool is_loading_; |
471 bool is_scripted_preview_delayed_; | 471 bool is_scripted_preview_delayed_; |
472 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; | 472 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; |
473 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); | 473 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
474 }; | 474 }; |
475 | 475 |
476 } // namespace printing | 476 } // namespace printing |
477 | 477 |
478 #endif // AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 478 #endif // AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
OLD | NEW |