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

Side by Side Diff: Source/core/page/scrolling/ScrollingCoordinator.h

Issue 584303002: Clean up forward declarations in Source/core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « Source/core/page/SpatialNavigation.h ('k') | no next file » | 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) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #ifndef ScrollingCoordinator_h 26 #ifndef ScrollingCoordinator_h
27 #define ScrollingCoordinator_h 27 #define ScrollingCoordinator_h
28 28
29 #include "core/rendering/RenderObject.h" 29 #include "core/rendering/RenderObject.h"
30 #include "platform/PlatformWheelEvent.h" 30 #include "platform/PlatformWheelEvent.h"
31 #include "platform/geometry/IntRect.h" 31 #include "platform/geometry/IntRect.h"
32 #include "platform/scroll/ScrollTypes.h" 32 #include "platform/scroll/ScrollTypes.h"
33 #include "wtf/text/WTFString.h" 33 #include "wtf/text/WTFString.h"
34 34
35 namespace blink { 35 namespace blink {
36 class WebLayer;
37 class WebScrollbarLayer; 36 class WebScrollbarLayer;
38 } 37 }
39 38
40 namespace blink { 39 namespace blink {
41 40
42 typedef unsigned MainThreadScrollingReasons; 41 typedef unsigned MainThreadScrollingReasons;
43 42
44 class Document;
45 class LocalFrame; 43 class LocalFrame;
46 class FrameView; 44 class FrameView;
47 class GraphicsLayer; 45 class GraphicsLayer;
48 class Page; 46 class Page;
49 class Region; 47 class Region;
50 class ScrollableArea; 48 class ScrollableArea;
51 class ViewportConstraints;
52 49
53 class ScrollingCoordinator { 50 class ScrollingCoordinator {
54 public: 51 public:
55 ~ScrollingCoordinator(); 52 ~ScrollingCoordinator();
56 53
57 static PassOwnPtr<ScrollingCoordinator> create(Page*); 54 static PassOwnPtr<ScrollingCoordinator> create(Page*);
58 55
59 void willBeDestroyed(); 56 void willBeDestroyed();
60 57
61 // Return whether this scrolling coordinator handles scrolling for the given frame view. 58 // Return whether this scrolling coordinator handles scrolling for the given frame view.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 HashSet<const RenderLayer*> m_layersWithTouchRects; 148 HashSet<const RenderLayer*> m_layersWithTouchRects;
152 bool m_wasFrameScrollable; 149 bool m_wasFrameScrollable;
153 150
154 // This is retained for testing. 151 // This is retained for testing.
155 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; 152 MainThreadScrollingReasons m_lastMainThreadScrollingReasons;
156 }; 153 };
157 154
158 } // namespace blink 155 } // namespace blink
159 156
160 #endif // ScrollingCoordinator_h 157 #endif // ScrollingCoordinator_h
OLDNEW
« no previous file with comments | « Source/core/page/SpatialNavigation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698