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

Side by Side Diff: third_party/WebKit/Source/web/PageWidgetDelegate.cpp

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 25 matching lines...) Expand all
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/SkPictureBuilder.h" 44 #include "platform/graphics/paint/SkPictureBuilder.h"
45 #include "platform/transforms/AffineTransform.h" 45 #include "platform/transforms/AffineTransform.h"
46 #include "public/web/WebInputEvent.h" 46 #include "public/platform/WebInputEvent.h"
47 #include "web/WebInputEventConversion.h" 47 #include "web/WebInputEventConversion.h"
48 #include "wtf/CurrentTime.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
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 } 250 }
251 251
252 WebInputEventResult PageWidgetEventHandler::handleTouchEvent( 252 WebInputEventResult PageWidgetEventHandler::handleTouchEvent(
253 LocalFrame& mainFrame, 253 LocalFrame& mainFrame,
254 const WebTouchEvent& event) { 254 const WebTouchEvent& event) {
255 return mainFrame.eventHandler().handleTouchEvent( 255 return mainFrame.eventHandler().handleTouchEvent(
256 PlatformTouchEventBuilder(mainFrame.view(), event)); 256 PlatformTouchEventBuilder(mainFrame.view(), event));
257 } 257 }
258 258
259 } // namespace blink 259 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/PageWidgetDelegate.h ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698