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 25 matching lines...) Expand all Loading... |
36 #include "core/layout/compositing/PaintLayerCompositor.h" | 36 #include "core/layout/compositing/PaintLayerCompositor.h" |
37 #include "core/page/AutoscrollController.h" | 37 #include "core/page/AutoscrollController.h" |
38 #include "core/page/Page.h" | 38 #include "core/page/Page.h" |
39 #include "core/paint/TransformRecorder.h" | 39 #include "core/paint/TransformRecorder.h" |
40 #include "platform/graphics/GraphicsContext.h" | 40 #include "platform/graphics/GraphicsContext.h" |
41 #include "platform/graphics/paint/ClipRecorder.h" | 41 #include "platform/graphics/paint/ClipRecorder.h" |
42 #include "platform/graphics/paint/CullRect.h" | 42 #include "platform/graphics/paint/CullRect.h" |
43 #include "platform/graphics/paint/DrawingRecorder.h" | 43 #include "platform/graphics/paint/DrawingRecorder.h" |
44 #include "platform/graphics/paint/PaintRecordBuilder.h" | 44 #include "platform/graphics/paint/PaintRecordBuilder.h" |
45 #include "platform/transforms/AffineTransform.h" | 45 #include "platform/transforms/AffineTransform.h" |
| 46 #include "platform/wtf/CurrentTime.h" |
46 #include "public/platform/WebInputEvent.h" | 47 #include "public/platform/WebInputEvent.h" |
47 #include "web/WebInputEventConversion.h" | 48 #include "web/WebInputEventConversion.h" |
48 #include "wtf/CurrentTime.h" | |
49 | 49 |
50 namespace blink { | 50 namespace blink { |
51 | 51 |
52 void PageWidgetDelegate::animate(Page& page, double monotonicFrameBeginTime) { | 52 void PageWidgetDelegate::animate(Page& page, double monotonicFrameBeginTime) { |
53 page.autoscrollController().animate(monotonicFrameBeginTime); | 53 page.autoscrollController().animate(monotonicFrameBeginTime); |
54 page.animator().serviceScriptedAnimations(monotonicFrameBeginTime); | 54 page.animator().serviceScriptedAnimations(monotonicFrameBeginTime); |
55 } | 55 } |
56 | 56 |
57 void PageWidgetDelegate::updateAllLifecyclePhases(Page& page, | 57 void PageWidgetDelegate::updateAllLifecyclePhases(Page& page, |
58 LocalFrame& root) { | 58 LocalFrame& root) { |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 const WebTouchEvent& event, | 270 const WebTouchEvent& event, |
271 const std::vector<const WebInputEvent*>& coalescedEvents) { | 271 const std::vector<const WebInputEvent*>& coalescedEvents) { |
272 WebTouchEvent transformedEvent = | 272 WebTouchEvent transformedEvent = |
273 TransformWebTouchEvent(mainFrame.view(), event); | 273 TransformWebTouchEvent(mainFrame.view(), event); |
274 return mainFrame.eventHandler().handleTouchEvent( | 274 return mainFrame.eventHandler().handleTouchEvent( |
275 transformedEvent, | 275 transformedEvent, |
276 TransformWebTouchEventVector(mainFrame.view(), coalescedEvents)); | 276 TransformWebTouchEventVector(mainFrame.view(), coalescedEvents)); |
277 } | 277 } |
278 | 278 |
279 } // namespace blink | 279 } // namespace blink |
OLD | NEW |