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

Side by Side Diff: Source/core/rendering/RenderView.h

Issue 22454003: Support subtitles for native fullscreen video (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add dangling pointer check Created 7 years, 3 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 | Annotate | Revision Log
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) OVERRIDE; 208 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) OVERRIDE;
209 209
210 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const OVERRIDE FINAL; 210 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const OVERRIDE FINAL;
211 211
212 LayoutUnit viewportPercentageWidth(float percentage) const; 212 LayoutUnit viewportPercentageWidth(float percentage) const;
213 LayoutUnit viewportPercentageHeight(float percentage) const; 213 LayoutUnit viewportPercentageHeight(float percentage) const;
214 LayoutUnit viewportPercentageMin(float percentage) const; 214 LayoutUnit viewportPercentageMin(float percentage) const;
215 LayoutUnit viewportPercentageMax(float percentage) const; 215 LayoutUnit viewportPercentageMax(float percentage) const;
216 216
217 // Only called for main frame. Input object can be cross frame.
218 void setCurrentFullscreenRenderer(RenderObject*);
219
217 private: 220 private:
218 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const OVERRIDE; 221 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const OVERRIDE;
219 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; 222 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE;
220 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst; 223 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst;
221 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; 224 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE;
222 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE; 225 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE;
223 226
224 bool initializeLayoutState(LayoutState&); 227 bool initializeLayoutState(LayoutState&);
225 228
226 virtual void calcColumnWidth() OVERRIDE; 229 virtual void calcColumnWidth() OVERRIDE;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 RenderObject::FlowThreadState m_flowThreadState; 422 RenderObject::FlowThreadState m_flowThreadState;
420 bool m_fragmenting; 423 bool m_fragmenting;
421 #ifndef NDEBUG 424 #ifndef NDEBUG
422 LayoutState* m_layoutState; 425 LayoutState* m_layoutState;
423 #endif 426 #endif
424 }; 427 };
425 428
426 } // namespace WebCore 429 } // namespace WebCore
427 430
428 #endif // RenderView_h 431 #endif // RenderView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698