| 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 20 matching lines...) Expand all Loading... |
| 31 #ifndef WebDevToolsAgentClient_h | 31 #ifndef WebDevToolsAgentClient_h |
| 32 #define WebDevToolsAgentClient_h | 32 #define WebDevToolsAgentClient_h |
| 33 | 33 |
| 34 #include "../platform/WebCString.h" | 34 #include "../platform/WebCString.h" |
| 35 #include "../platform/WebCommon.h" | 35 #include "../platform/WebCommon.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class WebString; | 39 class WebString; |
| 40 struct WebDeviceEmulationParams; | 40 struct WebDeviceEmulationParams; |
| 41 struct WebDevToolsMessageData; | |
| 42 struct WebRect; | |
| 43 struct WebSize; | |
| 44 | 41 |
| 45 class WebDevToolsAgentClient { | 42 class WebDevToolsAgentClient { |
| 46 public: | 43 public: |
| 47 virtual void sendMessageToInspectorFrontend(const WebString&) { } | 44 virtual void sendMessageToInspectorFrontend(const WebString&) { } |
| 48 virtual void sendDebuggerOutput(const WebString&) { } | 45 virtual void sendDebuggerOutput(const WebString&) { } |
| 49 | 46 |
| 50 // Returns process id. | 47 // Returns process id. |
| 51 virtual long processId() { return -1; } | 48 virtual long processId() { return -1; } |
| 52 | 49 |
| 53 // Returns unique identifier of the entity within process. | 50 // Returns unique identifier of the entity within process. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // Cancel emulation started via |enableDeviceEmulation| call. | 85 // Cancel emulation started via |enableDeviceEmulation| call. |
| 89 virtual void disableDeviceEmulation() { } | 86 virtual void disableDeviceEmulation() { } |
| 90 | 87 |
| 91 protected: | 88 protected: |
| 92 ~WebDevToolsAgentClient() { } | 89 ~WebDevToolsAgentClient() { } |
| 93 }; | 90 }; |
| 94 | 91 |
| 95 } // namespace blink | 92 } // namespace blink |
| 96 | 93 |
| 97 #endif | 94 #endif |
| OLD | NEW |