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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 m_attached = true; | 239 m_attached = true; |
240 } | 240 } |
241 | 241 |
242 void WebDevToolsAgentImpl::detach() | 242 void WebDevToolsAgentImpl::detach() |
243 { | 243 { |
244 blink::Platform::current()->currentThread()->removeTaskObserver(this); | 244 blink::Platform::current()->currentThread()->removeTaskObserver(this); |
245 | 245 |
246 // Prevent controller from sending messages to the frontend. | 246 // Prevent controller from sending messages to the frontend. |
247 InspectorController* ic = inspectorController(); | 247 InspectorController* ic = inspectorController(); |
248 ic->disconnectFrontend(); | 248 ic->disconnectFrontend(); |
249 ic->hideHighlight(); | |
250 m_attached = false; | 249 m_attached = false; |
251 } | 250 } |
252 | 251 |
253 void WebDevToolsAgentImpl::didNavigate() | 252 void WebDevToolsAgentImpl::didNavigate() |
254 { | 253 { |
255 ClientMessageLoopAdapter::didNavigate(); | 254 ClientMessageLoopAdapter::didNavigate(); |
256 } | 255 } |
257 | 256 |
258 void WebDevToolsAgentImpl::didBeginFrame(int frameId) | 257 void WebDevToolsAgentImpl::didBeginFrame(int frameId) |
259 { | 258 { |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) | 703 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) |
705 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); | 704 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); |
706 } | 705 } |
707 | 706 |
708 void WebDevToolsAgent::processPendingMessages() | 707 void WebDevToolsAgent::processPendingMessages() |
709 { | 708 { |
710 PageScriptDebugServer::shared().runPendingTasks(); | 709 PageScriptDebugServer::shared().runPendingTasks(); |
711 } | 710 } |
712 | 711 |
713 } // namespace blink | 712 } // namespace blink |
OLD | NEW |