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

Side by Side Diff: third_party/WebKit/WebCore/rendering/RenderView.h

Issue 10670: Do another merge using nifty new merge script (CL for that coming soon). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 * This file is part of the HTML widget for KDE. 2 * This file is part of the HTML widget for KDE.
3 * 3 *
4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
5 * Copyright (C) 2006 Apple Computer, Inc. 5 * Copyright (C) 2006 Apple Computer, Inc.
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 28 matching lines...) Expand all
39 virtual const char* renderName() const { return "RenderView"; } 39 virtual const char* renderName() const { return "RenderView"; }
40 40
41 virtual bool isRenderView() const { return true; } 41 virtual bool isRenderView() const { return true; }
42 42
43 virtual void layout(); 43 virtual void layout();
44 virtual void calcWidth(); 44 virtual void calcWidth();
45 virtual void calcHeight(); 45 virtual void calcHeight();
46 virtual void calcPrefWidths(); 46 virtual void calcPrefWidths();
47 virtual FloatPoint localToAbsolute(FloatPoint localPoint = FloatPoint(), boo l fixed = false, bool useTransforms = false) const; 47 virtual FloatPoint localToAbsolute(FloatPoint localPoint = FloatPoint(), boo l fixed = false, bool useTransforms = false) const;
48 virtual FloatPoint absoluteToLocal(FloatPoint containerPoint, bool fixed = f alse, bool useTransforms = false) const; 48 virtual FloatPoint absoluteToLocal(FloatPoint containerPoint, bool fixed = f alse, bool useTransforms = false) const;
49 virtual FloatQuad localToAbsoluteQuad(const FloatQuad&, bool fixed = false) const;
49 50
50 int docHeight() const; 51 int docHeight() const;
51 int docWidth() const; 52 int docWidth() const;
52 53
53 // The same as the FrameView's visibleHeight/visibleWidth but with null chec k guards. 54 // The same as the FrameView's visibleHeight/visibleWidth but with null chec k guards.
54 int viewHeight() const; 55 int viewHeight() const;
55 int viewWidth() const; 56 int viewWidth() const;
56 57
57 float zoomFactor() const { return m_frameView->frame() && m_frameView->frame ()->shouldApplyPageZoom() ? m_frameView->frame()->zoomFactor() : 1.0f; } 58 float zoomFactor() const { return m_frameView->frame() && m_frameView->frame ()->shouldApplyPageZoom() ? m_frameView->frame()->zoomFactor() : 1.0f; }
58 59
(...skipping 15 matching lines...) Expand all
74 bool printing() const; 75 bool printing() const;
75 void setPrintImages(bool enable) { m_printImages = enable; } 76 void setPrintImages(bool enable) { m_printImages = enable; }
76 bool printImages() const { return m_printImages; } 77 bool printImages() const { return m_printImages; }
77 void setTruncatedAt(int y) { m_truncatedAt = y; m_bestTruncatedAt = m_trunca torWidth = 0; m_forcedPageBreak = false; } 78 void setTruncatedAt(int y) { m_truncatedAt = y; m_bestTruncatedAt = m_trunca torWidth = 0; m_forcedPageBreak = false; }
78 void setBestTruncatedAt(int y, RenderObject *forRenderer, bool forcedBreak = false); 79 void setBestTruncatedAt(int y, RenderObject *forRenderer, bool forcedBreak = false);
79 int bestTruncatedAt() const { return m_bestTruncatedAt; } 80 int bestTruncatedAt() const { return m_bestTruncatedAt; }
80 81
81 int truncatedAt() const { return m_truncatedAt; } 82 int truncatedAt() const { return m_truncatedAt; }
82 83
83 virtual void absoluteRects(Vector<IntRect>&, int tx, int ty, bool topLevel = true); 84 virtual void absoluteRects(Vector<IntRect>&, int tx, int ty, bool topLevel = true);
85 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true);
84 86
85 IntRect selectionRect(bool clipToVisibleContent = true) const; 87 IntRect selectionRect(bool clipToVisibleContent = true) const;
86 88
87 void setMaximalOutlineSize(int o) { m_maximalOutlineSize = o; } 89 void setMaximalOutlineSize(int o) { m_maximalOutlineSize = o; }
88 int maximalOutlineSize() const { return m_maximalOutlineSize; } 90 int maximalOutlineSize() const { return m_maximalOutlineSize; }
89 91
90 virtual IntRect viewRect() const; 92 virtual IntRect viewRect() const;
91 93
92 virtual void selectionStartEnd(int& startPos, int& endPos) const; 94 virtual void selectionStartEnd(int& startPos, int& endPos) const;
93 95
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 private: 213 private:
212 RenderView* m_view; 214 RenderView* m_view;
213 bool m_shouldPushPop : 1; // true if we should push/pop, rather than disab le/enable 215 bool m_shouldPushPop : 1; // true if we should push/pop, rather than disab le/enable
214 bool m_didStart : 1; // true if we did a push or disable 216 bool m_didStart : 1; // true if we did a push or disable
215 bool m_didEnd : 1; // true if we popped or re-enabled 217 bool m_didEnd : 1; // true if we popped or re-enabled
216 }; 218 };
217 219
218 } // namespace WebCore 220 } // namespace WebCore
219 221
220 #endif // RenderView_h 222 #endif // RenderView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderText.cpp ('k') | third_party/WebKit/WebCore/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698