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

Side by Side Diff: trunk/Source/web/WebDevToolsAgentImpl.h

Issue 196743008: Revert 169371 "DevTools: defer styles delta calculation to until..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: 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) 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
129 private: 127 private:
130 // WebThread::TaskObserver 128 // WebThread::TaskObserver
131 virtual void willProcessTask() OVERRIDE; 129 virtual void willProcessTask() OVERRIDE;
132 virtual void didProcessTask() OVERRIDE; 130 virtual void didProcessTask() OVERRIDE;
133 131
134 void enableViewportEmulation(); 132 void enableViewportEmulation();
135 void disableViewportEmulation(); 133 void disableViewportEmulation();
136 134
137 WebCore::InspectorController* inspectorController(); 135 WebCore::InspectorController* inspectorController();
138 WebCore::LocalFrame* mainFrame(); 136 WebCore::LocalFrame* mainFrame();
139 137
140 int m_hostId; 138 int m_hostId;
141 WebDevToolsAgentClient* m_client; 139 WebDevToolsAgentClient* m_client;
142 WebViewImpl* m_webViewImpl; 140 WebViewImpl* m_webViewImpl;
143 bool m_attached; 141 bool m_attached;
144 bool m_generatingEvent; 142 bool m_generatingEvent;
145 bool m_deviceMetricsEnabled; 143 bool m_deviceMetricsEnabled;
146 bool m_emulateViewportEnabled; 144 bool m_emulateViewportEnabled;
147 bool m_originalViewportEnabled; 145 bool m_originalViewportEnabled;
148 bool m_isOverlayScrollbarsEnabled; 146 bool m_isOverlayScrollbarsEnabled;
149 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; 147 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue;
150 FrontendMessageQueue m_frontendMessageQueue; 148 FrontendMessageQueue m_frontendMessageQueue;
151 }; 149 };
152 150
153 } // namespace blink 151 } // namespace blink
154 152
155 #endif 153 #endif
OLDNEW
« no previous file with comments | « trunk/Source/devtools/front_end/CSSStyleModel.js ('k') | trunk/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698