| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 DISALLOW_ALLOCATION(); | 36 DISALLOW_ALLOCATION(); |
| 37 public: | 37 public: |
| 38 explicit DocumentTiming(Document&); | 38 explicit DocumentTiming(Document&); |
| 39 | 39 |
| 40 void markDomLoading(); | 40 void markDomLoading(); |
| 41 void markDomInteractive(); | 41 void markDomInteractive(); |
| 42 void markDomContentLoadedEventStart(); | 42 void markDomContentLoadedEventStart(); |
| 43 void markDomContentLoadedEventEnd(); | 43 void markDomContentLoadedEventEnd(); |
| 44 void markDomComplete(); | 44 void markDomComplete(); |
| 45 void markFirstLayout(); | 45 void markFirstLayout(); |
| 46 void markFirstNonBlankText(); |
| 47 void markFirstCustomFontText(); |
| 46 | 48 |
| 47 double domLoading() const { return m_domLoading; } | 49 double domLoading() const { return m_domLoading; } |
| 48 double domInteractive() const { return m_domInteractive; } | 50 double domInteractive() const { return m_domInteractive; } |
| 49 double domContentLoadedEventStart() const { return m_domContentLoadedEventSt
art; } | 51 double domContentLoadedEventStart() const { return m_domContentLoadedEventSt
art; } |
| 50 double domContentLoadedEventEnd() const { return m_domContentLoadedEventEnd;
} | 52 double domContentLoadedEventEnd() const { return m_domContentLoadedEventEnd;
} |
| 51 double domComplete() const { return m_domComplete; } | 53 double domComplete() const { return m_domComplete; } |
| 52 double firstLayout() const { return m_firstLayout; } | 54 double firstLayout() const { return m_firstLayout; } |
| 55 double firstNonBlankText() const { return m_firstNonBlankText; } |
| 56 double firstCustomFontText() const { return m_firstCustomFontText; } |
| 53 | 57 |
| 54 DECLARE_TRACE(); | 58 DECLARE_TRACE(); |
| 55 | 59 |
| 56 private: | 60 private: |
| 57 void notifyDocumentTimingChanged(); | 61 void notifyDocumentTimingChanged(); |
| 58 | 62 |
| 59 double m_domLoading; | 63 double m_domLoading; |
| 60 double m_domInteractive; | 64 double m_domInteractive; |
| 61 double m_domContentLoadedEventStart; | 65 double m_domContentLoadedEventStart; |
| 62 double m_domContentLoadedEventEnd; | 66 double m_domContentLoadedEventEnd; |
| 63 double m_domComplete; | 67 double m_domComplete; |
| 64 double m_firstLayout; | 68 double m_firstLayout; |
| 69 double m_firstNonBlankText; |
| 70 double m_firstCustomFontText; |
| 65 | 71 |
| 66 RawPtrWillBeMember<Document> m_document; | 72 RawPtrWillBeMember<Document> m_document; |
| 67 }; | 73 }; |
| 68 | 74 |
| 69 } | 75 } |
| 70 | 76 |
| 71 #endif | 77 #endif |
| OLD | NEW |