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

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

Issue 18601002: Add infrastructure for partial layouts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: define RenderObject::frameView in the header 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
« no previous file with comments | « Source/core/rendering/RenderTextTrackCue.h ('k') | Source/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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual bool isRenderView() const OVERRIDE { return true; } 52 virtual bool isRenderView() const OVERRIDE { return true; }
53 53
54 virtual bool requiresLayer() const OVERRIDE { return true; } 54 virtual bool requiresLayer() const OVERRIDE { return true; }
55 55
56 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE; 56 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE;
57 57
58 virtual void layout() OVERRIDE; 58 virtual void layout() OVERRIDE;
59 virtual void updateLogicalWidth() OVERRIDE; 59 virtual void updateLogicalWidth() OVERRIDE;
60 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const OVERRIDE; 60 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const OVERRIDE;
61 61
62 virtual bool supportsPartialLayout() const OVERRIDE { return true; }
63
62 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const OVERRIDE; 64 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const OVERRIDE;
63 65
64 // The same as the FrameView's layoutHeight/layoutWidth but with null check guards. 66 // The same as the FrameView's layoutHeight/layoutWidth but with null check guards.
65 int viewHeight() const; 67 int viewHeight() const;
66 int viewWidth() const; 68 int viewWidth() const;
67 int viewLogicalWidth() const { return style()->isHorizontalWritingMode() ? v iewWidth() : viewHeight(); } 69 int viewLogicalWidth() const { return style()->isHorizontalWritingMode() ? v iewWidth() : viewHeight(); }
68 int viewLogicalHeight() const; 70 int viewLogicalHeight() const;
69 71
70 float zoomFactor() const; 72 float zoomFactor() const;
71 73
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 RenderObject::FlowThreadState m_flowThreadState; 397 RenderObject::FlowThreadState m_flowThreadState;
396 bool m_fragmenting; 398 bool m_fragmenting;
397 #ifndef NDEBUG 399 #ifndef NDEBUG
398 LayoutState* m_layoutState; 400 LayoutState* m_layoutState;
399 #endif 401 #endif
400 }; 402 };
401 403
402 } // namespace WebCore 404 } // namespace WebCore
403 405
404 #endif // RenderView_h 406 #endif // RenderView_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTextTrackCue.h ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698