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

Side by Side Diff: Source/core/frame/FrameView.h

Issue 346603007: Remove position: sticky (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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) 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 void setCannotBlitToWindow(); 167 void setCannotBlitToWindow();
168 void setIsOverlapped(bool); 168 void setIsOverlapped(bool);
169 bool isOverlapped() const { return m_isOverlapped; } 169 bool isOverlapped() const { return m_isOverlapped; }
170 void setContentIsOpaque(bool); 170 void setContentIsOpaque(bool);
171 171
172 void addSlowRepaintObject(); 172 void addSlowRepaintObject();
173 void removeSlowRepaintObject(); 173 void removeSlowRepaintObject();
174 bool hasSlowRepaintObjects() const { return m_slowRepaintObjectCount; } 174 bool hasSlowRepaintObjects() const { return m_slowRepaintObjectCount; }
175 175
176 // Includes fixed- and sticky-position objects. 176 // Fixed-position objects.
177 typedef HashSet<RenderObject*> ViewportConstrainedObjectSet; 177 typedef HashSet<RenderObject*> ViewportConstrainedObjectSet;
178 void addViewportConstrainedObject(RenderObject*); 178 void addViewportConstrainedObject(RenderObject*);
179 void removeViewportConstrainedObject(RenderObject*); 179 void removeViewportConstrainedObject(RenderObject*);
180 const ViewportConstrainedObjectSet* viewportConstrainedObjects() const { ret urn m_viewportConstrainedObjects.get(); } 180 const ViewportConstrainedObjectSet* viewportConstrainedObjects() const { ret urn m_viewportConstrainedObjects.get(); }
181 bool hasViewportConstrainedObjects() const { return m_viewportConstrainedObj ects && m_viewportConstrainedObjects->size() > 0; } 181 bool hasViewportConstrainedObjects() const { return m_viewportConstrainedObj ects && m_viewportConstrainedObjects->size() > 0; }
182 182
183 void handleLoadCompleted(); 183 void handleLoadCompleted();
184 184
185 void updateAnnotatedRegions(); 185 void updateAnnotatedRegions();
186 void updateControlTints(); 186 void updateControlTints();
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 556 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
557 } 557 }
558 private: 558 private:
559 FrameView* m_view; 559 FrameView* m_view;
560 bool m_originalValue; 560 bool m_originalValue;
561 }; 561 };
562 562
563 } // namespace WebCore 563 } // namespace WebCore
564 564
565 #endif // FrameView_h 565 #endif // FrameView_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleAdjuster.cpp ('k') | Source/core/page/scrolling/ScrollingConstraints.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698