| 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 29 matching lines...) Expand all Loading... |
| 40 struct WebPoint; | 40 struct WebPoint; |
| 41 | 41 |
| 42 class WebDevToolsAgent { | 42 class WebDevToolsAgent { |
| 43 public: | 43 public: |
| 44 virtual ~WebDevToolsAgent() {} | 44 virtual ~WebDevToolsAgent() {} |
| 45 | 45 |
| 46 virtual void Attach(const WebString& host_id, int session_id) = 0; | 46 virtual void Attach(const WebString& host_id, int session_id) = 0; |
| 47 virtual void Reattach(const WebString& host_id, | 47 virtual void Reattach(const WebString& host_id, |
| 48 int session_id, | 48 int session_id, |
| 49 const WebString& saved_state) = 0; | 49 const WebString& saved_state) = 0; |
| 50 virtual void Detach() = 0; | 50 virtual void Detach(int session_id) = 0; |
| 51 | 51 |
| 52 virtual void ContinueProgram() = 0; | 52 virtual void ContinueProgram() = 0; |
| 53 | 53 |
| 54 virtual void DispatchOnInspectorBackend(int session_id, | 54 virtual void DispatchOnInspectorBackend(int session_id, |
| 55 int call_id, | 55 int call_id, |
| 56 const WebString& method, | 56 const WebString& method, |
| 57 const WebString& message) = 0; | 57 const WebString& message) = 0; |
| 58 | 58 |
| 59 virtual void InspectElementAt(int session_id, const WebPoint&) = 0; | 59 virtual void InspectElementAt(int session_id, const WebPoint&) = 0; |
| 60 virtual void FailedToRequestDevTools() = 0; | 60 virtual void FailedToRequestDevTools() = 0; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 75 }; | 75 }; |
| 76 // Asynchronously request debugger to pause immediately and run the command. | 76 // Asynchronously request debugger to pause immediately and run the command. |
| 77 BLINK_EXPORT static void InterruptAndDispatch(int session_id, | 77 BLINK_EXPORT static void InterruptAndDispatch(int session_id, |
| 78 MessageDescriptor*); | 78 MessageDescriptor*); |
| 79 BLINK_EXPORT static bool ShouldInterruptForMethod(const WebString&); | 79 BLINK_EXPORT static bool ShouldInterruptForMethod(const WebString&); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace blink | 82 } // namespace blink |
| 83 | 83 |
| 84 #endif | 84 #endif |
| OLD | NEW |