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 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebDevToolsAgent_h | 31 #ifndef WebDevToolsAgent_h |
32 #define WebDevToolsAgent_h | 32 #define WebDevToolsAgent_h |
33 | 33 |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 #include "../platform/WebVector.h" | 35 #include "../platform/WebVector.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class WebDevToolsAgentClient; | |
40 class WebDevToolsMessageTransport; | |
41 class WebString; | 39 class WebString; |
42 class WebURLRequest; | |
43 class WebURLResponse; | |
44 class WebView; | |
45 struct WebDevToolsMessageData; | |
46 struct WebPoint; | 40 struct WebPoint; |
47 struct WebMemoryUsageInfo; | |
48 struct WebURLError; | |
49 | 41 |
50 class WebDevToolsAgent { | 42 class WebDevToolsAgent { |
51 public: | 43 public: |
52 virtual ~WebDevToolsAgent() {} | 44 virtual ~WebDevToolsAgent() {} |
53 | 45 |
54 virtual void attach(const WebString& hostId) = 0; | 46 virtual void attach(const WebString& hostId) = 0; |
55 virtual void reattach(const WebString& hostId, const WebString& savedState)
= 0; | 47 virtual void reattach(const WebString& hostId, const WebString& savedState)
= 0; |
56 virtual void detach() = 0; | 48 virtual void detach() = 0; |
57 | 49 |
58 virtual void continueProgram() = 0; | 50 virtual void continueProgram() = 0; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // Asynchronously request debugger to pause immediately and run the command. | 87 // Asynchronously request debugger to pause immediately and run the command. |
96 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); | 88 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); |
97 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); | 89 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); |
98 BLINK_EXPORT static void processPendingMessages(); | 90 BLINK_EXPORT static void processPendingMessages(); |
99 | 91 |
100 }; | 92 }; |
101 | 93 |
102 } // namespace blink | 94 } // namespace blink |
103 | 95 |
104 #endif | 96 #endif |
OLD | NEW |