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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintInfo.h

Issue 2130683002: [Experiment] purge-and-suspend Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 5 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include <limits> 44 #include <limits>
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class LayoutInline; 48 class LayoutInline;
49 class LayoutBoxModelObject; 49 class LayoutBoxModelObject;
50 class LayoutObject; 50 class LayoutObject;
51 class PaintInvalidationState; 51 class PaintInvalidationState;
52 52
53 struct CORE_EXPORT PaintInfo { 53 struct CORE_EXPORT PaintInfo {
54 USING_FAST_MALLOC(PaintInfo);
55 public:
54 PaintInfo(GraphicsContext& newContext, const IntRect& cullRect, PaintPhase n ewPhase, GlobalPaintFlags globalPaintFlags, 56 PaintInfo(GraphicsContext& newContext, const IntRect& cullRect, PaintPhase n ewPhase, GlobalPaintFlags globalPaintFlags,
55 PaintLayerFlags paintFlags, const LayoutBoxModelObject* newPaintContaine r = nullptr) 57 PaintLayerFlags paintFlags, const LayoutBoxModelObject* newPaintContaine r = nullptr)
56 : context(newContext) 58 : context(newContext)
57 , phase(newPhase) 59 , phase(newPhase)
58 , m_cullRect(cullRect) 60 , m_cullRect(cullRect)
59 , m_paintContainer(newPaintContainer) 61 , m_paintContainer(newPaintContainer)
60 , m_paintFlags(paintFlags) 62 , m_paintFlags(paintFlags)
61 , m_globalPaintFlags(globalPaintFlags) 63 , m_globalPaintFlags(globalPaintFlags)
62 { 64 {
63 } 65 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const GlobalPaintFlags m_globalPaintFlags; 116 const GlobalPaintFlags m_globalPaintFlags;
115 117
116 // TODO(chrishtr): temporary while we implement CullRect everywhere. 118 // TODO(chrishtr): temporary while we implement CullRect everywhere.
117 friend class SVGPaintContext; 119 friend class SVGPaintContext;
118 friend class SVGShapePainter; 120 friend class SVGShapePainter;
119 }; 121 };
120 122
121 } // namespace blink 123 } // namespace blink
122 124
123 #endif // PaintInfo_h 125 #endif // PaintInfo_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698