| 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 15 matching lines...) Expand all Loading... |
| 26 #ifndef DocumentTiming_h | 26 #ifndef DocumentTiming_h |
| 27 #define DocumentTiming_h | 27 #define DocumentTiming_h |
| 28 | 28 |
| 29 #include "platform/heap/Handle.h" | 29 #include "platform/heap/Handle.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class Document; | 33 class Document; |
| 34 | 34 |
| 35 class DocumentTiming final { | 35 class DocumentTiming final { |
| 36 DISALLOW_ALLOCATION(); | 36 DISALLOW_NEW(); |
| 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 markFirstPaint(); | 46 void markFirstPaint(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 72 double m_firstPaint = 0.0; | 72 double m_firstPaint = 0.0; |
| 73 double m_firstTextPaint = 0.0; | 73 double m_firstTextPaint = 0.0; |
| 74 double m_firstImagePaint = 0.0; | 74 double m_firstImagePaint = 0.0; |
| 75 | 75 |
| 76 RawPtrWillBeMember<Document> m_document; | 76 RawPtrWillBeMember<Document> m_document; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } | 79 } |
| 80 | 80 |
| 81 #endif | 81 #endif |
| OLD | NEW |