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

Side by Side Diff: Source/core/inspector/InspectorController.h

Issue 202893003: Reapply 169371 "DevTools: defer styles delta calculation to until the end of the task" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Lint Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 bool isUnderTest(); 115 bool isUnderTest();
116 void evaluateForTestInFrontend(long callId, const String& script); 116 void evaluateForTestInFrontend(long callId, const String& script);
117 117
118 void resume(); 118 void resume();
119 119
120 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize , int maximumSingleResourceContentSize); 120 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize , int maximumSingleResourceContentSize);
121 121
122 void willProcessTask(); 122 void willProcessTask();
123 void didProcessTask(); 123 void didProcessTask();
124 void flushPendingFrontendMessages();
124 125
125 void didCommitLoadForMainFrame(); 126 void didCommitLoadForMainFrame();
126 void didBeginFrame(int frameId); 127 void didBeginFrame(int frameId);
127 void didCancelFrame(); 128 void didCancelFrame();
128 void willComposite(); 129 void willComposite();
129 void didComposite(); 130 void didComposite();
130 131
131 void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedG PUMemoryBytes); 132 void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedG PUMemoryBytes);
132 133
133 void scriptsEnabled(bool); 134 void scriptsEnabled(bool);
134 135
135 void willAddPageOverlay(const GraphicsLayer*); 136 void willAddPageOverlay(const GraphicsLayer*);
136 void didRemovePageOverlay(const GraphicsLayer*); 137 void didRemovePageOverlay(const GraphicsLayer*);
138
137 private: 139 private:
138 InspectorController(Page*, InspectorClient*); 140 InspectorController(Page*, InspectorClient*);
139 141
140 void initializeDeferredAgents(); 142 void initializeDeferredAgents();
141 143
142 friend InstrumentingAgents* instrumentationForPage(Page*); 144 friend InstrumentingAgents* instrumentationForPage(Page*);
143 145
144 RefPtr<InstrumentingAgents> m_instrumentingAgents; 146 RefPtr<InstrumentingAgents> m_instrumentingAgents;
145 OwnPtr<InjectedScriptManager> m_injectedScriptManager; 147 OwnPtr<InjectedScriptManager> m_injectedScriptManager;
146 OwnPtr<InspectorCompositeState> m_state; 148 OwnPtr<InspectorCompositeState> m_state;
(...skipping 12 matching lines...) Expand all
159 InspectorAgentRegistry m_agents; 161 InspectorAgentRegistry m_agents;
160 Vector<InspectorAgent*> m_moduleAgents; 162 Vector<InspectorAgent*> m_moduleAgents;
161 bool m_isUnderTest; 163 bool m_isUnderTest;
162 bool m_deferredAgentsInitialized; 164 bool m_deferredAgentsInitialized;
163 }; 165 };
164 166
165 } 167 }
166 168
167 169
168 #endif // !defined(InspectorController_h) 170 #endif // !defined(InspectorController_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorCSSAgent.cpp ('k') | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698