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

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

Issue 2795263002: Add a new document lifecycle; CompositingInputsClean (Closed)
Patch Set: Rebase Created 3 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 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 286
287 // Everything except paint (the last phase). 287 // Everything except paint (the last phase).
288 void UpdateAllLifecyclePhasesExceptPaint(); 288 void UpdateAllLifecyclePhasesExceptPaint();
289 289
290 // Computes the style, layout and compositing lifecycle stages if needed. 290 // Computes the style, layout and compositing lifecycle stages if needed.
291 // After calling this method, all frames will be in a lifecycle 291 // After calling this method, all frames will be in a lifecycle
292 // state >= CompositingClean, and scrolling has been updated (unless 292 // state >= CompositingClean, and scrolling has been updated (unless
293 // throttling is allowed). 293 // throttling is allowed).
294 void UpdateLifecycleToCompositingCleanPlusScrolling(); 294 void UpdateLifecycleToCompositingCleanPlusScrolling();
295 295
296 // Computes the style, layout, and compositing inputs lifecycle stages if
297 // needed. After calling this method, all frames will be in a lifecycle state
298 // >= CompositingInputsClean (unless throttling is allowed).
299 void UpdateLifecycleToCompositingInputsClean();
300
296 // Computes only the style and layout lifecycle stages. 301 // Computes only the style and layout lifecycle stages.
297 // After calling this method, all frames will be in a lifecycle 302 // After calling this method, all frames will be in a lifecycle
298 // state >= LayoutClean (unless throttling is allowed). 303 // state >= LayoutClean (unless throttling is allowed).
299 void UpdateLifecycleToLayoutClean(); 304 void UpdateLifecycleToLayoutClean();
300 305
301 void ScheduleVisualUpdateForPaintInvalidationIfNeeded(); 306 void ScheduleVisualUpdateForPaintInvalidationIfNeeded();
302 307
303 bool InvalidateViewportConstrainedObjects(); 308 bool InvalidateViewportConstrainedObjects();
304 309
305 void IncrementLayoutObjectCount() { layout_object_counter_.Increment(); } 310 void IncrementLayoutObjectCount() { layout_object_counter_.Increment(); }
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
1266 frameViewBase.IsFrameView()); 1271 frameViewBase.IsFrameView());
1267 DEFINE_TYPE_CASTS(FrameView, 1272 DEFINE_TYPE_CASTS(FrameView,
1268 ScrollableArea, 1273 ScrollableArea,
1269 scrollableArea, 1274 scrollableArea,
1270 scrollableArea->IsFrameView(), 1275 scrollableArea->IsFrameView(),
1271 scrollableArea.IsFrameView()); 1276 scrollableArea.IsFrameView());
1272 1277
1273 } // namespace blink 1278 } // namespace blink
1274 1279
1275 #endif // FrameView_h 1280 #endif // FrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentLifecycle.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