OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebMeaningfulLayout_h |
| 6 #define WebMeaningfulLayout_h |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 enum WebMeaningfulLayout { |
| 11 // Signifies that one of the following things were involved during the layou
t: |
| 12 // * > 200 text characters |
| 13 // * > 1024 image pixels |
| 14 // * a plugin |
| 15 // * a canvas |
| 16 // An approximation for first layout that resulted in pixels on screen. |
| 17 // Not the best heuristic, and we should replace it with something better. |
| 18 VisuallyNonEmpty, |
| 19 // First layout of a frame immediately after the parsing finished. |
| 20 FinishedParsing, |
| 21 // First layout of a frame immediately after the loading finished. |
| 22 FinishedLoading |
| 23 }; |
| 24 } |
| 25 |
| 26 #endif |
OLD | NEW |