| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "sky/engine/core/page/Page.h" | 45 #include "sky/engine/core/page/Page.h" |
| 46 #include "sky/engine/core/rendering/HitTestResult.h" | 46 #include "sky/engine/core/rendering/HitTestResult.h" |
| 47 #include "sky/engine/platform/Cursor.h" | 47 #include "sky/engine/platform/Cursor.h" |
| 48 #include "sky/engine/platform/NotImplemented.h" | 48 #include "sky/engine/platform/NotImplemented.h" |
| 49 #include "sky/engine/platform/PlatformScreen.h" | 49 #include "sky/engine/platform/PlatformScreen.h" |
| 50 #include "sky/engine/platform/exported/WrappedResourceRequest.h" | 50 #include "sky/engine/platform/exported/WrappedResourceRequest.h" |
| 51 #include "sky/engine/platform/geometry/FloatRect.h" | 51 #include "sky/engine/platform/geometry/FloatRect.h" |
| 52 #include "sky/engine/platform/geometry/IntRect.h" | 52 #include "sky/engine/platform/geometry/IntRect.h" |
| 53 #include "sky/engine/public/platform/Platform.h" | 53 #include "sky/engine/public/platform/Platform.h" |
| 54 #include "sky/engine/public/platform/WebCursorInfo.h" | 54 #include "sky/engine/public/platform/WebCursorInfo.h" |
| 55 #include "sky/engine/public/platform/WebInputEvent.h" |
| 55 #include "sky/engine/public/platform/WebRect.h" | 56 #include "sky/engine/public/platform/WebRect.h" |
| 56 #include "sky/engine/public/platform/WebURLRequest.h" | 57 #include "sky/engine/public/platform/WebURLRequest.h" |
| 57 #include "sky/engine/public/web/Sky.h" | 58 #include "sky/engine/public/web/Sky.h" |
| 58 #include "sky/engine/public/web/WebConsoleMessage.h" | 59 #include "sky/engine/public/web/WebConsoleMessage.h" |
| 59 #include "sky/engine/public/web/WebFrameClient.h" | 60 #include "sky/engine/public/web/WebFrameClient.h" |
| 60 #include "sky/engine/public/web/WebInputEvent.h" | |
| 61 #include "sky/engine/public/web/WebNode.h" | 61 #include "sky/engine/public/web/WebNode.h" |
| 62 #include "sky/engine/public/web/WebSettings.h" | 62 #include "sky/engine/public/web/WebSettings.h" |
| 63 #include "sky/engine/public/web/WebTextDirection.h" | 63 #include "sky/engine/public/web/WebTextDirection.h" |
| 64 #include "sky/engine/public/web/WebTouchAction.h" | 64 #include "sky/engine/public/web/WebTouchAction.h" |
| 65 #include "sky/engine/public/web/WebUserGestureIndicator.h" | 65 #include "sky/engine/public/web/WebUserGestureIndicator.h" |
| 66 #include "sky/engine/public/web/WebUserGestureToken.h" | 66 #include "sky/engine/public/web/WebUserGestureToken.h" |
| 67 #include "sky/engine/public/web/WebViewClient.h" | 67 #include "sky/engine/public/web/WebViewClient.h" |
| 68 #include "sky/engine/web/WebInputEventConversion.h" | 68 #include "sky/engine/web/WebInputEventConversion.h" |
| 69 #include "sky/engine/web/WebLocalFrameImpl.h" | 69 #include "sky/engine/web/WebLocalFrameImpl.h" |
| 70 #include "sky/engine/web/WebSettingsImpl.h" | 70 #include "sky/engine/web/WebSettingsImpl.h" |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 webFrame->client()->forwardInputEvent(&webEvent); | 370 webFrame->client()->forwardInputEvent(&webEvent); |
| 371 } else if (event->isWheelEvent()) { | 371 } else if (event->isWheelEvent()) { |
| 372 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas
t<WheelEvent*>(event)); | 372 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas
t<WheelEvent*>(event)); |
| 373 if (webEvent.type == WebInputEvent::Undefined) | 373 if (webEvent.type == WebInputEvent::Undefined) |
| 374 return; | 374 return; |
| 375 webFrame->client()->forwardInputEvent(&webEvent); | 375 webFrame->client()->forwardInputEvent(&webEvent); |
| 376 } | 376 } |
| 377 } | 377 } |
| 378 | 378 |
| 379 } // namespace blink | 379 } // namespace blink |
| OLD | NEW |