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

Side by Side Diff: Source/core/dom/NodeRenderingContext.h

Issue 18080016: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed failing test (fullscreen issue), added SVG test Created 7 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
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/NodeRenderingContext.cpp » ('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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * Copyright (C) 2011 Google Inc. All rights reserved. 7 * Copyright (C) 2011 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 InsertionPoint* insertionPoint() const; 61 InsertionPoint* insertionPoint() const;
62 62
63 const RenderStyle* style() const; 63 const RenderStyle* style() const;
64 64
65 bool isOnUpperEncapsulationBoundary() const; 65 bool isOnUpperEncapsulationBoundary() const;
66 bool isOnEncapsulationBoundary() const; 66 bool isOnEncapsulationBoundary() const;
67 67
68 private: 68 private:
69 bool shouldCreateRenderer() const; 69 bool shouldCreateRenderer() const;
70 void moveToFlowThreadIfNeeded(); 70 void moveToFlowThreadIfNeeded();
71 bool elementInsideRegionNeedsRenderer();
71 72
72 Node* m_node; 73 Node* m_node;
73 ContainerNode* m_renderingParent; 74 ContainerNode* m_renderingParent;
74 NodeRenderingTraversal::ParentDetails m_parentDetails; 75 NodeRenderingTraversal::ParentDetails m_parentDetails;
75 RefPtr<RenderStyle> m_style; 76 RefPtr<RenderStyle> m_style;
76 RenderNamedFlowThread* m_parentFlowRenderer; 77 RenderNamedFlowThread* m_parentFlowRenderer;
77 AtomicString m_flowThread; 78 AtomicString m_flowThread;
78 }; 79 };
79 80
80 inline Node* NodeRenderingContext::node() const 81 inline Node* NodeRenderingContext::node() const
(...skipping 17 matching lines...) Expand all
98 } 99 }
99 100
100 inline InsertionPoint* NodeRenderingContext::insertionPoint() const 101 inline InsertionPoint* NodeRenderingContext::insertionPoint() const
101 { 102 {
102 return m_parentDetails.insertionPoint(); 103 return m_parentDetails.insertionPoint();
103 } 104 }
104 105
105 } // namespace WebCore 106 } // namespace WebCore
106 107
107 #endif 108 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/NodeRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698