| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PRINT_WEB_VIEW_HELPER_H_ | 5 #ifndef CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
| 6 #define CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 6 #define CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | |
| 10 | |
| 11 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 12 #include "base/time.h" | 10 #include "base/time.h" |
| 13 #include "chrome/renderer/render_view_observer.h" | 11 #include "chrome/renderer/render_view_observer.h" |
| 14 #include "printing/native_metafile.h" | 12 #include "printing/native_metafile.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
| 17 #include "ui/gfx/size.h" | 15 #include "ui/gfx/size.h" |
| 18 | 16 |
| 19 #if defined(OS_MACOSX) || defined(OS_WIN) | 17 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 20 #include "base/shared_memory.h" | 18 #include "base/shared_memory.h" |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; | 197 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; |
| 200 base::Time last_cancelled_script_print_; | 198 base::Time last_cancelled_script_print_; |
| 201 int user_cancelled_scripted_print_count_; | 199 int user_cancelled_scripted_print_count_; |
| 202 bool is_preview_; | 200 bool is_preview_; |
| 203 | 201 |
| 204 private: | 202 private: |
| 205 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); | 203 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
| 206 }; | 204 }; |
| 207 | 205 |
| 208 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 206 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
| OLD | NEW |