| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 #include "platform/graphics/paint/SkPictureBuilder.h" | 63 #include "platform/graphics/paint/SkPictureBuilder.h" |
| 64 #include "platform/scroll/ScrollTypes.h" | 64 #include "platform/scroll/ScrollTypes.h" |
| 65 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" | 65 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" |
| 66 #include "platform/testing/URLTestHelpers.h" | 66 #include "platform/testing/URLTestHelpers.h" |
| 67 #include "platform/testing/UnitTestHelpers.h" | 67 #include "platform/testing/UnitTestHelpers.h" |
| 68 #include "public/platform/Platform.h" | 68 #include "public/platform/Platform.h" |
| 69 #include "public/platform/WebDisplayMode.h" | 69 #include "public/platform/WebDisplayMode.h" |
| 70 #include "public/platform/WebDragData.h" | 70 #include "public/platform/WebDragData.h" |
| 71 #include "public/platform/WebDragOperation.h" | 71 #include "public/platform/WebDragOperation.h" |
| 72 #include "public/platform/WebFloatPoint.h" | 72 #include "public/platform/WebFloatPoint.h" |
| 73 #include "public/platform/WebInputEvent.h" |
| 73 #include "public/platform/WebLayerTreeView.h" | 74 #include "public/platform/WebLayerTreeView.h" |
| 74 #include "public/platform/WebMockClipboard.h" | 75 #include "public/platform/WebMockClipboard.h" |
| 75 #include "public/platform/WebSize.h" | 76 #include "public/platform/WebSize.h" |
| 76 #include "public/platform/WebThread.h" | 77 #include "public/platform/WebThread.h" |
| 77 #include "public/platform/WebURLLoaderMockFactory.h" | 78 #include "public/platform/WebURLLoaderMockFactory.h" |
| 78 #include "public/web/WebAutofillClient.h" | 79 #include "public/web/WebAutofillClient.h" |
| 79 #include "public/web/WebCache.h" | 80 #include "public/web/WebCache.h" |
| 80 #include "public/web/WebDateTimeChooserCompletion.h" | 81 #include "public/web/WebDateTimeChooserCompletion.h" |
| 81 #include "public/web/WebDeviceEmulationParams.h" | 82 #include "public/web/WebDeviceEmulationParams.h" |
| 82 #include "public/web/WebDocument.h" | 83 #include "public/web/WebDocument.h" |
| 83 #include "public/web/WebElement.h" | 84 #include "public/web/WebElement.h" |
| 84 #include "public/web/WebFrame.h" | 85 #include "public/web/WebFrame.h" |
| 85 #include "public/web/WebFrameClient.h" | 86 #include "public/web/WebFrameClient.h" |
| 86 #include "public/web/WebFrameContentDumper.h" | 87 #include "public/web/WebFrameContentDumper.h" |
| 87 #include "public/web/WebHitTestResult.h" | 88 #include "public/web/WebHitTestResult.h" |
| 88 #include "public/web/WebInputEvent.h" | |
| 89 #include "public/web/WebInputMethodController.h" | 89 #include "public/web/WebInputMethodController.h" |
| 90 #include "public/web/WebScriptSource.h" | 90 #include "public/web/WebScriptSource.h" |
| 91 #include "public/web/WebSettings.h" | 91 #include "public/web/WebSettings.h" |
| 92 #include "public/web/WebTreeScopeType.h" | 92 #include "public/web/WebTreeScopeType.h" |
| 93 #include "public/web/WebViewClient.h" | 93 #include "public/web/WebViewClient.h" |
| 94 #include "public/web/WebWidget.h" | 94 #include "public/web/WebWidget.h" |
| 95 #include "public/web/WebWidgetClient.h" | 95 #include "public/web/WebWidgetClient.h" |
| 96 #include "testing/gtest/include/gtest/gtest.h" | 96 #include "testing/gtest/include/gtest/gtest.h" |
| 97 #include "third_party/skia/include/core/SkBitmap.h" | 97 #include "third_party/skia/include/core/SkBitmap.h" |
| 98 #include "third_party/skia/include/core/SkCanvas.h" | 98 #include "third_party/skia/include/core/SkCanvas.h" |
| (...skipping 4250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4349 .translate(50, 55) | 4349 .translate(50, 55) |
| 4350 .scale(1. / 2.f); | 4350 .scale(1. / 2.f); |
| 4351 EXPECT_EQ(expectedMatrix, | 4351 EXPECT_EQ(expectedMatrix, |
| 4352 webViewImpl->getDeviceEmulationTransformForTesting()); | 4352 webViewImpl->getDeviceEmulationTransformForTesting()); |
| 4353 // visibleContentRect doesn't change. | 4353 // visibleContentRect doesn't change. |
| 4354 EXPECT_EQ(IntRect(50, 55, 50, 75), | 4354 EXPECT_EQ(IntRect(50, 55, 50, 75), |
| 4355 *devToolsEmulator->visibleContentRectForPainting()); | 4355 *devToolsEmulator->visibleContentRectForPainting()); |
| 4356 } | 4356 } |
| 4357 | 4357 |
| 4358 } // namespace blink | 4358 } // namespace blink |
| OLD | NEW |