| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 class WebDevToolsAgent { | 42 class WebDevToolsAgent { |
| 43 public: | 43 public: |
| 44 virtual ~WebDevToolsAgent() {} | 44 virtual ~WebDevToolsAgent() {} |
| 45 | 45 |
| 46 virtual void attach(const WebString& hostId) = 0; | 46 virtual void attach(const WebString& hostId) = 0; |
| 47 virtual void reattach(const WebString& hostId, const WebString& savedState)
= 0; | 47 virtual void reattach(const WebString& hostId, const WebString& savedState)
= 0; |
| 48 virtual void detach() = 0; | 48 virtual void detach() = 0; |
| 49 | 49 |
| 50 virtual void continueProgram() = 0; | 50 virtual void continueProgram() = 0; |
| 51 | 51 |
| 52 virtual void dispatchOnInspectorBackend(const WebString& message) = 0; | 52 virtual void dispatchOnInspectorBackend(const WebString& message, bool ignor
eInterrupt = false) = 0; |
| 53 | 53 |
| 54 virtual void inspectElementAt(const WebPoint&) = 0; | 54 virtual void inspectElementAt(const WebPoint&) = 0; |
| 55 virtual void setLayerTreeId(int) = 0; | 55 virtual void setLayerTreeId(int) = 0; |
| 56 | 56 |
| 57 class GPUEvent { | 57 class GPUEvent { |
| 58 public: | 58 public: |
| 59 GPUEvent(double timestamp, int phase, bool foreign, uint64_t usedGPUMemo
ryBytes) : | 59 GPUEvent(double timestamp, int phase, bool foreign, uint64_t usedGPUMemo
ryBytes) : |
| 60 timestamp(timestamp), | 60 timestamp(timestamp), |
| 61 phase(phase), | 61 phase(phase), |
| 62 foreign(foreign), | 62 foreign(foreign), |
| (...skipping 19 matching lines...) Expand all Loading... |
| 82 // Asynchronously request debugger to pause immediately and run the command. | 82 // Asynchronously request debugger to pause immediately and run the command. |
| 83 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); | 83 BLINK_EXPORT static void interruptAndDispatch(MessageDescriptor*); |
| 84 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); | 84 BLINK_EXPORT static bool shouldInterruptForMessage(const WebString&); |
| 85 BLINK_EXPORT static void processPendingMessages(); | 85 BLINK_EXPORT static void processPendingMessages(); |
| 86 | 86 |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace blink | 89 } // namespace blink |
| 90 | 90 |
| 91 #endif | 91 #endif |
| OLD | NEW |