OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010-2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2010-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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 void WebDevToolsAgentImpl::clearBrowserCache() | 310 void WebDevToolsAgentImpl::clearBrowserCache() |
311 { | 311 { |
312 m_client->clearBrowserCache(); | 312 m_client->clearBrowserCache(); |
313 } | 313 } |
314 | 314 |
315 void WebDevToolsAgentImpl::clearBrowserCookies() | 315 void WebDevToolsAgentImpl::clearBrowserCookies() |
316 { | 316 { |
317 m_client->clearBrowserCookies(); | 317 m_client->clearBrowserCookies(); |
318 } | 318 } |
319 | 319 |
320 void WebDevToolsAgentImpl::setCacheDisabled(bool cacheDisabled) | |
321 { | |
322 memoryCache()->setDisabled(cacheDisabled); | |
323 } | |
324 | |
325 void WebDevToolsAgentImpl::setProcessId(long processId) | 320 void WebDevToolsAgentImpl::setProcessId(long processId) |
326 { | 321 { |
327 inspectorController()->setProcessId(processId); | 322 inspectorController()->setProcessId(processId); |
328 } | 323 } |
329 | 324 |
330 void WebDevToolsAgentImpl::evaluateInWebInspector(long callId, const WebString&
script) | 325 void WebDevToolsAgentImpl::evaluateInWebInspector(long callId, const WebString&
script) |
331 { | 326 { |
332 InspectorController* ic = inspectorController(); | 327 InspectorController* ic = inspectorController(); |
333 ic->evaluateForTestInFrontend(callId, script); | 328 ic->evaluateForTestInFrontend(callId, script); |
334 } | 329 } |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 { | 374 { |
380 PageScriptDebugServer::shared().runPendingTasks(); | 375 PageScriptDebugServer::shared().runPendingTasks(); |
381 } | 376 } |
382 | 377 |
383 void WebDevToolsAgent::setMessageLoopDispatchHandler(MessageLoopDispatchHandler
handler) | 378 void WebDevToolsAgent::setMessageLoopDispatchHandler(MessageLoopDispatchHandler
handler) |
384 { | 379 { |
385 DebuggerAgentManager::setMessageLoopDispatchHandler(handler); | 380 DebuggerAgentManager::setMessageLoopDispatchHandler(handler); |
386 } | 381 } |
387 | 382 |
388 } // namespace WebKit | 383 } // namespace WebKit |
OLD | NEW |