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

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

Issue 2123663003: Moved RootFrameViewport creation to happen after document attachment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved RootFrameViewport creation to happen after document attachment Created 4 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
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // Objects with background-attachment:fixed. 216 // Objects with background-attachment:fixed.
217 void addBackgroundAttachmentFixedObject(LayoutObject*); 217 void addBackgroundAttachmentFixedObject(LayoutObject*);
218 void removeBackgroundAttachmentFixedObject(LayoutObject*); 218 void removeBackgroundAttachmentFixedObject(LayoutObject*);
219 bool hasBackgroundAttachmentFixedObjects() const { return m_backgroundAttach mentFixedObjects.size(); } 219 bool hasBackgroundAttachmentFixedObjects() const { return m_backgroundAttach mentFixedObjects.size(); }
220 void invalidateBackgroundAttachmentFixedObjects(); 220 void invalidateBackgroundAttachmentFixedObjects();
221 221
222 void handleLoadCompleted(); 222 void handleLoadCompleted();
223 223
224 void updateDocumentAnnotatedRegions() const; 224 void updateDocumentAnnotatedRegions() const;
225 225
226 void didAttachDocument();
227
226 void restoreScrollbar(); 228 void restoreScrollbar();
227 229
228 void postLayoutTimerFired(Timer<FrameView>*); 230 void postLayoutTimerFired(Timer<FrameView>*);
229 231
230 bool safeToPropagateScrollToParent() const { return m_safeToPropagateScrollT oParent; } 232 bool safeToPropagateScrollToParent() const { return m_safeToPropagateScrollT oParent; }
231 void setSafeToPropagateScrollToParent(bool isSafe) { m_safeToPropagateScroll ToParent = isSafe; } 233 void setSafeToPropagateScrollToParent(bool isSafe) { m_safeToPropagateScroll ToParent = isSafe; }
232 234
233 void addPart(LayoutPart*); 235 void addPart(LayoutPart*);
234 void removePart(LayoutPart*); 236 void removePart(LayoutPart*);
235 237
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 949 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
948 setIsVisuallyNonEmpty(); 950 setIsVisuallyNonEmpty();
949 } 951 }
950 952
951 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 953 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
952 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView()); 954 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView());
953 955
954 } // namespace blink 956 } // namespace blink
955 957
956 #endif // FrameView_h 958 #endif // FrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698