Chromium Code Reviews| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 62 virtual void detach() = 0; | 62 virtual void detach() = 0; |
| 63 | 63 |
| 64 virtual void didNavigate() = 0; | 64 virtual void didNavigate() = 0; |
| 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 virtual void setLayerTreeId(int) = 0; | 70 virtual void setLayerTreeId(int) = 0; |
| 71 | 71 |
| 72 virtual void didBeginFrame() = 0; | 72 virtual void didBeginFrame(int frameId = 0) = 0; |
|
pfeldman
2013/10/31 17:32:18
Assuming this is temporary.
| |
| 73 virtual void didCancelFrame() = 0; | 73 virtual void didCancelFrame() = 0; |
| 74 virtual void willComposite() = 0; | 74 virtual void willComposite() = 0; |
| 75 virtual void didComposite() = 0; | 75 virtual void didComposite() = 0; |
| 76 | 76 |
| 77 // Exposed for TestRunner. | 77 // Exposed for TestRunner. |
| 78 virtual void evaluateInWebInspector(long callId, const WebString& script) = 0; | 78 virtual void evaluateInWebInspector(long callId, const WebString& script) = 0; |
| 79 | 79 |
| 80 class MessageDescriptor { | 80 class MessageDescriptor { |
| 81 public: | 81 public: |
| 82 virtual ~MessageDescriptor() { } | 82 virtual ~MessageDescriptor() { } |
| 83 virtual WebDevToolsAgent* agent() = 0; | 83 virtual WebDevToolsAgent* agent() = 0; |
| 84 virtual WebString message() = 0; | 84 virtual WebString message() = 0; |
| 85 }; | 85 }; |
| 86 // Asynchronously request debugger to pause immediately and run the command. | 86 // Asynchronously request debugger to pause immediately and run the command. |
| 87 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); | 87 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); |
| 88 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); | 88 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); |
| 89 BLINK_EXPORT static void processPendingMessages(); | 89 BLINK_EXPORT static void processPendingMessages(); |
| 90 | 90 |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace WebKit | 93 } // namespace WebKit |
| 94 | 94 |
| 95 #endif | 95 #endif |
| OLD | NEW |