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

Side by Side Diff: sky/engine/core/frame/FrameView.h

Issue 850763008: Remove assorted dead paint invalidation code. (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 | « no previous file | sky/engine/core/rendering/RenderBox.h » ('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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 IntPoint contentsToWindow(const IntPoint& contentsPoint) const { return cont entsPoint; } 184 IntPoint contentsToWindow(const IntPoint& contentsPoint) const { return cont entsPoint; }
185 IntRect windowToContents(const IntRect& windowRect) const { return windowRec t; } 185 IntRect windowToContents(const IntRect& windowRect) const { return windowRec t; }
186 IntRect contentsToWindow(const IntRect& contentsRect) const { return content sRect; } 186 IntRect contentsToWindow(const IntRect& contentsRect) const { return content sRect; }
187 187
188 bool scheduleAnimation(); 188 bool scheduleAnimation();
189 IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) cons t { return IntRect(IntPoint(), expandedIntSize(frameRect().size())); } 189 IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) cons t { return IntRect(IntPoint(), expandedIntSize(frameRect().size())); }
190 IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollba rs) const { return frameRect().size(); } 190 IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollba rs) const { return frameRect().size(); }
191 // FIXME(sky): Not clear what values these should return. This is just what they happen to be 191 // FIXME(sky): Not clear what values these should return. This is just what they happen to be
192 // returning today. 192 // returning today.
193 bool paintsEntireContents() const { return false; } 193 bool paintsEntireContents() const { return false; }
194 bool clipsPaintInvalidations() const { return true; }
195 194
196 // For inspector reporting: 195 // For inspector reporting:
197 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total Objects, bool& isPartial); 196 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total Objects, bool& isPartial);
198 197
199 protected: 198 protected:
200 bool isVerticalDocument() const; 199 bool isVerticalDocument() const;
201 bool isFlippedDocument() const; 200 bool isFlippedDocument() const;
202 201
203 private: 202 private:
204 explicit FrameView(LocalFrame*); 203 explicit FrameView(LocalFrame*);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 bool m_layoutSizeFixedToFrameSize; 270 bool m_layoutSizeFixedToFrameSize;
272 271
273 Vector<IntRect> m_tickmarks; 272 Vector<IntRect> m_tickmarks;
274 }; 273 };
275 274
276 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 275 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
277 276
278 } // namespace blink 277 } // namespace blink
279 278
280 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 279 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698