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

Side by Side Diff: Source/WebCore/page/FrameView.h

Issue 13859006: Rework composited scrolling updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@early-out2
Patch Set: . Created 7 years, 8 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) 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 bool needsLayout() const; 110 bool needsLayout() const;
111 void setNeedsLayout(); 111 void setNeedsLayout();
112 void setViewportConstrainedObjectsNeedLayout(); 112 void setViewportConstrainedObjectsNeedLayout();
113 113
114 bool needsFullRepaint() const { return m_doFullRepaint; } 114 bool needsFullRepaint() const { return m_doFullRepaint; }
115 115
116 void serviceScriptedAnimations(double monotonicAnimationStartTime); 116 void serviceScriptedAnimations(double monotonicAnimationStartTime);
117 117
118 void updateCompositingLayersAfterStyleChange(); 118 void updateCompositingLayersAfterStyleChange();
119 void updateCompositingLayersAfterLayoutAndPositioning();
119 void updateCompositingLayersAfterLayout(); 120 void updateCompositingLayersAfterLayout();
120 121
121 bool hasCompositedContent() const; 122 bool hasCompositedContent() const;
122 bool isEnclosedInCompositingLayer() const; 123 bool isEnclosedInCompositingLayer() const;
123 124
124 // Returns true when a paint with the PaintBehaviorFlattenCompositingLayers flag set gives 125 // Returns true when a paint with the PaintBehaviorFlattenCompositingLayers flag set gives
125 // a faithful representation of the content. 126 // a faithful representation of the content.
126 bool isSoftwareRenderable() const; 127 bool isSoftwareRenderable() const;
127 128
128 void didMoveOnscreen(); 129 void didMoveOnscreen();
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 ASSERT(!widget || widget->isFrameView()); 607 ASSERT(!widget || widget->isFrameView());
607 return static_cast<const FrameView*>(widget); 608 return static_cast<const FrameView*>(widget);
608 } 609 }
609 610
610 // This will catch anyone doing an unnecessary cast. 611 // This will catch anyone doing an unnecessary cast.
611 void toFrameView(const FrameView*); 612 void toFrameView(const FrameView*);
612 613
613 } // namespace WebCore 614 } // namespace WebCore
614 615
615 #endif // FrameView_h 616 #endif // FrameView_h
OLDNEW
« no previous file with comments | « LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html ('k') | Source/WebCore/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698