OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_ | 5 // TODO(sgurun) copied from chrome/renderer. Remove after crbug.com/322276 |
6 #define CHROME_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_ | 6 |
| 7 #ifndef AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
| 8 #define AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
7 | 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/shared_memory.h" | 14 #include "base/memory/shared_memory.h" |
13 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
15 #include "content/public/renderer/render_view_observer.h" | 17 #include "content/public/renderer/render_view_observer.h" |
16 #include "content/public/renderer/render_view_observer_tracker.h" | 18 #include "content/public/renderer/render_view_observer_tracker.h" |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 bool print_node_in_progress_; | 481 bool print_node_in_progress_; |
480 PrintPreviewContext print_preview_context_; | 482 PrintPreviewContext print_preview_context_; |
481 bool is_loading_; | 483 bool is_loading_; |
482 bool is_scripted_preview_delayed_; | 484 bool is_scripted_preview_delayed_; |
483 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; | 485 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; |
484 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); | 486 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
485 }; | 487 }; |
486 | 488 |
487 } // namespace printing | 489 } // namespace printing |
488 | 490 |
489 #endif // CHROME_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_ | 491 #endif // AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
OLD | NEW |