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

Side by Side Diff: Source/core/rendering/RenderLayerCompositor.h

Issue 16136004: Add graphics layers for pinch virtual viewport. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 // Enclosing clipping layer for iframe content 330 // Enclosing clipping layer for iframe content
331 OwnPtr<GraphicsLayer> m_clipLayer; 331 OwnPtr<GraphicsLayer> m_clipLayer;
332 OwnPtr<GraphicsLayer> m_scrollLayer; 332 OwnPtr<GraphicsLayer> m_scrollLayer;
333 333
334 HashSet<RenderLayer*> m_viewportConstrainedLayers; 334 HashSet<RenderLayer*> m_viewportConstrainedLayers;
335 HashSet<RenderLayer*> m_viewportConstrainedLayersNeedingUpdate; 335 HashSet<RenderLayer*> m_viewportConstrainedLayersNeedingUpdate;
336 336
337 // Enclosing layer for overflow controls and the clipping layer 337 // Enclosing layer for overflow controls and the clipping layer
338 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer; 338 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer;
339 339
340 // Layers for pinch virtual viewport layers
341 OwnPtr<GraphicsLayer> m_pinchVirtualViewportClipLayer;
342 OwnPtr<GraphicsLayer> m_pinchVirtualViewportScrollLayer;
343
340 // Layers for overflow controls 344 // Layers for overflow controls
341 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; 345 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar;
342 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; 346 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar;
343 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 347 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
344 #if ENABLE(RUBBER_BANDING) 348 #if ENABLE(RUBBER_BANDING)
345 OwnPtr<GraphicsLayer> m_layerForOverhangAreas; 349 OwnPtr<GraphicsLayer> m_layerForOverhangAreas;
346 OwnPtr<GraphicsLayer> m_contentShadowLayer; 350 OwnPtr<GraphicsLayer> m_contentShadowLayer;
347 OwnPtr<GraphicsLayer> m_layerForTopOverhangArea; 351 OwnPtr<GraphicsLayer> m_layerForTopOverhangArea;
348 OwnPtr<GraphicsLayer> m_layerForBottomOverhangArea; 352 OwnPtr<GraphicsLayer> m_layerForBottomOverhangArea;
349 #endif 353 #endif
350 354
351 #if !LOG_DISABLED 355 #if !LOG_DISABLED
352 int m_rootLayerUpdateCount; 356 int m_rootLayerUpdateCount;
353 int m_obligateCompositedLayerCount; // count of layer that have to be compos ited. 357 int m_obligateCompositedLayerCount; // count of layer that have to be compos ited.
354 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap. 358 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap.
355 double m_obligatoryBackingStoreBytes; 359 double m_obligatoryBackingStoreBytes;
356 double m_secondaryBackingStoreBytes; 360 double m_secondaryBackingStoreBytes;
357 #endif 361 #endif
358 }; 362 };
359 363
360 364
361 } // namespace WebCore 365 } // namespace WebCore
362 366
363 #endif // RenderLayerCompositor_h 367 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerCompositor.cpp » ('j') | Source/core/rendering/RenderLayerCompositor.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698