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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual void detach() = 0; | 48 virtual void detach() = 0; |
49 | 49 |
50 virtual void continueProgram() = 0; | 50 virtual void continueProgram() = 0; |
51 | 51 |
52 virtual void dispatchOnInspectorBackend(int sessionId, const WebString& mess
age) = 0; | 52 virtual void dispatchOnInspectorBackend(int sessionId, const WebString& mess
age) = 0; |
53 | 53 |
54 virtual void inspectElementAt(const WebPoint&) = 0; | 54 virtual void inspectElementAt(const WebPoint&) = 0; |
55 virtual void failedToRequestDevTools() = 0; | 55 virtual void failedToRequestDevTools() = 0; |
56 | 56 |
57 // Exposed for TestRunner. | 57 // Exposed for TestRunner. |
| 58 virtual void evaluateInWebInspector(long callId, const WebString& script) =
0; |
58 virtual WebString evaluateInWebInspectorOverlay(const WebString& script) = 0
; | 59 virtual WebString evaluateInWebInspectorOverlay(const WebString& script) = 0
; |
59 | 60 |
60 class MessageDescriptor { | 61 class MessageDescriptor { |
61 public: | 62 public: |
62 virtual ~MessageDescriptor() { } | 63 virtual ~MessageDescriptor() { } |
63 virtual WebDevToolsAgent* agent() = 0; | 64 virtual WebDevToolsAgent* agent() = 0; |
64 virtual WebString message() = 0; | 65 virtual WebString message() = 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 shouldInterruptForMessage(const WebString&); | 69 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); |
69 | 70 |
70 }; | 71 }; |
71 | 72 |
72 } // namespace blink | 73 } // namespace blink |
73 | 74 |
74 #endif | 75 #endif |
OLD | NEW |