From 8ed233748ea86caac105e8989d85e67bca9aee92 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Thu, 14 Apr 2011 01:19:36 +0000 Subject: Cleanup: Remove some unused includes in PrintWebViewHelper. BUG=none TEST=none Review URL: http://codereview.chromium.org/6835003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81517 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/print_web_view_helper.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'chrome/renderer') diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc index 33ac578..33ccc82 100644 --- a/chrome/renderer/print_web_view_helper.cc +++ b/chrome/renderer/print_web_view_helper.cc @@ -12,7 +12,6 @@ #include "base/utf_string_conversions.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/print_messages.h" -#include "content/common/view_messages.h" #include "content/renderer/render_view.h" #include "grit/generated_resources.h" #include "printing/metafile.h" @@ -22,13 +21,14 @@ #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" -#include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" -#include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" #include "ui/base/l10n/l10n_util.h" -#include "webkit/glue/webkit_glue.h" + +#if defined(OS_POSIX) +#include "content/common/view_messages.h" +#endif using printing::ConvertPixelsToPoint; using printing::ConvertPixelsToPointDouble; @@ -39,9 +39,7 @@ using WebKit::WebDocument; using WebKit::WebElement; using WebKit::WebFrame; using WebKit::WebNode; -using WebKit::WebRect; using WebKit::WebSize; -using WebKit::WebScreenInfo; using WebKit::WebString; using WebKit::WebURLRequest; using WebKit::WebView; -- cgit v1.1