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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 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
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void removePart(LayoutPart*); 215 void removePart(LayoutPart*);
216 216
217 void updateWidgetPositions(); 217 void updateWidgetPositions();
218 218
219 void addPartToUpdate(LayoutEmbeddedObject&); 219 void addPartToUpdate(LayoutEmbeddedObject&);
220 220
221 void setIsPainting(bool val) const { m_isPainting = val; } 221 void setIsPainting(bool val) const { m_isPainting = val; }
222 bool isPainting() const; 222 bool isPainting() const;
223 223
224 void setNodeToDraw(Node*); 224 void setNodeToDraw(Node*);
225 Node* nodeToDraw() const; 225 Node* nodeToDraw() const { return m_nodeToDraw.get(); }
226 226
227 Color documentBackgroundColor() const; 227 Color documentBackgroundColor() const;
228 228
229 // Run all needed lifecycle stages. After calling this method, all frames wi ll be in the lifecycle state PaintInvalidationClean. 229 // Run all needed lifecycle stages. After calling this method, all frames wi ll be in the lifecycle state PaintInvalidationClean.
230 // If lifecycle throttling is allowed (see DocumentLifecycle::PreventThrottl ingScope), some frames may skip the lifecycle update 230 // If lifecycle throttling is allowed (see DocumentLifecycle::PreventThrottl ingScope), some frames may skip the lifecycle update
231 // (e.g., based on visibility) and will not end up being PaintInvalidationCl ean. 231 // (e.g., based on visibility) and will not end up being PaintInvalidationCl ean.
232 void updateAllLifecyclePhases(); 232 void updateAllLifecyclePhases();
233 233
234 // Computes the style, layout and compositing lifecycle stages if needed. Af ter calling this method, all frames will be in a lifecycle 234 // Computes the style, layout and compositing lifecycle stages if needed. Af ter calling this method, all frames will be in a lifecycle
235 // state >= CompositingClean, and scrolling has been updated (unless throttl ing is allowed). 235 // state >= CompositingClean, and scrolling has been updated (unless throttl ing is allowed).
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 static const unsigned visualPixelThreshold = 32 * 32; 907 static const unsigned visualPixelThreshold = 32 * 32;
908 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 908 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
909 setIsVisuallyNonEmpty(); 909 setIsVisuallyNonEmpty();
910 } 910 }
911 911
912 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 912 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
913 913
914 } // namespace blink 914 } // namespace blink
915 915
916 #endif // FrameView_h 916 #endif // FrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698