Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: webkit/api/public/WebDevToolsFrontend.h

Issue 342092: Eliminate WebViewImpl's dependency on WebDevToolsAgentImpl.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/api/public/WebDevToolsAgent.h ('k') | webkit/api/public/WebView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « webkit/api/public/WebDevToolsAgent.h ('k') | webkit/api/public/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698