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 virtual void failedToRequestDevTools() = 0; | 55 virtual void failedToRequestDevTools() = 0; |
56 | 56 |
57 // Exposed for TestRunner. | 57 // Exposed for TestRunner. |
58 virtual WebString evaluateInWebInspectorOverlay(const WebString& script) = 0
; | 58 virtual WebString evaluateInWebInspectorOverlay(const WebString& script) = 0
; |
59 | 59 |
60 class MessageDescriptor { | 60 class MessageDescriptor { |
61 public: | 61 public: |
62 virtual ~MessageDescriptor() { } | 62 virtual ~MessageDescriptor() { } |
63 virtual WebDevToolsAgent* agent() = 0; | 63 virtual WebDevToolsAgent* agent() = 0; |
64 virtual WebString message() = 0; | 64 virtual WebString message() = 0; |
| 65 virtual WebString method() = 0; |
65 }; | 66 }; |
66 // Asynchronously request debugger to pause immediately and run the command. | 67 // Asynchronously request debugger to pause immediately and run the command. |
67 BLINK_EXPORT static void interruptAndDispatch(int sessionId, MessageDescript
or*); | 68 BLINK_EXPORT static void interruptAndDispatch(int sessionId, MessageDescript
or*); |
68 BLINK_EXPORT static bool shouldInterruptForMethod(const WebString&); | 69 BLINK_EXPORT static bool shouldInterruptForMethod(const WebString&); |
69 | 70 |
70 }; | 71 }; |
71 | 72 |
72 } // namespace blink | 73 } // namespace blink |
73 | 74 |
74 #endif | 75 #endif |
OLD | NEW |