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

Side by Side Diff: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.h

Issue 1254613003: Let the WebMediaPlayer decide whether to use overlay video. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address Xianzhu's Comments Created 5 years, 4 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 GraphicsLayerFactory* graphicsLayerFactory() const; 204 GraphicsLayerFactory* graphicsLayerFactory() const;
205 ScrollingCoordinator* scrollingCoordinator() const; 205 ScrollingCoordinator* scrollingCoordinator() const;
206 206
207 void enableCompositingModeIfNeeded(); 207 void enableCompositingModeIfNeeded();
208 208
209 bool requiresHorizontalScrollbarLayer() const; 209 bool requiresHorizontalScrollbarLayer() const;
210 bool requiresVerticalScrollbarLayer() const; 210 bool requiresVerticalScrollbarLayer() const;
211 bool requiresScrollCornerLayer() const; 211 bool requiresScrollCornerLayer() const;
212 212
213 void applyOverlayFullscreenVideoAdjustment(); 213 void applyOverlayFullscreenVideoAdjustmentIfNeeded();
214 214
215 LayoutView& m_layoutView; 215 LayoutView& m_layoutView;
216 OwnPtr<GraphicsLayer> m_rootContentLayer; 216 OwnPtr<GraphicsLayer> m_rootContentLayer;
217 OwnPtr<GraphicsLayer> m_rootTransformLayer; 217 OwnPtr<GraphicsLayer> m_rootTransformLayer;
218 218
219 CompositingReasonFinder m_compositingReasonFinder; 219 CompositingReasonFinder m_compositingReasonFinder;
220 220
221 CompositingUpdateType m_pendingUpdateType; 221 CompositingUpdateType m_pendingUpdateType;
222 222
223 bool m_hasAcceleratedCompositing; 223 bool m_hasAcceleratedCompositing;
(...skipping 23 matching lines...) Expand all
247 247
248 // Layers for overflow controls 248 // Layers for overflow controls
249 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; 249 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar;
250 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; 250 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar;
251 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 251 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
252 }; 252 };
253 253
254 } // namespace blink 254 } // namespace blink
255 255
256 #endif // DeprecatedPaintLayerCompositor_h 256 #endif // DeprecatedPaintLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698