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

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

Issue 14107015: Rename OS(DARWIN) to OS(MACOSX). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 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/Settings.cpp ('k') | Source/core/page/scrolling/ScrollingCoordinator.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) 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Should be called whenever the slow repaint objects counter changes betwee n zero and one. 70 // Should be called whenever the slow repaint objects counter changes betwee n zero and one.
71 void frameViewHasSlowRepaintObjectsDidChange(FrameView*); 71 void frameViewHasSlowRepaintObjectsDidChange(FrameView*);
72 72
73 // Should be called whenever the set of fixed objects changes. 73 // Should be called whenever the set of fixed objects changes.
74 void frameViewFixedObjectsDidChange(FrameView*); 74 void frameViewFixedObjectsDidChange(FrameView*);
75 75
76 // Should be called whenever the root layer for the given frame view changes . 76 // Should be called whenever the root layer for the given frame view changes .
77 void frameViewRootLayerDidChange(FrameView*); 77 void frameViewRootLayerDidChange(FrameView*);
78 78
79 #if OS(DARWIN) 79 #if OS(MACOSX)
80 // Dispatched by the scrolling tree during handleWheelEvent. This is require d as long as scrollbars are painted on the main thread. 80 // Dispatched by the scrolling tree during handleWheelEvent. This is require d as long as scrollbars are painted on the main thread.
81 void handleWheelEventPhase(PlatformWheelEventPhase); 81 void handleWheelEventPhase(PlatformWheelEventPhase);
82 #endif 82 #endif
83 83
84 enum MainThreadScrollingReasonFlags { 84 enum MainThreadScrollingReasonFlags {
85 HasSlowRepaintObjects = 1 << 0, 85 HasSlowRepaintObjects = 1 << 0,
86 HasViewportConstrainedObjectsWithoutSupportingFixedLayers = 1 << 1, 86 HasViewportConstrainedObjectsWithoutSupportingFixedLayers = 1 << 1,
87 HasNonLayerViewportConstrainedObjects = 1 << 2, 87 HasNonLayerViewportConstrainedObjects = 1 << 2,
88 }; 88 };
89 89
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 typedef HashMap<ScrollableArea*, OwnPtr<WebKit::WebScrollbarLayer> > Scrollb arMap; 142 typedef HashMap<ScrollableArea*, OwnPtr<WebKit::WebScrollbarLayer> > Scrollb arMap;
143 ScrollbarMap m_horizontalScrollbars; 143 ScrollbarMap m_horizontalScrollbars;
144 ScrollbarMap m_verticalScrollbars; 144 ScrollbarMap m_verticalScrollbars;
145 HashSet<const RenderLayer*> m_layersWithTouchRects; 145 HashSet<const RenderLayer*> m_layersWithTouchRects;
146 }; 146 };
147 147
148 } // namespace WebCore 148 } // namespace WebCore
149 149
150 #endif // ScrollingCoordinator_h 150 #endif // ScrollingCoordinator_h
OLDNEW
« no previous file with comments | « Source/core/page/Settings.cpp ('k') | Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698