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

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

Issue 856563006: Remove background obscuration checks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/RenderReplaced.cpp ('k') | sky/engine/core/rendering/RenderView.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 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid e; 92 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid e;
93 93
94 IntRect unscaledDocumentRect() const; 94 IntRect unscaledDocumentRect() const;
95 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const; 95 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const;
96 96
97 IntRect documentRect() const; 97 IntRect documentRect() const;
98 98
99 // Renderer that paints the root background has background-images which all have background-attachment: fixed. 99 // Renderer that paints the root background has background-images which all have background-attachment: fixed.
100 bool rootBackgroundIsEntirelyFixed() const; 100 bool rootBackgroundIsEntirelyFixed() const;
101 101
102 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const override;
103
104 double layoutViewportWidth() const; 102 double layoutViewportWidth() const;
105 double layoutViewportHeight() const; 103 double layoutViewportHeight() const;
106 104
107 void pushLayoutState(LayoutState&); 105 void pushLayoutState(LayoutState&);
108 void popLayoutState(); 106 void popLayoutState();
109 107
110 void addIFrame(RenderIFrame* iframe); 108 void addIFrame(RenderIFrame* iframe);
111 void removeIFrame(RenderIFrame* iframe); 109 void removeIFrame(RenderIFrame* iframe);
112 void updateIFramesAfterLayout(); 110 void updateIFramesAfterLayout();
113 111
(...skipping 27 matching lines...) Expand all
141 unsigned m_hitTestCount; 139 unsigned m_hitTestCount;
142 140
143 WTF::HashSet<RenderIFrame*> m_iframes; 141 WTF::HashSet<RenderIFrame*> m_iframes;
144 }; 142 };
145 143
146 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); 144 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView());
147 145
148 } // namespace blink 146 } // namespace blink
149 147
150 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ 148 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderReplaced.cpp ('k') | sky/engine/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698