| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "core/dom/Document.h" | 36 #include "core/dom/Document.h" |
| 37 #include "core/dom/Node.h" | 37 #include "core/dom/Node.h" |
| 38 #include "core/events/KeyboardEvent.h" | 38 #include "core/events/KeyboardEvent.h" |
| 39 #include "core/events/MouseEvent.h" | 39 #include "core/events/MouseEvent.h" |
| 40 #include "core/events/WheelEvent.h" | 40 #include "core/events/WheelEvent.h" |
| 41 #include "core/frame/Console.h" | 41 #include "core/frame/Console.h" |
| 42 #include "core/frame/FrameView.h" | 42 #include "core/frame/FrameView.h" |
| 43 #include "core/frame/Settings.h" | 43 #include "core/frame/Settings.h" |
| 44 #include "core/page/Page.h" | 44 #include "core/page/Page.h" |
| 45 #include "core/rendering/HitTestResult.h" | 45 #include "core/rendering/HitTestResult.h" |
| 46 #include "core/rendering/RenderPart.h" | |
| 47 #include "core/rendering/RenderWidget.h" | 46 #include "core/rendering/RenderWidget.h" |
| 48 #include "platform/Cursor.h" | 47 #include "platform/Cursor.h" |
| 49 #include "platform/NotImplemented.h" | 48 #include "platform/NotImplemented.h" |
| 50 #include "platform/PlatformScreen.h" | 49 #include "platform/PlatformScreen.h" |
| 51 #include "platform/RuntimeEnabledFeatures.h" | 50 #include "platform/RuntimeEnabledFeatures.h" |
| 52 #include "platform/exported/WrappedResourceRequest.h" | 51 #include "platform/exported/WrappedResourceRequest.h" |
| 53 #include "platform/geometry/FloatRect.h" | 52 #include "platform/geometry/FloatRect.h" |
| 54 #include "platform/geometry/IntRect.h" | 53 #include "platform/geometry/IntRect.h" |
| 55 #include "platform/graphics/GraphicsLayer.h" | 54 #include "platform/graphics/GraphicsLayer.h" |
| 56 #include "public/platform/Platform.h" | 55 #include "public/platform/Platform.h" |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 webFrame->client()->forwardInputEvent(&webEvent); | 410 webFrame->client()->forwardInputEvent(&webEvent); |
| 412 } else if (event->isWheelEvent()) { | 411 } else if (event->isWheelEvent()) { |
| 413 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas
t<WheelEvent*>(event)); | 412 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas
t<WheelEvent*>(event)); |
| 414 if (webEvent.type == WebInputEvent::Undefined) | 413 if (webEvent.type == WebInputEvent::Undefined) |
| 415 return; | 414 return; |
| 416 webFrame->client()->forwardInputEvent(&webEvent); | 415 webFrame->client()->forwardInputEvent(&webEvent); |
| 417 } | 416 } |
| 418 } | 417 } |
| 419 | 418 |
| 420 } // namespace blink | 419 } // namespace blink |
| OLD | NEW |