| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 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 30 matching lines...) Expand all Loading... |
| 41 #include "platform/PlatformEvent.h" | 41 #include "platform/PlatformEvent.h" |
| 42 #include "platform/graphics/GraphicsContext.h" | 42 #include "platform/graphics/GraphicsContext.h" |
| 43 #include "platform/graphics/paint/CullRect.h" | 43 #include "platform/graphics/paint/CullRect.h" |
| 44 #include "platform/graphics/paint/ForeignLayerDisplayItem.h" | 44 #include "platform/graphics/paint/ForeignLayerDisplayItem.h" |
| 45 #include "platform/graphics/paint/PaintController.h" | 45 #include "platform/graphics/paint/PaintController.h" |
| 46 #include "platform/graphics/paint/PaintRecorder.h" | 46 #include "platform/graphics/paint/PaintRecorder.h" |
| 47 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" | 47 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" |
| 48 #include "platform/testing/URLTestHelpers.h" | 48 #include "platform/testing/URLTestHelpers.h" |
| 49 #include "platform/testing/UnitTestHelpers.h" | 49 #include "platform/testing/UnitTestHelpers.h" |
| 50 #include "public/platform/Platform.h" | 50 #include "public/platform/Platform.h" |
| 51 #include "public/platform/WebCache.h" |
| 51 #include "public/platform/WebClipboard.h" | 52 #include "public/platform/WebClipboard.h" |
| 52 #include "public/platform/WebCompositorSupport.h" | 53 #include "public/platform/WebCompositorSupport.h" |
| 53 #include "public/platform/WebLayer.h" | 54 #include "public/platform/WebLayer.h" |
| 54 #include "public/platform/WebMouseWheelEvent.h" | 55 #include "public/platform/WebMouseWheelEvent.h" |
| 55 #include "public/platform/WebThread.h" | 56 #include "public/platform/WebThread.h" |
| 56 #include "public/platform/WebURLLoaderMockFactory.h" | 57 #include "public/platform/WebURLLoaderMockFactory.h" |
| 57 #include "public/web/WebCache.h" | |
| 58 #include "public/web/WebDocument.h" | 58 #include "public/web/WebDocument.h" |
| 59 #include "public/web/WebElement.h" | 59 #include "public/web/WebElement.h" |
| 60 #include "public/web/WebFrame.h" | 60 #include "public/web/WebFrame.h" |
| 61 #include "public/web/WebFrameClient.h" | 61 #include "public/web/WebFrameClient.h" |
| 62 #include "public/web/WebPluginParams.h" | 62 #include "public/web/WebPluginParams.h" |
| 63 #include "public/web/WebPrintParams.h" | 63 #include "public/web/WebPrintParams.h" |
| 64 #include "public/web/WebSettings.h" | 64 #include "public/web/WebSettings.h" |
| 65 #include "public/web/WebView.h" | 65 #include "public/web/WebView.h" |
| 66 #include "testing/gtest/include/gtest/gtest.h" | 66 #include "testing/gtest/include/gtest/gtest.h" |
| 67 #include "web/WebLocalFrameImpl.h" | 67 #include "web/WebLocalFrameImpl.h" |
| (...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 WebString::fromUTF8("translated-plugin")); | 786 WebString::fromUTF8("translated-plugin")); |
| 787 pluginContainerOneElement.pluginContainer()->setWantsWheelEvents(true); | 787 pluginContainerOneElement.pluginContainer()->setWantsWheelEvents(true); |
| 788 | 788 |
| 789 runPendingTasks(); | 789 runPendingTasks(); |
| 790 EXPECT_TRUE( | 790 EXPECT_TRUE( |
| 791 webView->page()->frameHost().eventHandlerRegistry().hasEventHandlers( | 791 webView->page()->frameHost().eventHandlerRegistry().hasEventHandlers( |
| 792 EventHandlerRegistry::WheelEventBlocking)); | 792 EventHandlerRegistry::WheelEventBlocking)); |
| 793 } | 793 } |
| 794 | 794 |
| 795 } // namespace blink | 795 } // namespace blink |
| OLD | NEW |