| 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 25 matching lines...) Expand all Loading... |
| 36 namespace WebKit { | 36 namespace WebKit { |
| 37 | 37 |
| 38 class WebDevToolsFrontendClient; | 38 class WebDevToolsFrontendClient; |
| 39 class WebString; | 39 class WebString; |
| 40 class WebView; | 40 class WebView; |
| 41 | 41 |
| 42 // WebDevToolsFrontend represents DevTools client sitting in the Glue. It provides | 42 // WebDevToolsFrontend represents DevTools client sitting in the Glue. It provides |
| 43 // direct and delegate Apis to the host. | 43 // direct and delegate Apis to the host. |
| 44 class WebDevToolsFrontend { | 44 class WebDevToolsFrontend { |
| 45 public: | 45 public: |
| 46 static WebDevToolsFrontend* create(WebView* view, | 46 WEBKIT_API static WebDevToolsFrontend* create(WebView* view, |
| 47 WebDevToolsFrontendClient* client, | 47 WebDevToolsFrontendClient* client, |
| 48 const WebString& applicationLocale); | 48 const WebString& applicationLocale); |
| 49 | 49 |
| 50 WebDevToolsFrontend() {} | |
| 51 virtual ~WebDevToolsFrontend() {} | 50 virtual ~WebDevToolsFrontend() {} |
| 52 | 51 |
| 53 virtual void dispatchMessageFromAgent(const WebString& className, | 52 virtual void dispatchMessageFromAgent(const WebString& className, |
| 54 const WebString& methodName, | 53 const WebString& methodName, |
| 55 const WebString& param1, | 54 const WebString& param1, |
| 56 const WebString& param2, | 55 const WebString& param2, |
| 57 const WebString& param3) = 0; | 56 const WebString& param3) = 0; |
| 58 }; | 57 }; |
| 59 | 58 |
| 60 } // namespace WebKit | 59 } // namespace WebKit |
| 61 | 60 |
| 62 #endif | 61 #endif |
| OLD | NEW |