| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #include "sky/engine/config.h" | 31 #include "sky/engine/config.h" |
| 32 #include "sky/engine/web/PageWidgetDelegate.h" | 32 #include "sky/engine/web/PageWidgetDelegate.h" |
| 33 | 33 |
| 34 #include "sky/engine/core/frame/FrameView.h" | 34 #include "sky/engine/core/frame/FrameView.h" |
| 35 #include "sky/engine/core/frame/LocalFrame.h" | 35 #include "sky/engine/core/frame/LocalFrame.h" |
| 36 #include "sky/engine/core/page/AutoscrollController.h" | 36 #include "sky/engine/core/page/AutoscrollController.h" |
| 37 #include "sky/engine/core/page/EventHandler.h" | 37 #include "sky/engine/core/page/EventHandler.h" |
| 38 #include "sky/engine/core/page/Page.h" | 38 #include "sky/engine/core/page/Page.h" |
| 39 #include "sky/engine/core/rendering/RenderView.h" | 39 #include "sky/engine/core/rendering/RenderView.h" |
| 40 #include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h" | |
| 41 #include "sky/engine/platform/Logging.h" | 40 #include "sky/engine/platform/Logging.h" |
| 42 #include "sky/engine/platform/graphics/GraphicsContext.h" | 41 #include "sky/engine/platform/graphics/GraphicsContext.h" |
| 43 #include "sky/engine/public/web/WebInputEvent.h" | 42 #include "sky/engine/public/web/WebInputEvent.h" |
| 44 #include "sky/engine/web/WebInputEventConversion.h" | 43 #include "sky/engine/web/WebInputEventConversion.h" |
| 45 #include "sky/engine/wtf/CurrentTime.h" | 44 #include "sky/engine/wtf/CurrentTime.h" |
| 46 | 45 |
| 47 namespace blink { | 46 namespace blink { |
| 48 | 47 |
| 49 static inline FrameView* rootFrameView(Page* page, LocalFrame* rootFrame) | 48 static inline FrameView* rootFrameView(Page* page, LocalFrame* rootFrame) |
| 50 { | 49 { |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 { | 206 { |
| 208 return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(m
ainFrame.view(), event)); | 207 return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(m
ainFrame.view(), event)); |
| 209 } | 208 } |
| 210 | 209 |
| 211 bool PageWidgetEventHandler::handleTouchEvent(LocalFrame& mainFrame, const WebTo
uchEvent& event) | 210 bool PageWidgetEventHandler::handleTouchEvent(LocalFrame& mainFrame, const WebTo
uchEvent& event) |
| 212 { | 211 { |
| 213 return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(m
ainFrame.view(), event)); | 212 return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(m
ainFrame.view(), event)); |
| 214 } | 213 } |
| 215 | 214 |
| 216 } // namespace blink | 215 } // namespace blink |
| OLD | NEW |