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