| 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 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class WebString; | 40 class WebString; |
| 41 struct WebDeviceEmulationParams; | 41 struct WebDeviceEmulationParams; |
| 42 | 42 |
| 43 class WebDevToolsAgentClient { | 43 class WebDevToolsAgentClient { |
| 44 public: | 44 public: |
| 45 // Sends response message over the protocol, update agent state on the brows
er side for | 45 // Sends response message over the protocol, update agent state on the brows
er side for |
| 46 // potential re-attach. |callId| for notifications is 0, |state| for notific
ations is empty. | 46 // potential re-attach. |callId| for notifications is 0, |state| for notific
ations is empty. |
| 47 virtual void sendProtocolMessage(int sessionId, int callId, const WebString&
response, const WebString& state) { } | 47 virtual void sendProtocolMessage(int callId, const WebString& response, cons
t WebString& state) { } |
| 48 | 48 |
| 49 // Returns process id. | 49 // Returns process id. |
| 50 virtual long processId() { return -1; } | 50 virtual long processId() { return -1; } |
| 51 | 51 |
| 52 // Returns unique identifier of the entity within process. | 52 // Returns unique identifier of the entity within process. |
| 53 virtual int debuggerId() { return -1; } | 53 virtual int debuggerId() { return -1; } |
| 54 | 54 |
| 55 // Resume the inspected renderer that is waiting for DevTools front-end to i
nitialize its state. | 55 // Resume the inspected renderer that is waiting for DevTools front-end to i
nitialize its state. |
| 56 virtual void resumeStartup() { } | 56 virtual void resumeStartup() { } |
| 57 | 57 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 68 virtual void enableTracing(const WebString& categoryFilter) { } | 68 virtual void enableTracing(const WebString& categoryFilter) { } |
| 69 virtual void disableTracing() { } | 69 virtual void disableTracing() { } |
| 70 | 70 |
| 71 protected: | 71 protected: |
| 72 ~WebDevToolsAgentClient() { } | 72 ~WebDevToolsAgentClient() { } |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace blink | 75 } // namespace blink |
| 76 | 76 |
| 77 #endif | 77 #endif |
| OLD | NEW |