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

Side by Side Diff: Source/web/WebDevToolsAgentImpl.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
« no previous file with comments | « Source/devtools/front_end/CSSStyleModel.js ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual void resetTraceEventCallback() OVERRIDE; 117 virtual void resetTraceEventCallback() OVERRIDE;
118 virtual void startGPUEventsRecording() OVERRIDE; 118 virtual void startGPUEventsRecording() OVERRIDE;
119 virtual void stopGPUEventsRecording() OVERRIDE; 119 virtual void stopGPUEventsRecording() OVERRIDE;
120 120
121 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&) OVERRID E; 121 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&) OVERRID E;
122 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&) OVERRIDE ; 122 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&) OVERRIDE ;
123 123
124 // WebPageOverlay 124 // WebPageOverlay
125 virtual void paintPageOverlay(WebCanvas*) OVERRIDE; 125 virtual void paintPageOverlay(WebCanvas*) OVERRIDE;
126 126
127 void flushPendingFrontendMessages();
128
127 private: 129 private:
128 // WebThread::TaskObserver 130 // WebThread::TaskObserver
129 virtual void willProcessTask() OVERRIDE; 131 virtual void willProcessTask() OVERRIDE;
130 virtual void didProcessTask() OVERRIDE; 132 virtual void didProcessTask() OVERRIDE;
131 133
132 void enableViewportEmulation(); 134 void enableViewportEmulation();
133 void disableViewportEmulation(); 135 void disableViewportEmulation();
134 136
135 WebCore::InspectorController* inspectorController(); 137 WebCore::InspectorController* inspectorController();
136 WebCore::LocalFrame* mainFrame(); 138 WebCore::LocalFrame* mainFrame();
137 139
138 int m_hostId; 140 int m_hostId;
139 WebDevToolsAgentClient* m_client; 141 WebDevToolsAgentClient* m_client;
140 WebViewImpl* m_webViewImpl; 142 WebViewImpl* m_webViewImpl;
141 bool m_attached; 143 bool m_attached;
142 bool m_generatingEvent; 144 bool m_generatingEvent;
143 bool m_deviceMetricsEnabled; 145 bool m_deviceMetricsEnabled;
144 bool m_emulateViewportEnabled; 146 bool m_emulateViewportEnabled;
145 bool m_originalViewportEnabled; 147 bool m_originalViewportEnabled;
146 bool m_isOverlayScrollbarsEnabled; 148 bool m_isOverlayScrollbarsEnabled;
147 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; 149 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue;
148 FrontendMessageQueue m_frontendMessageQueue; 150 FrontendMessageQueue m_frontendMessageQueue;
149 }; 151 };
150 152
151 } // namespace blink 153 } // namespace blink
152 154
153 #endif 155 #endif
OLDNEW
« no previous file with comments | « Source/devtools/front_end/CSSStyleModel.js ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698