OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/gfx/size.h" | 10 #include "base/gfx/size.h" |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 #include "webkit/api/public/WebViewClient.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebViewClient.h" |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 class Size; | 16 class Size; |
17 } | 17 } |
18 | 18 |
19 namespace IPC { | 19 namespace IPC { |
20 class Message; | 20 class Message; |
21 } | 21 } |
22 | 22 |
23 #if defined(OS_LINUX) | 23 #if defined(OS_LINUX) |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 WebKit::WebView* print_web_view_; | 122 WebKit::WebView* print_web_view_; |
123 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; | 123 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; |
124 base::Time last_cancelled_script_print_; | 124 base::Time last_cancelled_script_print_; |
125 int user_cancelled_scripted_print_count_; | 125 int user_cancelled_scripted_print_count_; |
126 | 126 |
127 private: | 127 private: |
128 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); | 128 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
129 }; | 129 }; |
130 | 130 |
131 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 131 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
OLD | NEW |