OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 const std::string& message) = 0; | 35 const std::string& message) = 0; |
36 }; | 36 }; |
37 | 37 |
38 // Creates a new DevToolsFrontendHost for RenderFrameHost where DevTools | 38 // Creates a new DevToolsFrontendHost for RenderFrameHost where DevTools |
39 // frontend is loaded. | 39 // frontend is loaded. |
40 CONTENT_EXPORT static DevToolsFrontendHost* Create( | 40 CONTENT_EXPORT static DevToolsFrontendHost* Create( |
41 RenderFrameHost* frontend_main_frame, | 41 RenderFrameHost* frontend_main_frame, |
42 Delegate* delegate); | 42 Delegate* delegate); |
43 | 43 |
44 CONTENT_EXPORT virtual ~DevToolsFrontendHost() {} | 44 CONTENT_EXPORT virtual ~DevToolsFrontendHost() {} |
| 45 |
| 46 CONTENT_EXPORT virtual void BadMessageRecieved() {} |
45 }; | 47 }; |
46 | 48 |
47 } // namespace content | 49 } // namespace content |
48 | 50 |
49 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_H_ | 51 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_H_ |
OLD | NEW |