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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 class WebView; | 43 class WebView; |
44 struct WebDevToolsMessageData; | 44 struct WebDevToolsMessageData; |
45 struct WebPoint; | 45 struct WebPoint; |
46 struct WebMemoryUsageInfo; | 46 struct WebMemoryUsageInfo; |
47 struct WebURLError; | 47 struct WebURLError; |
48 | 48 |
49 class WebDevToolsAgent { | 49 class WebDevToolsAgent { |
50 public: | 50 public: |
51 virtual ~WebDevToolsAgent() {} | 51 virtual ~WebDevToolsAgent() {} |
52 | 52 |
| 53 // FIXME: remove once migrated to the one with host_id. |
53 virtual void attach() = 0; | 54 virtual void attach() = 0; |
54 virtual void reattach(const WebString& savedState) = 0; | 55 virtual void reattach(const WebString& savedState) = 0; |
| 56 |
| 57 virtual void attach(const WebString& hostId) = 0; |
| 58 virtual void reattach(const WebString& hostId, const WebString& savedState)
= 0; |
55 virtual void detach() = 0; | 59 virtual void detach() = 0; |
56 | 60 |
57 virtual void didNavigate() = 0; | 61 virtual void didNavigate() = 0; |
58 | 62 |
59 virtual void dispatchOnInspectorBackend(const WebString& message) = 0; | 63 virtual void dispatchOnInspectorBackend(const WebString& message) = 0; |
60 | 64 |
61 virtual void inspectElementAt(const WebPoint&) = 0; | 65 virtual void inspectElementAt(const WebPoint&) = 0; |
62 virtual void setProcessId(long) = 0; | 66 virtual void setProcessId(long) = 0; |
63 virtual void setLayerTreeId(int) = 0; | 67 virtual void setLayerTreeId(int) = 0; |
64 | 68 |
(...skipping 30 matching lines...) Expand all Loading... |
95 // Asynchronously request debugger to pause immediately and run the command. | 99 // Asynchronously request debugger to pause immediately and run the command. |
96 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); | 100 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); |
97 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); | 101 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); |
98 BLINK_EXPORT static void processPendingMessages(); | 102 BLINK_EXPORT static void processPendingMessages(); |
99 | 103 |
100 }; | 104 }; |
101 | 105 |
102 } // namespace blink | 106 } // namespace blink |
103 | 107 |
104 #endif | 108 #endif |
OLD | NEW |