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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
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 class WebString; | 39 class WebString; |
39 struct WebDeviceEmulationParams; | 40 struct WebDeviceEmulationParams; |
40 struct WebDevToolsMessageData; | 41 struct WebDevToolsMessageData; |
41 struct WebRect; | 42 struct WebRect; |
42 struct WebSize; | 43 struct WebSize; |
43 | 44 |
44 class WebDevToolsAgentClient { | 45 class WebDevToolsAgentClient { |
45 public: | 46 public: |
46 virtual void sendMessageToInspectorFrontend(const WebString&) { } | 47 virtual void sendMessageToInspectorFrontend(const WebString&) { } |
47 virtual void sendDebuggerOutput(const WebString&) { } | 48 virtual void sendDebuggerOutput(const WebString&) { } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 103 |
103 virtual void setTouchEventEmulationEnabled(bool enabled, bool allowPinch) {
} | 104 virtual void setTouchEventEmulationEnabled(bool enabled, bool allowPinch) {
} |
104 | 105 |
105 protected: | 106 protected: |
106 ~WebDevToolsAgentClient() { } | 107 ~WebDevToolsAgentClient() { } |
107 }; | 108 }; |
108 | 109 |
109 } // namespace blink | 110 } // namespace blink |
110 | 111 |
111 #endif | 112 #endif |
OLD | NEW |