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

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

Issue 1602773006: blink: Make WebMainThreadScrollingReason wrap the cc enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enumwrap: rebase Created 4 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
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 12 matching lines...) Expand all
23 * THE POSSIBILITY OF SUCH DAMAGE. 23 * THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef ScrollingCoordinator_h 26 #ifndef ScrollingCoordinator_h
27 #define ScrollingCoordinator_h 27 #define ScrollingCoordinator_h
28 28
29 #include "core/CoreExport.h" 29 #include "core/CoreExport.h"
30 #include "core/layout/LayoutObject.h" 30 #include "core/layout/LayoutObject.h"
31 #include "platform/PlatformWheelEvent.h" 31 #include "platform/PlatformWheelEvent.h"
32 #include "platform/geometry/IntRect.h" 32 #include "platform/geometry/IntRect.h"
33 #include "platform/scroll/MainThreadScrollingReason.h"
33 #include "platform/scroll/ScrollTypes.h" 34 #include "platform/scroll/ScrollTypes.h"
34 #include "public/platform/WebMainThreadScrollingReason.h"
35 #include "wtf/Noncopyable.h" 35 #include "wtf/Noncopyable.h"
36 #include "wtf/text/WTFString.h" 36 #include "wtf/text/WTFString.h"
37 37
38 namespace blink { 38 namespace blink {
39 class WebScrollbarLayer; 39 class WebScrollbarLayer;
40 } 40 }
41 41
42 namespace blink { 42 namespace blink {
43 43
44 typedef unsigned MainThreadScrollingReasons; 44 using MainThreadScrollingReasons = uint32_t;
45 45
46 class LocalFrame; 46 class LocalFrame;
47 class FrameView; 47 class FrameView;
48 class GraphicsLayer; 48 class GraphicsLayer;
49 class Page; 49 class Page;
50 class Region; 50 class Region;
51 class ScrollableArea; 51 class ScrollableArea;
52 class WebCompositorAnimationTimeline; 52 class WebCompositorAnimationTimeline;
53 class WebLayerTreeView; 53 class WebLayerTreeView;
54 54
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 ScrollbarMap m_verticalScrollbars; 161 ScrollbarMap m_verticalScrollbars;
162 HashSet<const PaintLayer*> m_layersWithTouchRects; 162 HashSet<const PaintLayer*> m_layersWithTouchRects;
163 bool m_wasFrameScrollable; 163 bool m_wasFrameScrollable;
164 164
165 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; 165 MainThreadScrollingReasons m_lastMainThreadScrollingReasons;
166 }; 166 };
167 167
168 } // namespace blink 168 } // namespace blink
169 169
170 #endif // ScrollingCoordinator_h 170 #endif // ScrollingCoordinator_h
OLDNEW
« no previous file with comments | « cc/input/main_thread_scrolling_reason.h ('k') | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698