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

Side by Side Diff: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp

Issue 2655873003: Remove PlatformEvent it is no longer used. (Closed)
Patch Set: Remove PlatformEvent it is no longer used. Created 3 years, 10 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) 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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #include "public/web/WebPluginContainer.h" 31 #include "public/web/WebPluginContainer.h"
32 32
33 #include "core/dom/Element.h" 33 #include "core/dom/Element.h"
34 #include "core/events/KeyboardEvent.h" 34 #include "core/events/KeyboardEvent.h"
35 #include "core/frame/EventHandlerRegistry.h" 35 #include "core/frame/EventHandlerRegistry.h"
36 #include "core/frame/FrameHost.h" 36 #include "core/frame/FrameHost.h"
37 #include "core/layout/LayoutObject.h" 37 #include "core/layout/LayoutObject.h"
38 #include "core/page/Page.h" 38 #include "core/page/Page.h"
39 #include "platform/PlatformEvent.h"
40 #include "platform/graphics/GraphicsContext.h" 39 #include "platform/graphics/GraphicsContext.h"
41 #include "platform/graphics/paint/CullRect.h" 40 #include "platform/graphics/paint/CullRect.h"
42 #include "platform/graphics/paint/ForeignLayerDisplayItem.h" 41 #include "platform/graphics/paint/ForeignLayerDisplayItem.h"
43 #include "platform/graphics/paint/PaintController.h" 42 #include "platform/graphics/paint/PaintController.h"
44 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 43 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
45 #include "platform/testing/URLTestHelpers.h" 44 #include "platform/testing/URLTestHelpers.h"
46 #include "platform/testing/UnitTestHelpers.h" 45 #include "platform/testing/UnitTestHelpers.h"
47 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
48 #include "public/platform/WebClipboard.h" 47 #include "public/platform/WebClipboard.h"
49 #include "public/platform/WebCompositorSupport.h" 48 #include "public/platform/WebCompositorSupport.h"
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 WebString::fromUTF8("translated-plugin")); 814 WebString::fromUTF8("translated-plugin"));
816 pluginContainerOneElement.pluginContainer()->setWantsWheelEvents(true); 815 pluginContainerOneElement.pluginContainer()->setWantsWheelEvents(true);
817 816
818 runPendingTasks(); 817 runPendingTasks();
819 EXPECT_TRUE( 818 EXPECT_TRUE(
820 webView->page()->frameHost().eventHandlerRegistry().hasEventHandlers( 819 webView->page()->frameHost().eventHandlerRegistry().hasEventHandlers(
821 EventHandlerRegistry::WheelEventBlocking)); 820 EventHandlerRegistry::WheelEventBlocking));
822 } 821 }
823 822
824 } // namespace blink 823 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698