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

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

Issue 2795263002: Add a new document lifecycle; CompositingInputsClean (Closed)
Patch Set: Rebase past blink reformat 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 // Everything except paint (the last phase). 280 // Everything except paint (the last phase).
281 void UpdateAllLifecyclePhasesExceptPaint(); 281 void UpdateAllLifecyclePhasesExceptPaint();
282 282
283 // Computes the style, layout and compositing lifecycle stages if needed. 283 // Computes the style, layout and compositing lifecycle stages if needed.
284 // After calling this method, all frames will be in a lifecycle 284 // After calling this method, all frames will be in a lifecycle
285 // state >= CompositingClean, and scrolling has been updated (unless 285 // state >= CompositingClean, and scrolling has been updated (unless
286 // throttling is allowed). 286 // throttling is allowed).
287 void UpdateLifecycleToCompositingCleanPlusScrolling(); 287 void UpdateLifecycleToCompositingCleanPlusScrolling();
288 288
289 // Computes the style, layout, and compositing inputs lifecycle stages if
290 // needed. After calling this method, all frames will be in a lifecycle state
291 // >= CompositingInputsClean (unless throttling is allowed).
292 void UpdateLifecycleToCompositingInputsClean();
293
289 // Computes only the style and layout lifecycle stages. 294 // Computes only the style and layout lifecycle stages.
290 // After calling this method, all frames will be in a lifecycle 295 // After calling this method, all frames will be in a lifecycle
291 // state >= LayoutClean (unless throttling is allowed). 296 // state >= LayoutClean (unless throttling is allowed).
292 void UpdateLifecycleToLayoutClean(); 297 void UpdateLifecycleToLayoutClean();
293 298
294 void ScheduleVisualUpdateForPaintInvalidationIfNeeded(); 299 void ScheduleVisualUpdateForPaintInvalidationIfNeeded();
295 300
296 bool InvalidateViewportConstrainedObjects(); 301 bool InvalidateViewportConstrainedObjects();
297 302
298 void IncrementLayoutObjectCount() { layout_object_counter_.Increment(); } 303 void IncrementLayoutObjectCount() { layout_object_counter_.Increment(); }
(...skipping 967 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

Powered by Google App Engine
This is Rietveld 408576698