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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2116283002: Don't let rounding prematurely influence document size when printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@620456-2
Patch Set: bug 467579 Created 4 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 22 matching lines...) Expand all
33 33
34 #include "core/page/ContextMenuProvider.h" 34 #include "core/page/ContextMenuProvider.h"
35 #include "core/page/EventWithHitTestResults.h" 35 #include "core/page/EventWithHitTestResults.h"
36 #include "platform/animation/CompositorAnimationTimeline.h" 36 #include "platform/animation/CompositorAnimationTimeline.h"
37 #include "platform/geometry/IntPoint.h" 37 #include "platform/geometry/IntPoint.h"
38 #include "platform/geometry/IntRect.h" 38 #include "platform/geometry/IntRect.h"
39 #include "platform/graphics/GraphicsLayer.h" 39 #include "platform/graphics/GraphicsLayer.h"
40 #include "platform/graphics/compositing/PaintArtifactCompositor.h" 40 #include "platform/graphics/compositing/PaintArtifactCompositor.h"
41 #include "platform/heap/Handle.h" 41 #include "platform/heap/Handle.h"
42 #include "public/platform/WebDisplayMode.h" 42 #include "public/platform/WebDisplayMode.h"
43 #include "public/platform/WebDoubleSize.h"
esprehn 2016/07/22 17:03:08 Why add this here if nothing uses it?
43 #include "public/platform/WebFloatSize.h" 44 #include "public/platform/WebFloatSize.h"
44 #include "public/platform/WebGestureCurveTarget.h" 45 #include "public/platform/WebGestureCurveTarget.h"
45 #include "public/platform/WebInputEventResult.h" 46 #include "public/platform/WebInputEventResult.h"
46 #include "public/platform/WebLayer.h" 47 #include "public/platform/WebLayer.h"
47 #include "public/platform/WebPoint.h" 48 #include "public/platform/WebPoint.h"
48 #include "public/platform/WebRect.h" 49 #include "public/platform/WebRect.h"
49 #include "public/platform/WebSize.h" 50 #include "public/platform/WebSize.h"
50 #include "public/platform/WebString.h" 51 #include "public/platform/WebString.h"
51 #include "public/platform/WebVector.h" 52 #include "public/platform/WebVector.h"
52 #include "public/web/WebInputEvent.h" 53 #include "public/web/WebInputEvent.h"
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 bool m_overrideCompositorVisibility; 769 bool m_overrideCompositorVisibility;
769 }; 770 };
770 771
771 // We have no ways to check if the specified WebView is an instance of 772 // We have no ways to check if the specified WebView is an instance of
772 // WebViewImpl because WebViewImpl is the only implementation of WebView. 773 // WebViewImpl because WebViewImpl is the only implementation of WebView.
773 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 774 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
774 775
775 } // namespace blink 776 } // namespace blink
776 777
777 #endif 778 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698