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

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

Issue 682263003: Remove RenderWidget. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
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 22 matching lines...) Expand all
33 #include "platform/graphics/GraphicsContext.h" 33 #include "platform/graphics/GraphicsContext.h"
34 #include "platform/transforms/AffineTransform.h" 34 #include "platform/transforms/AffineTransform.h"
35 #include "wtf/HashMap.h" 35 #include "wtf/HashMap.h"
36 #include "wtf/ListHashSet.h" 36 #include "wtf/ListHashSet.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class RenderInline; 40 class RenderInline;
41 class RenderLayerModelObject; 41 class RenderLayerModelObject;
42 class RenderObject; 42 class RenderObject;
43 class RenderWidget;
44
45 typedef HashMap<RenderWidget*, IntRect> OverlapTestRequestMap;
46 43
47 /* 44 /*
48 * 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).
49 * (tx|ty) is the calculated position of the parent 46 * (tx|ty) is the calculated position of the parent
50 */ 47 */
51 struct PaintInfo { 48 struct PaintInfo {
52 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase ne wPhase, PaintBehavior newPaintBehavior, 49 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase ne wPhase, PaintBehavior newPaintBehavior,
53 RenderObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlin eObjects = 0, 50 RenderObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlin eObjects = 0,
54 const RenderLayerModelObject* newPaintContainer = 0) 51 const RenderLayerModelObject* newPaintContainer = 0)
55 : context(newContext) 52 : context(newContext)
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 RenderObject* paintingRoot; // used to draw just one element and its visual kids 111 RenderObject* paintingRoot; // used to draw just one element and its visual kids
115 112
116 private: 113 private:
117 const RenderLayerModelObject* m_paintContainer; // the layer object that ori ginates the current painting 114 const RenderLayerModelObject* m_paintContainer; // the layer object that ori ginates the current painting
118 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that should be painted by a block with inline children 115 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that should be painted by a block with inline children
119 }; 116 };
120 117
121 } // namespace blink 118 } // namespace blink
122 119
123 #endif // PaintInfo_h 120 #endif // PaintInfo_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/HitTestResult.h ('k') | sky/engine/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698