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

Side by Side Diff: chrome/renderer/printing/print_web_view_helper.cc

Issue 16109004: Update refernces to Blink's Platform API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/renderer/printing/print_web_view_helper.h" 5 #include "chrome/renderer/printing/print_web_view_helper.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/common/render_messages.h" 21 #include "chrome/common/render_messages.h"
22 #include "chrome/renderer/prerender/prerender_helper.h" 22 #include "chrome/renderer/prerender/prerender_helper.h"
23 #include "content/public/renderer/render_thread.h" 23 #include "content/public/renderer/render_thread.h"
24 #include "content/public/renderer/render_view.h" 24 #include "content/public/renderer/render_view.h"
25 #include "grit/browser_resources.h" 25 #include "grit/browser_resources.h"
26 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
27 #include "printing/metafile.h" 27 #include "printing/metafile.h"
28 #include "printing/metafile_impl.h" 28 #include "printing/metafile_impl.h"
29 #include "printing/units.h" 29 #include "printing/units.h"
30 #include "skia/ext/vector_platform_device_skia.h" 30 #include "skia/ext/vector_platform_device_skia.h"
31 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 31 #include "third_party/WebKit/public/platform/WebSize.h"
32 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" 32 #include "third_party/WebKit/public/platform/WebURLRequest.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h"
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginDocument.h" 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginDocument.h"
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintParams.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintParams.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintScalingOption .h" 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintScalingOption .h"
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h"
(...skipping 1941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1984 } 1984 }
1985 1985
1986 void PrintWebViewHelper::PrintPreviewContext::ClearContext() { 1986 void PrintWebViewHelper::PrintPreviewContext::ClearContext() {
1987 prep_frame_view_.reset(); 1987 prep_frame_view_.reset();
1988 metafile_.reset(); 1988 metafile_.reset();
1989 pages_to_render_.clear(); 1989 pages_to_render_.clear();
1990 error_ = PREVIEW_ERROR_NONE; 1990 error_ = PREVIEW_ERROR_NONE;
1991 } 1991 }
1992 1992
1993 } // namespace printing 1993 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper.h ('k') | chrome/renderer/printing/print_web_view_helper_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698