Changeset 96682 in webkit
- Timestamp:
- Oct 5, 2011 1:21:59 AM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r96678 r96682 1 2011-10-04 Yury Semikhatsky <yurys@chromium.org> 2 3 [Chromium] Web Inspector: save inspector state into single string instead of string map 4 https://bugs.webkit.org/show_bug.cgi?id=69335 5 6 Now that Chromium side is updated, remove unused methods from the DevToolsAgent API. 7 8 Reviewed by Pavel Feldman. 9 10 * public/WebDevToolsAgent.h: 11 * public/WebDevToolsAgentClient.h: 12 * src/WebDevToolsAgentImpl.cpp: 13 (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie): 14 * src/WebDevToolsAgentImpl.h: 15 1 16 2011-10-04 Kent Tamura <tkent@chromium.org> 2 17 -
trunk/Source/WebKit/chromium/public/WebDevToolsAgent.h
r96590 r96682 66 66 67 67 virtual void inspectElementAt(const WebPoint&) = 0; 68 // Deprecated. Will be removed shortly.69 virtual void setRuntimeProperty(const WebString& name, const WebString& value) = 0;70 68 virtual void setProcessId(long) = 0; 71 69 -
trunk/Source/WebKit/chromium/public/WebDevToolsAgentClient.h
r96590 r96682 47 47 virtual int hostIdentifier() { return -1; } 48 48 49 // Notifies host upon runtime feature being enabled/disabled.50 virtual void runtimePropertyChanged(const WebString& name, const WebString& value) { }51 49 // Save the agent state in order to pass it later into WebDevToolsAgent::reattach 52 50 // if the same client is reattached to another agent. -
trunk/Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp
r96590 r96682 72 72 namespace WebKit { 73 73 74 static const char kFrontendConnectedFeatureName[] = "frontend-connected";75 static const char kInspectorStateFeatureName[] = "inspector-state";76 77 74 class ClientMessageLoopAdapter : public PageScriptDebugServer::ClientMessageLoop { 78 75 public: … … 251 248 } 252 249 253 void WebDevToolsAgentImpl::setRuntimeProperty(const WebString& name, const WebString& value)254 {255 if (name == kInspectorStateFeatureName) {256 InspectorController* ic = inspectorController();257 ic->restoreInspectorStateFromCookie(value);258 }259 }260 261 250 InspectorController* WebDevToolsAgentImpl::inspectorController() 262 251 { … … 312 301 void WebDevToolsAgentImpl::updateInspectorStateCookie(const String& state) 313 302 { 314 m_client->runtimePropertyChanged(kInspectorStateFeatureName, state);315 303 m_client->saveAgentRuntimeState(state); 316 304 } -
trunk/Source/WebKit/chromium/src/WebDevToolsAgentImpl.h
r96590 r96682 82 82 virtual void evaluateInWebInspector(long callId, const WebString& script); 83 83 virtual void setJavaScriptProfilingEnabled(bool); 84 virtual void setRuntimeProperty(const WebString& name, const WebString& value);85 84 virtual void setProcessId(long); 86 85
Note: See TracChangeset
for help on using the changeset viewer.