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

Side by Side Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h

Issue 2770293003: Feed ScrollableArea::showOverlayScrollbars into ScrollbarAnimationController. (Closed)
Patch Set: rebase Created 3 years, 8 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 Page* page() const; 219 Page* page() const;
220 220
221 ScrollingCoordinator* scrollingCoordinator() const; 221 ScrollingCoordinator* scrollingCoordinator() const;
222 222
223 void enableCompositingModeIfNeeded(); 223 void enableCompositingModeIfNeeded();
224 224
225 bool requiresHorizontalScrollbarLayer() const; 225 bool requiresHorizontalScrollbarLayer() const;
226 bool requiresVerticalScrollbarLayer() const; 226 bool requiresVerticalScrollbarLayer() const;
227 bool requiresScrollCornerLayer() const; 227 bool requiresScrollCornerLayer() const;
228 void showScrollbarLayersIfNeeded();
228 229
229 void applyOverlayFullscreenVideoAdjustmentIfNeeded(); 230 void applyOverlayFullscreenVideoAdjustmentIfNeeded();
230 231
231 void updateContainerSizes(); 232 void updateContainerSizes();
232 233
233 // Checks the given graphics layer against the compositor's horizontal and 234 // Checks the given graphics layer against the compositor's horizontal and
234 // vertical scrollbar graphics layers, returning the associated Scrollbar 235 // vertical scrollbar graphics layers, returning the associated Scrollbar
235 // instance if any, else nullptr. 236 // instance if any, else nullptr.
236 Scrollbar* graphicsLayerToScrollbar(const GraphicsLayer*) const; 237 Scrollbar* graphicsLayerToScrollbar(const GraphicsLayer*) const;
237 238
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 283
283 // Layers for overflow controls 284 // Layers for overflow controls
284 std::unique_ptr<GraphicsLayer> m_layerForHorizontalScrollbar; 285 std::unique_ptr<GraphicsLayer> m_layerForHorizontalScrollbar;
285 std::unique_ptr<GraphicsLayer> m_layerForVerticalScrollbar; 286 std::unique_ptr<GraphicsLayer> m_layerForVerticalScrollbar;
286 std::unique_ptr<GraphicsLayer> m_layerForScrollCorner; 287 std::unique_ptr<GraphicsLayer> m_layerForScrollCorner;
287 }; 288 };
288 289
289 } // namespace blink 290 } // namespace blink
290 291
291 #endif // PaintLayerCompositor_h 292 #endif // PaintLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698