Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: chrome/renderer/print_web_view_helper.h

Issue 6538048: Cleanup PrintWebViewHelper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper_mac.mm » ('j') | chrome/renderer/print_web_view_helper_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698