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

Side by Side Diff: third_party/WebKit/Source/web/InspectorEmulationAgent.h

Issue 2841463003: scheduler: Make virtual time expiration deterministic (Closed)
Patch Set: Rebased Created 3 years, 7 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InspectorEmulationAgent_h 5 #ifndef InspectorEmulationAgent_h
6 #define InspectorEmulationAgent_h 6 #define InspectorEmulationAgent_h
7 7
8 #include "core/inspector/InspectorBaseAgent.h" 8 #include "core/inspector/InspectorBaseAgent.h"
9 #include "core/inspector/protocol/Emulation.h" 9 #include "core/inspector/protocol/Emulation.h"
10 #include "platform/WebTaskRunner.h"
11 10
12 namespace blink { 11 namespace blink {
13 12
14 class WebLocalFrameImpl; 13 class WebLocalFrameImpl;
15 class WebViewBase; 14 class WebViewBase;
16 15
17 namespace protocol { 16 namespace protocol {
18 namespace DOM { 17 namespace DOM {
19 class RGBA; 18 class RGBA;
20 } // namespace DOM 19 } // namespace DOM
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 57
59 DECLARE_VIRTUAL_TRACE(); 58 DECLARE_VIRTUAL_TRACE();
60 59
61 private: 60 private:
62 InspectorEmulationAgent(WebLocalFrameImpl*, Client*); 61 InspectorEmulationAgent(WebLocalFrameImpl*, Client*);
63 WebViewBase* GetWebViewBase(); 62 WebViewBase* GetWebViewBase();
64 void VirtualTimeBudgetExpired(); 63 void VirtualTimeBudgetExpired();
65 64
66 Member<WebLocalFrameImpl> web_local_frame_impl_; 65 Member<WebLocalFrameImpl> web_local_frame_impl_;
67 Client* client_; 66 Client* client_;
68 TaskHandle virtual_time_budget_expired_task_handle_;
69 }; 67 };
70 68
71 } // namespace blink 69 } // namespace blink
72 70
73 #endif // !defined(InspectorEmulationAgent_h) 71 #endif // !defined(InspectorEmulationAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698