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

Side by Side Diff: content/public/browser/devtools_frontend_host_delegate.h

Issue 427143003: [DevTools] Move DevToolsClientHost functionality out of DevToolsFrontendHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed comments Created 6 years, 4 months 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_
7
8 #include <string>
9
10 namespace content {
11
12 // Clients that want to use default DevTools front-end implementation should
13 // implement this interface to provide access to the embedding browser from
14 // the front-end.
15 class DevToolsFrontendHostDelegate {
16 public:
17 virtual ~DevToolsFrontendHostDelegate() {}
18
19 // Dispatch the message from the frontend to the frontend host.
20 virtual void DispatchOnEmbedder(const std::string& message) = 0;
21
22 // This method is called when the contents inspected by this devtools frontend
23 // is closing.
24 virtual void InspectedContentsClosing() = 0;
25 };
26
27 } // namespace content
28
29 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698