OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "core/html/HTMLTextAreaElement.h" | 47 #include "core/html/HTMLTextAreaElement.h" |
48 #include "core/layout/api/LayoutViewItem.h" | 48 #include "core/layout/api/LayoutViewItem.h" |
49 #include "core/loader/DocumentLoader.h" | 49 #include "core/loader/DocumentLoader.h" |
50 #include "core/loader/FrameLoadRequest.h" | 50 #include "core/loader/FrameLoadRequest.h" |
51 #include "core/page/Page.h" | 51 #include "core/page/Page.h" |
52 #include "core/page/ScopedPageLoadDeferrer.h" | 52 #include "core/page/ScopedPageLoadDeferrer.h" |
53 #include "core/paint/PaintLayer.h" | 53 #include "core/paint/PaintLayer.h" |
54 #include "core/paint/PaintLayerPainter.h" | 54 #include "core/paint/PaintLayerPainter.h" |
55 #include "core/timing/DOMWindowPerformance.h" | 55 #include "core/timing/DOMWindowPerformance.h" |
56 #include "core/timing/Performance.h" | 56 #include "core/timing/Performance.h" |
57 #include "core/timing/PerformanceCompositeTiming.h" | |
58 #include "platform/KeyboardCodes.h" | 57 #include "platform/KeyboardCodes.h" |
59 #include "platform/UserGestureIndicator.h" | 58 #include "platform/UserGestureIndicator.h" |
60 #include "platform/geometry/IntRect.h" | 59 #include "platform/geometry/IntRect.h" |
61 #include "platform/geometry/IntSize.h" | 60 #include "platform/geometry/IntSize.h" |
62 #include "platform/graphics/Color.h" | 61 #include "platform/graphics/Color.h" |
63 #include "platform/graphics/GraphicsContext.h" | 62 #include "platform/graphics/GraphicsContext.h" |
64 #include "platform/graphics/paint/SkPictureBuilder.h" | 63 #include "platform/graphics/paint/SkPictureBuilder.h" |
65 #include "platform/scroll/ScrollTypes.h" | 64 #include "platform/scroll/ScrollTypes.h" |
66 #include "platform/testing/URLTestHelpers.h" | 65 #include "platform/testing/URLTestHelpers.h" |
67 #include "platform/testing/UnitTestHelpers.h" | 66 #include "platform/testing/UnitTestHelpers.h" |
(...skipping 4062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4130 .translate(50, 55) | 4129 .translate(50, 55) |
4131 .scale(1. / 2.f); | 4130 .scale(1. / 2.f); |
4132 EXPECT_EQ(expectedMatrix, | 4131 EXPECT_EQ(expectedMatrix, |
4133 webViewImpl->getDeviceEmulationTransformForTesting()); | 4132 webViewImpl->getDeviceEmulationTransformForTesting()); |
4134 // visibleContentRect doesn't change. | 4133 // visibleContentRect doesn't change. |
4135 EXPECT_EQ(IntRect(50, 55, 50, 75), | 4134 EXPECT_EQ(IntRect(50, 55, 50, 75), |
4136 *devToolsEmulator->visibleContentRectForPainting()); | 4135 *devToolsEmulator->visibleContentRectForPainting()); |
4137 } | 4136 } |
4138 | 4137 |
4139 } // namespace blink | 4138 } // namespace blink |
OLD | NEW |