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

Side by Side Diff: sky/engine/core/rendering/PaintInfo.h

Issue 882143004: Remove optional arguments. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/rendering/LayerPaintingInfo.h ('k') | no next file » | 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) 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 29 matching lines...) Expand all
40 class RenderInline; 40 class RenderInline;
41 class RenderLayerModelObject; 41 class RenderLayerModelObject;
42 class RenderObject; 42 class RenderObject;
43 43
44 /* 44 /*
45 * Paint the object and its children, clipped by (x|y|w|h). 45 * Paint the object and its children, clipped by (x|y|w|h).
46 * (tx|ty) is the calculated position of the parent 46 * (tx|ty) is the calculated position of the parent
47 */ 47 */
48 struct PaintInfo { 48 struct PaintInfo {
49 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase ne wPhase, 49 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase ne wPhase,
50 RenderObject* newPaintingRoot = 0, const RenderLayerModelObject* newPain tContainer = 0) 50 RenderObject* newPaintingRoot, const RenderLayerModelObject* newPaintCon tainer)
51 : context(newContext) 51 : context(newContext)
52 , rect(newRect) 52 , rect(newRect)
53 , phase(newPhase) 53 , phase(newPhase)
54 , paintingRoot(newPaintingRoot) 54 , paintingRoot(newPaintingRoot)
55 , m_paintContainer(newPaintContainer) 55 , m_paintContainer(newPaintContainer)
56 { 56 {
57 } 57 }
58 58
59 void updatePaintingRootForChildren(const RenderObject* renderer) 59 void updatePaintingRootForChildren(const RenderObject* renderer)
60 { 60 {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 PaintPhase phase; 98 PaintPhase phase;
99 RenderObject* paintingRoot; // used to draw just one element and its visual kids 99 RenderObject* paintingRoot; // used to draw just one element and its visual kids
100 100
101 private: 101 private:
102 const RenderLayerModelObject* m_paintContainer; // the layer object that ori ginates the current painting 102 const RenderLayerModelObject* m_paintContainer; // the layer object that ori ginates the current painting
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 #endif // SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_ 107 #endif // SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/LayerPaintingInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698