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

Side by Side Diff: sky/engine/core/rendering/RenderLayerScrollableArea.cpp

Issue 874823002: Move GestureEvent to NewEventDispatcher (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Build fixes 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/core/page/EventWithHitTestResults.h ('k') | sky/engine/platform/BUILD.gn » ('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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "sky/engine/core/frame/FrameView.h" 50 #include "sky/engine/core/frame/FrameView.h"
51 #include "sky/engine/core/frame/LocalFrame.h" 51 #include "sky/engine/core/frame/LocalFrame.h"
52 #include "sky/engine/core/inspector/InspectorTraceEvents.h" 52 #include "sky/engine/core/inspector/InspectorTraceEvents.h"
53 #include "sky/engine/core/page/Chrome.h" 53 #include "sky/engine/core/page/Chrome.h"
54 #include "sky/engine/core/page/EventHandler.h" 54 #include "sky/engine/core/page/EventHandler.h"
55 #include "sky/engine/core/page/FocusController.h" 55 #include "sky/engine/core/page/FocusController.h"
56 #include "sky/engine/core/page/Page.h" 56 #include "sky/engine/core/page/Page.h"
57 #include "sky/engine/core/rendering/HitTestResult.h" 57 #include "sky/engine/core/rendering/HitTestResult.h"
58 #include "sky/engine/core/rendering/RenderGeometryMap.h" 58 #include "sky/engine/core/rendering/RenderGeometryMap.h"
59 #include "sky/engine/core/rendering/RenderView.h" 59 #include "sky/engine/core/rendering/RenderView.h"
60 #include "sky/engine/platform/PlatformGestureEvent.h"
61 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h" 60 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h"
62 #include "sky/engine/platform/scroll/ScrollAnimator.h" 61 #include "sky/engine/platform/scroll/ScrollAnimator.h"
63 #include "sky/engine/platform/scroll/Scrollbar.h" 62 #include "sky/engine/platform/scroll/Scrollbar.h"
64 #include "sky/engine/public/platform/Platform.h" 63 #include "sky/engine/public/platform/Platform.h"
65 64
66 namespace blink { 65 namespace blink {
67 66
68 RenderLayerScrollableArea::RenderLayerScrollableArea(RenderLayer& layer) 67 RenderLayerScrollableArea::RenderLayerScrollableArea(RenderLayer& layer)
69 : m_layer(layer) 68 : m_layer(layer)
70 , m_scrollsOverflow(false) 69 , m_scrollsOverflow(false)
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 void RenderLayerScrollableArea::setTopmostScrollChild(RenderLayer* scrollChild) 696 void RenderLayerScrollableArea::setTopmostScrollChild(RenderLayer* scrollChild)
698 { 697 {
699 // We only want to track the topmost scroll child for scrollable areas with 698 // We only want to track the topmost scroll child for scrollable areas with
700 // overlay scrollbars. 699 // overlay scrollbars.
701 if (!hasOverlayScrollbars()) 700 if (!hasOverlayScrollbars())
702 return; 701 return;
703 m_nextTopmostScrollChild = scrollChild; 702 m_nextTopmostScrollChild = scrollChild;
704 } 703 }
705 704
706 } // namespace blink 705 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/page/EventWithHitTestResults.h ('k') | sky/engine/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698