| 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> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "base/time.h" | 12 #include "base/time.h" |
| 13 #include "gfx/size.h" | |
| 14 #include "printing/native_metafile.h" | 13 #include "printing/native_metafile.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
| 16 #include "ui/gfx/size.h" |
| 17 | 17 |
| 18 #if defined(OS_MACOSX) || defined(OS_WIN) | 18 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 19 #include "base/shared_memory.h" | 19 #include "base/shared_memory.h" |
| 20 #endif // defined(OS_MACOSX) || defined(OS_WIN) | 20 #endif // defined(OS_MACOSX) || defined(OS_WIN) |
| 21 | 21 |
| 22 namespace gfx { | 22 namespace gfx { |
| 23 class Size; | 23 class Size; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace IPC { | 26 namespace IPC { |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; | 200 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; |
| 201 base::Time last_cancelled_script_print_; | 201 base::Time last_cancelled_script_print_; |
| 202 int user_cancelled_scripted_print_count_; | 202 int user_cancelled_scripted_print_count_; |
| 203 bool is_preview_; | 203 bool is_preview_; |
| 204 | 204 |
| 205 private: | 205 private: |
| 206 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); | 206 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 209 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
| OLD | NEW |