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