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

Side by Side Diff: third_party/WebKit/public/web/WebMeaningfulLayout.h

Issue 1398823004: Switch the page-capturing machinery to use the new hooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698