OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 { | 49 { |
50 return new Performance(frame); | 50 return new Performance(frame); |
51 } | 51 } |
52 ~Performance() override; | 52 ~Performance() override; |
53 | 53 |
54 ExecutionContext* getExecutionContext() const override; | 54 ExecutionContext* getExecutionContext() const override; |
55 | 55 |
56 MemoryInfo* memory(); | 56 MemoryInfo* memory(); |
57 PerformanceNavigation* navigation() const; | 57 PerformanceNavigation* navigation() const; |
58 PerformanceTiming* timing() const override; | 58 PerformanceTiming* timing() const override; |
| 59 void enableInspectorInstrumentation() const override; |
59 | 60 |
60 DECLARE_VIRTUAL_TRACE(); | 61 DECLARE_VIRTUAL_TRACE(); |
61 | 62 |
62 private: | 63 private: |
63 explicit Performance(LocalFrame*); | 64 explicit Performance(LocalFrame*); |
64 | 65 |
65 mutable Member<PerformanceNavigation> m_navigation; | 66 mutable Member<PerformanceNavigation> m_navigation; |
66 mutable Member<PerformanceTiming> m_timing; | 67 mutable Member<PerformanceTiming> m_timing; |
67 }; | 68 }; |
68 | 69 |
69 } // namespace blink | 70 } // namespace blink |
70 | 71 |
71 #endif // Performance_h | 72 #endif // Performance_h |
OLD | NEW |