| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 virtual void dispatchOnInspectorBackend(const WebString& message) = 0; | 66 virtual void dispatchOnInspectorBackend(const WebString& message) = 0; |
| 67 | 67 |
| 68 virtual void inspectElementAt(const WebPoint&) = 0; | 68 virtual void inspectElementAt(const WebPoint&) = 0; |
| 69 virtual void setProcessId(long) = 0; | 69 virtual void setProcessId(long) = 0; |
| 70 | 70 |
| 71 virtual void didBeginFrame() = 0; | 71 virtual void didBeginFrame() = 0; |
| 72 virtual void didCancelFrame() = 0; | 72 virtual void didCancelFrame() = 0; |
| 73 virtual void willComposite() = 0; | 73 virtual void willComposite() = 0; |
| 74 virtual void didComposite() = 0; | 74 virtual void didComposite() = 0; |
| 75 virtual void willUpdateLayer(int layerId) = 0; |
| 76 virtual void didUpdateLayer() = 0; |
| 75 | 77 |
| 76 // Exposed for TestRunner. | 78 // Exposed for TestRunner. |
| 77 virtual void evaluateInWebInspector(long callId, const WebString& script) =
0; | 79 virtual void evaluateInWebInspector(long callId, const WebString& script) =
0; |
| 78 | 80 |
| 79 virtual WebVector<WebMemoryUsageInfo> processMemoryDistribution() const = 0; | 81 virtual WebVector<WebMemoryUsageInfo> processMemoryDistribution() const = 0; |
| 80 | 82 |
| 81 class MessageDescriptor { | 83 class MessageDescriptor { |
| 82 public: | 84 public: |
| 83 virtual ~MessageDescriptor() { } | 85 virtual ~MessageDescriptor() { } |
| 84 virtual WebDevToolsAgent* agent() = 0; | 86 virtual WebDevToolsAgent* agent() = 0; |
| 85 virtual WebString message() = 0; | 87 virtual WebString message() = 0; |
| 86 }; | 88 }; |
| 87 // Asynchronously request debugger to pause immediately and run the command. | 89 // Asynchronously request debugger to pause immediately and run the command. |
| 88 WEBKIT_EXPORT static void interruptAndDispatch(MessageDescriptor*); | 90 WEBKIT_EXPORT static void interruptAndDispatch(MessageDescriptor*); |
| 89 WEBKIT_EXPORT static bool shouldInterruptForMessage(const WebString&); | 91 WEBKIT_EXPORT static bool shouldInterruptForMessage(const WebString&); |
| 90 WEBKIT_EXPORT static void processPendingMessages(); | 92 WEBKIT_EXPORT static void processPendingMessages(); |
| 91 | 93 |
| 92 }; | 94 }; |
| 93 | 95 |
| 94 } // namespace WebKit | 96 } // namespace WebKit |
| 95 | 97 |
| 96 #endif | 98 #endif |
| OLD | NEW |