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

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

Issue 860843006: Delete blink::ImageQualityController (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
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 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved.
5 * Copyright (C) 2010 Google Inc. All rights reserved. 5 * Copyright (C) 2010 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const = 0; 162 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const = 0;
163 163
164 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst override; 164 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst override;
165 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const override; 165 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const override;
166 166
167 virtual void setSelectionState(SelectionState) override; 167 virtual void setSelectionState(SelectionState) override;
168 168
169 bool hasAcceleratedCompositing() const; 169 bool hasAcceleratedCompositing() const;
170 170
171 protected: 171 protected:
172 virtual void willBeDestroyed() override;
173
174 class BackgroundImageGeometry { 172 class BackgroundImageGeometry {
175 public: 173 public:
176 BackgroundImageGeometry() 174 BackgroundImageGeometry()
177 : m_hasNonLocalGeometry(false) 175 : m_hasNonLocalGeometry(false)
178 { } 176 { }
179 177
180 IntPoint destOrigin() const { return m_destOrigin; } 178 IntPoint destOrigin() const { return m_destOrigin; }
181 void setDestOrigin(const IntPoint& destOrigin) 179 void setDestOrigin(const IntPoint& destOrigin)
182 { 180 {
183 m_destOrigin = destOrigin; 181 m_destOrigin = destOrigin;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 LayoutPoint adjustedPositionRelativeToOffsetParent(const LayoutPoint&) const ; 235 LayoutPoint adjustedPositionRelativeToOffsetParent(const LayoutPoint&) const ;
238 236
239 bool calculateHasBoxDecorations() const; 237 bool calculateHasBoxDecorations() const;
240 void calculateBackgroundImageGeometry(const RenderLayerModelObject* paintCon tainer, const FillLayer&, const LayoutRect& paintRect, BackgroundImageGeometry&, RenderObject* = 0) const; 238 void calculateBackgroundImageGeometry(const RenderLayerModelObject* paintCon tainer, const FillLayer&, const LayoutRect& paintRect, BackgroundImageGeometry&, RenderObject* = 0) const;
241 void getBorderEdgeInfo(class BorderEdge[], const RenderStyle*, bool includeL ogicalLeftEdge = true, bool includeLogicalRightEdge = true) const; 239 void getBorderEdgeInfo(class BorderEdge[], const RenderStyle*, bool includeL ogicalLeftEdge = true, bool includeLogicalRightEdge = true) const;
242 bool borderObscuresBackgroundEdge(const FloatSize& contextScale) const; 240 bool borderObscuresBackgroundEdge(const FloatSize& contextScale) const;
243 bool borderObscuresBackground() const; 241 bool borderObscuresBackground() const;
244 RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*, const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const; 242 RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*, const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const;
245 LayoutRect borderInnerRectAdjustedForBleedAvoidance(GraphicsContext*, const LayoutRect&, BackgroundBleedAvoidance) const; 243 LayoutRect borderInnerRectAdjustedForBleedAvoidance(GraphicsContext*, const LayoutRect&, BackgroundBleedAvoidance) const;
246 244
247 InterpolationQuality chooseInterpolationQuality(GraphicsContext*, Image*, co nst void*, const LayoutSize&);
248
249 LayoutRect localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIn dentOffset); 245 LayoutRect localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIn dentOffset);
250 246
251 static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const RoundedRect& clipRect); 247 static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const RoundedRect& clipRect);
252 248
253 bool hasAutoHeightOrContainingBlockWithAutoHeight() const; 249 bool hasAutoHeightOrContainingBlockWithAutoHeight() const;
254 250
255 bool isDocumentElementWithOpaqueBackground() const; 251 bool isDocumentElementWithOpaqueBackground() const;
256 252
257 void paintRootBackgroundColor(const PaintInfo&, const LayoutRect&, const Col or&); 253 void paintRootBackgroundColor(const PaintInfo&, const LayoutRect&, const Col or&);
258 254
(...skipping 29 matching lines...) Expand all
288 void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, c onst class BorderEdge[], 284 void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, c onst class BorderEdge[],
289 float thickness, float drawThickness, BoxSide, const RenderStyle*, 285 float thickness, float drawThickness, BoxSide, const RenderStyle*,
290 Color, EBorderStyle, BackgroundBleedAvoidance, bool includeLogicalLeftEdge, bool includeLogicalRightEdge); 286 Color, EBorderStyle, BackgroundBleedAvoidance, bool includeLogicalLeftEdge, bool includeLogicalRightEdge);
291 }; 287 };
292 288
293 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); 289 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject());
294 290
295 } // namespace blink 291 } // namespace blink
296 292
297 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOXMODELOBJECT_H_ 293 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOXMODELOBJECT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/ImageQualityController.cpp ('k') | sky/engine/core/rendering/RenderBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698