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

Side by Side Diff: content/shell/browser/shell_devtools_frontend.h

Issue 423673003: [DevTools] Make sendMessageToBackend one of embedder messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compile 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual ~ShellDevToolsFrontend(); 43 virtual ~ShellDevToolsFrontend();
44 44
45 // WebContentsObserver overrides 45 // WebContentsObserver overrides
46 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 46 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
47 virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE; 47 virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE;
48 virtual void WebContentsDestroyed() OVERRIDE; 48 virtual void WebContentsDestroyed() OVERRIDE;
49 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 49 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
50 50
51 // content::DevToolsFrontendHost::Delegate implementation. 51 // content::DevToolsFrontendHost::Delegate implementation.
52 virtual void HandleMessageFromDevToolsFrontend( 52 virtual void HandleMessageFromDevToolsFrontend(
53 const std::string& message) OVERRIDE {} 53 const std::string& message) OVERRIDE;
54 virtual void HandleMessageFromDevToolsFrontendToBackend( 54 virtual void HandleMessageFromDevToolsFrontendToBackend(
55 const std::string& message) OVERRIDE; 55 const std::string& message) OVERRIDE;
56 56
57 // content::DevToolsClientHost implementation. 57 // content::DevToolsClientHost implementation.
58 virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE; 58 virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE;
59 virtual void InspectedContentsClosing() OVERRIDE; 59 virtual void InspectedContentsClosing() OVERRIDE;
60 virtual void ReplacedWithAnotherClient() OVERRIDE {} 60 virtual void ReplacedWithAnotherClient() OVERRIDE {}
61 61
62 Shell* frontend_shell_; 62 Shell* frontend_shell_;
63 scoped_refptr<DevToolsAgentHost> agent_host_; 63 scoped_refptr<DevToolsAgentHost> agent_host_;
64 scoped_ptr<DevToolsFrontendHost> frontend_host_; 64 scoped_ptr<DevToolsFrontendHost> frontend_host_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend); 66 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend);
67 }; 67 };
68 68
69 } // namespace content 69 } // namespace content
70 70
71 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 71 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_ui_bindings.cc ('k') | content/shell/browser/shell_devtools_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698