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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 1427973008: Oilpan: annotate weak ScrollableArea* refs with GC_PLUGIN_IGNORE()s. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h » ('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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 24 matching lines...) Expand all
35 #include "platform/graphics/Color.h" 35 #include "platform/graphics/Color.h"
36 #include "platform/graphics/ContentLayerDelegate.h" 36 #include "platform/graphics/ContentLayerDelegate.h"
37 #include "platform/graphics/GraphicsLayerClient.h" 37 #include "platform/graphics/GraphicsLayerClient.h"
38 #include "platform/graphics/GraphicsLayerDebugInfo.h" 38 #include "platform/graphics/GraphicsLayerDebugInfo.h"
39 #include "platform/graphics/ImageOrientation.h" 39 #include "platform/graphics/ImageOrientation.h"
40 #include "platform/graphics/PaintInvalidationReason.h" 40 #include "platform/graphics/PaintInvalidationReason.h"
41 #include "platform/graphics/filters/FilterOperations.h" 41 #include "platform/graphics/filters/FilterOperations.h"
42 #include "platform/graphics/paint/CachedDisplayItem.h" 42 #include "platform/graphics/paint/CachedDisplayItem.h"
43 #include "platform/graphics/paint/DisplayItemClient.h" 43 #include "platform/graphics/paint/DisplayItemClient.h"
44 #include "platform/graphics/paint/PaintController.h" 44 #include "platform/graphics/paint/PaintController.h"
45 #include "platform/heap/Handle.h"
45 #include "platform/transforms/TransformationMatrix.h" 46 #include "platform/transforms/TransformationMatrix.h"
46 #include "public/platform/WebCompositorAnimationDelegate.h" 47 #include "public/platform/WebCompositorAnimationDelegate.h"
47 #include "public/platform/WebContentLayer.h" 48 #include "public/platform/WebContentLayer.h"
48 #include "public/platform/WebImageLayer.h" 49 #include "public/platform/WebImageLayer.h"
49 #include "public/platform/WebLayerClient.h" 50 #include "public/platform/WebLayerClient.h"
50 #include "public/platform/WebLayerScrollClient.h" 51 #include "public/platform/WebLayerScrollClient.h"
51 #include "public/platform/WebScrollBlocksOn.h" 52 #include "public/platform/WebScrollBlocksOn.h"
52 #include "third_party/skia/include/core/SkPaint.h" 53 #include "third_party/skia/include/core/SkPaint.h"
53 #include "wtf/OwnPtr.h" 54 #include "wtf/OwnPtr.h"
54 #include "wtf/PassOwnPtr.h" 55 #include "wtf/PassOwnPtr.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 GraphicsLayerPaintingPhase m_paintingPhase; 340 GraphicsLayerPaintingPhase m_paintingPhase;
340 341
341 Vector<GraphicsLayer*> m_children; 342 Vector<GraphicsLayer*> m_children;
342 GraphicsLayer* m_parent; 343 GraphicsLayer* m_parent;
343 344
344 GraphicsLayer* m_maskLayer; // Reference to mask layer. We don't own this. 345 GraphicsLayer* m_maskLayer; // Reference to mask layer. We don't own this.
345 GraphicsLayer* m_contentsClippingMaskLayer; // Reference to clipping mask la yer. We don't own this. 346 GraphicsLayer* m_contentsClippingMaskLayer; // Reference to clipping mask la yer. We don't own this.
346 347
347 // A layer that replicates this layer. We only allow one, for now. 348 // A layer that replicates this layer. We only allow one, for now.
348 // The replica is not parented; this is the primary reference to it. 349 // The replica is not parented; this is the primary reference to it.
349 GraphicsLayer* m_replicaLayer; 350 GraphicsLayer* m_replicaLayer;
350 GraphicsLayer* m_replicatedLayer; // For a replica layer, a reference to the original layer. 351 GraphicsLayer* m_replicatedLayer; // For a replica layer, a reference to the original layer.
351 FloatPoint m_replicatedLayerPosition; // For a replica layer, the position o f the replica. 352 FloatPoint m_replicatedLayerPosition; // For a replica layer, the position o f the replica.
352 353
353 IntRect m_contentsRect; 354 IntRect m_contentsRect;
354 355
355 int m_paintCount; 356 int m_paintCount;
356 357
357 OwnPtr<WebContentLayer> m_layer; 358 OwnPtr<WebContentLayer> m_layer;
358 OwnPtr<WebImageLayer> m_imageLayer; 359 OwnPtr<WebImageLayer> m_imageLayer;
359 WebLayer* m_contentsLayer; 360 WebLayer* m_contentsLayer;
360 // We don't have ownership of m_contentsLayer, but we do want to know if a g iven layer is the 361 // We don't have ownership of m_contentsLayer, but we do want to know if a g iven layer is the
361 // same as our current layer in setContentsTo(). Since m_contentsLayer may b e deleted at this point, 362 // same as our current layer in setContentsTo(). Since m_contentsLayer may b e deleted at this point,
362 // we stash an ID away when we know m_contentsLayer is alive and use that fo r comparisons from that point 363 // we stash an ID away when we know m_contentsLayer is alive and use that fo r comparisons from that point
363 // on. 364 // on.
364 int m_contentsLayerId; 365 int m_contentsLayerId;
365 366
366 Vector<LinkHighlight*> m_linkHighlights; 367 Vector<LinkHighlight*> m_linkHighlights;
367 368
368 OwnPtr<ContentLayerDelegate> m_contentLayerDelegate; 369 OwnPtr<ContentLayerDelegate> m_contentLayerDelegate;
369 370
371 GC_PLUGIN_IGNORE("509911")
370 ScrollableArea* m_scrollableArea; 372 ScrollableArea* m_scrollableArea;
371 GraphicsLayerDebugInfo m_debugInfo; 373 GraphicsLayerDebugInfo m_debugInfo;
372 int m_3dRenderingContext; 374 int m_3dRenderingContext;
373 375
374 OwnPtr<PaintController> m_paintController; 376 OwnPtr<PaintController> m_paintController;
375 }; 377 };
376 378
377 } // namespace blink 379 } // namespace blink
378 380
379 #ifndef NDEBUG 381 #ifndef NDEBUG
380 // Outside the blink namespace for ease of invocation from gdb. 382 // Outside the blink namespace for ease of invocation from gdb.
381 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 383 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
382 #endif 384 #endif
383 385
384 #endif // GraphicsLayer_h 386 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698