| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 int callId, | 55 int callId, |
| 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 sessionId, const WebPoint&) = 0; | 59 virtual void inspectElementAt(int sessionId, const WebPoint&) = 0; |
| 60 virtual void failedToRequestDevTools() = 0; | 60 virtual void failedToRequestDevTools() = 0; |
| 61 | 61 |
| 62 // Exposed for TestRunner. | 62 // Exposed for TestRunner. |
| 63 virtual WebString evaluateInWebInspectorOverlay(const WebString& script) = 0; | 63 virtual WebString evaluateInWebInspectorOverlay(const WebString& script) = 0; |
| 64 | 64 |
| 65 // Returns true if caching is disabled for network requests issued by dev |
| 66 // tools. |
| 67 virtual bool cacheDisabled() = 0; |
| 68 |
| 65 class MessageDescriptor { | 69 class MessageDescriptor { |
| 66 public: | 70 public: |
| 67 virtual ~MessageDescriptor() {} | 71 virtual ~MessageDescriptor() {} |
| 68 virtual WebDevToolsAgent* agent() = 0; | 72 virtual WebDevToolsAgent* agent() = 0; |
| 69 virtual WebString message() = 0; | 73 virtual WebString message() = 0; |
| 70 virtual WebString method() = 0; | 74 virtual WebString method() = 0; |
| 71 }; | 75 }; |
| 72 // Asynchronously request debugger to pause immediately and run the command. | 76 // Asynchronously request debugger to pause immediately and run the command. |
| 73 BLINK_EXPORT static void interruptAndDispatch(int sessionId, | 77 BLINK_EXPORT static void interruptAndDispatch(int sessionId, |
| 74 MessageDescriptor*); | 78 MessageDescriptor*); |
| 75 BLINK_EXPORT static bool shouldInterruptForMethod(const WebString&); | 79 BLINK_EXPORT static bool shouldInterruptForMethod(const WebString&); |
| 76 }; | 80 }; |
| 77 | 81 |
| 78 } // namespace blink | 82 } // namespace blink |
| 79 | 83 |
| 80 #endif | 84 #endif |
| OLD | NEW |