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