| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 virtual void didNavigate() = 0; | 45 virtual void didNavigate() = 0; |
| 46 | 46 |
| 47 virtual void dispatchMessageFromFrontend(const WebString& className, | 47 virtual void dispatchMessageFromFrontend(const WebString& className, |
| 48 const WebString& methodName, | 48 const WebString& methodName, |
| 49 const WebString& param1, | 49 const WebString& param1, |
| 50 const WebString& param2, | 50 const WebString& param2, |
| 51 const WebString& param3) = 0; | 51 const WebString& param3) = 0; |
| 52 | 52 |
| 53 virtual void inspectElementAt(const WebPoint&) = 0; | 53 virtual void inspectElementAt(const WebPoint&) = 0; |
| 54 | 54 |
| 55 virtual void setApuAgentEnabled(bool enabled) = 0; | 55 virtual void setRuntimeFeatureEnabled(const WebString& feature, bool enabled) = 0; |
| 56 | 56 |
| 57 // Asynchronously executes debugger command in the render thread. | 57 // Asynchronously executes debugger command in the render thread. |
| 58 // |caller_id| will be used for sending response. | 58 // |callerIdentifier| will be used for sending response. |
| 59 WEBKIT_API static void executeDebuggerCommand( | 59 WEBKIT_API static void executeDebuggerCommand( |
| 60 const WebString& command, int callerIdentifier); | 60 const WebString& command, int callerIdentifier); |
| 61 | 61 |
| 62 typedef void (*MessageLoopDispatchHandler)(); | 62 typedef void (*MessageLoopDispatchHandler)(); |
| 63 | 63 |
| 64 // Installs dispatch handle that is going to be called periodically | 64 // Installs dispatch handle that is going to be called periodically |
| 65 // while on a breakpoint. | 65 // while on a breakpoint. |
| 66 static void setMessageLoopDispatchHandler(MessageLoopDispatchHandler); | 66 static void setMessageLoopDispatchHandler(MessageLoopDispatchHandler); |
| 67 | 67 |
| 68 protected: | 68 protected: |
| 69 ~WebDevToolsAgent() {} | 69 ~WebDevToolsAgent() {} |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace WebKit | 72 } // namespace WebKit |
| 73 | 73 |
| 74 #endif | 74 #endif |
| OLD | NEW |