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

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

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/PageOverlay.cpp ('k') | Source/web/PinchViewports.h » ('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 20 matching lines...) Expand all
31 #include "config.h" 31 #include "config.h"
32 #include "PageWidgetDelegate.h" 32 #include "PageWidgetDelegate.h"
33 33
34 #include "PageOverlayList.h" 34 #include "PageOverlayList.h"
35 #include "WebInputEvent.h" 35 #include "WebInputEvent.h"
36 #include "WebInputEventConversion.h" 36 #include "WebInputEventConversion.h"
37 #include "core/page/AutoscrollController.h" 37 #include "core/page/AutoscrollController.h"
38 #include "core/page/EventHandler.h" 38 #include "core/page/EventHandler.h"
39 #include "core/frame/Frame.h" 39 #include "core/frame/Frame.h"
40 #include "core/frame/FrameView.h" 40 #include "core/frame/FrameView.h"
41 #include "core/platform/graphics/GraphicsContext.h"
42 #include "core/rendering/RenderLayerCompositor.h" 41 #include "core/rendering/RenderLayerCompositor.h"
43 #include "core/rendering/RenderView.h" 42 #include "core/rendering/RenderView.h"
43 #include "platform/graphics/GraphicsContext.h"
44 #include "wtf/CurrentTime.h" 44 #include "wtf/CurrentTime.h"
45 45
46 using namespace WebCore; 46 using namespace WebCore;
47 47
48 namespace blink { 48 namespace blink {
49 49
50 static inline FrameView* mainFrameView(Page* page) 50 static inline FrameView* mainFrameView(Page* page)
51 { 51 {
52 if (!page) 52 if (!page)
53 return 0; 53 return 0;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 { 218 {
219 return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(m ainFrame.view(), event)); 219 return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(m ainFrame.view(), event));
220 } 220 }
221 221
222 bool PageWidgetEventHandler::handleTouchEvent(Frame& mainFrame, const WebTouchEv ent& event) 222 bool PageWidgetEventHandler::handleTouchEvent(Frame& mainFrame, const WebTouchEv ent& event)
223 { 223 {
224 return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(m ainFrame.view(), event)); 224 return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(m ainFrame.view(), event));
225 } 225 }
226 226
227 } 227 }
OLDNEW
« no previous file with comments | « Source/web/PageOverlay.cpp ('k') | Source/web/PinchViewports.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698