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

Side by Side Diff: sky/engine/web/PageWidgetDelegate.cpp

Issue 860593003: Move WebInputEvent from public/web to public/platform (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Build fix Created 5 years, 11 months 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
« no previous file with comments | « sky/engine/web/ChromeClientImpl.cpp ('k') | sky/engine/web/WebInputEvent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21 matching lines...) Expand all
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/platform/Logging.h" 40 #include "sky/engine/platform/Logging.h"
41 #include "sky/engine/platform/graphics/GraphicsContext.h" 41 #include "sky/engine/platform/graphics/GraphicsContext.h"
42 #include "sky/engine/public/web/WebInputEvent.h" 42 #include "sky/engine/public/platform/WebInputEvent.h"
43 #include "sky/engine/web/WebInputEventConversion.h" 43 #include "sky/engine/web/WebInputEventConversion.h"
44 #include "sky/engine/wtf/CurrentTime.h" 44 #include "sky/engine/wtf/CurrentTime.h"
45 45
46 namespace blink { 46 namespace blink {
47 47
48 static inline FrameView* rootFrameView(Page* page, LocalFrame* rootFrame) 48 static inline FrameView* rootFrameView(Page* page, LocalFrame* rootFrame)
49 { 49 {
50 if (rootFrame) 50 if (rootFrame)
51 return rootFrame->view(); 51 return rootFrame->view();
52 if (!page) 52 if (!page)
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 { 206 {
207 return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(m ainFrame.view(), event)); 207 return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(m ainFrame.view(), event));
208 } 208 }
209 209
210 bool PageWidgetEventHandler::handleTouchEvent(LocalFrame& mainFrame, const WebTo uchEvent& event) 210 bool PageWidgetEventHandler::handleTouchEvent(LocalFrame& mainFrame, const WebTo uchEvent& event)
211 { 211 {
212 return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(m ainFrame.view(), event)); 212 return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(m ainFrame.view(), event));
213 } 213 }
214 214
215 } // namespace blink 215 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/ChromeClientImpl.cpp ('k') | sky/engine/web/WebInputEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698