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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 10 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 * 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 std::unique_ptr<JSONObject> layerTreeAsJSONInternal( 328 std::unique_ptr<JSONObject> layerTreeAsJSONInternal(
329 LayerTreeFlags, 329 LayerTreeFlags,
330 RenderingContextMap&) const; 330 RenderingContextMap&) const;
331 // Outputs the layer tree rooted at |this| as a JSON array, in paint order. 331 // Outputs the layer tree rooted at |this| as a JSON array, in paint order.
332 void layersAsJSONArray(LayerTreeFlags, 332 void layersAsJSONArray(LayerTreeFlags,
333 RenderingContextMap&, 333 RenderingContextMap&,
334 JSONArray*) const; 334 JSONArray*) const;
335 std::unique_ptr<JSONObject> layerAsJSONInternal(LayerTreeFlags, 335 std::unique_ptr<JSONObject> layerAsJSONInternal(LayerTreeFlags,
336 RenderingContextMap&) const; 336 RenderingContextMap&) const;
337 337
338 sk_sp<SkPicture> capturePicture(); 338 sk_sp<PaintRecord> capturePicture();
339 void checkPaintUnderInvalidations(const SkPicture&); 339 void checkPaintUnderInvalidations(const PaintRecord&);
340 340
341 GraphicsLayerClient* m_client; 341 GraphicsLayerClient* m_client;
342 342
343 // Offset from the owning layoutObject 343 // Offset from the owning layoutObject
344 DoubleSize m_offsetFromLayoutObject; 344 DoubleSize m_offsetFromLayoutObject;
345 345
346 // Position is relative to the parent GraphicsLayer 346 // Position is relative to the parent GraphicsLayer
347 FloatPoint m_position; 347 FloatPoint m_position;
348 FloatSize m_size; 348 FloatSize m_size;
349 349
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 }; 411 };
412 412
413 } // namespace blink 413 } // namespace blink
414 414
415 #ifndef NDEBUG 415 #ifndef NDEBUG
416 // Outside the blink namespace for ease of invocation from gdb. 416 // Outside the blink namespace for ease of invocation from gdb.
417 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 417 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
418 #endif 418 #endif
419 419
420 #endif // GraphicsLayer_h 420 #endif // GraphicsLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698