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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 virtual void attach(const WebString& hostId) = 0; | 53 virtual void attach(const WebString& hostId) = 0; |
54 virtual void reattach(const WebString& hostId, const WebString& savedState)
= 0; | 54 virtual void reattach(const WebString& hostId, const WebString& savedState)
= 0; |
55 virtual void detach() = 0; | 55 virtual void detach() = 0; |
56 | 56 |
57 virtual void didNavigate() = 0; | |
58 virtual void continueProgram() = 0; | 57 virtual void continueProgram() = 0; |
59 | 58 |
60 virtual void dispatchOnInspectorBackend(const WebString& message) = 0; | 59 virtual void dispatchOnInspectorBackend(const WebString& message) = 0; |
61 | 60 |
62 virtual void inspectElementAt(const WebPoint&) = 0; | 61 virtual void inspectElementAt(const WebPoint&) = 0; |
63 virtual void setProcessId(long) = 0; | 62 virtual void setProcessId(long) = 0; |
64 virtual void setLayerTreeId(int) = 0; | 63 virtual void setLayerTreeId(int) = 0; |
65 | 64 |
66 virtual void didBeginFrame(int frameId = 0) = 0; | 65 virtual void didBeginFrame(int frameId = 0) = 0; |
67 virtual void didCancelFrame() = 0; | 66 virtual void didCancelFrame() = 0; |
(...skipping 28 matching lines...) Expand all Loading... |
96 // Asynchronously request debugger to pause immediately and run the command. | 95 // Asynchronously request debugger to pause immediately and run the command. |
97 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); | 96 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); |
98 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); | 97 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); |
99 BLINK_EXPORT static void processPendingMessages(); | 98 BLINK_EXPORT static void processPendingMessages(); |
100 | 99 |
101 }; | 100 }; |
102 | 101 |
103 } // namespace blink | 102 } // namespace blink |
104 | 103 |
105 #endif | 104 #endif |
OLD | NEW |