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

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

Issue 201363002: DevTools: defer styles delta calculation to until the end of the task. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing 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
139
137 private: 140 private:
138 InspectorController(Page*, InspectorClient*); 141 InspectorController(Page*, InspectorClient*);
139 142
140 void initializeDeferredAgents(); 143 void initializeDeferredAgents();
141 144
142 friend InstrumentingAgents* instrumentationForPage(Page*); 145 friend InstrumentingAgents* instrumentationForPage(Page*);
143 146
144 RefPtr<InstrumentingAgents> m_instrumentingAgents; 147 RefPtr<InstrumentingAgents> m_instrumentingAgents;
145 OwnPtr<InjectedScriptManager> m_injectedScriptManager; 148 OwnPtr<InjectedScriptManager> m_injectedScriptManager;
146 OwnPtr<InspectorCompositeState> m_state; 149 OwnPtr<InspectorCompositeState> m_state;
(...skipping 12 matching lines...) Expand all
159 InspectorAgentRegistry m_agents; 162 InspectorAgentRegistry m_agents;
160 Vector<InspectorAgent*> m_moduleAgents; 163 Vector<InspectorAgent*> m_moduleAgents;
161 bool m_isUnderTest; 164 bool m_isUnderTest;
162 bool m_deferredAgentsInitialized; 165 bool m_deferredAgentsInitialized;
163 }; 166 };
164 167
165 } 168 }
166 169
167 170
168 #endif // !defined(InspectorController_h) 171 #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