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

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

Issue 335673002: Report devtools frontend crashes during layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | content/shell/browser/shell_devtools_frontend.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27 matching lines...) Expand all
38 Shell* frontend_shell() const { return frontend_shell_; } 38 Shell* frontend_shell() const { return frontend_shell_; }
39 39
40 private: 40 private:
41 ShellDevToolsFrontend(Shell* frontend_shell, DevToolsAgentHost* agent_host); 41 ShellDevToolsFrontend(Shell* frontend_shell, DevToolsAgentHost* agent_host);
42 virtual ~ShellDevToolsFrontend(); 42 virtual ~ShellDevToolsFrontend();
43 43
44 // WebContentsObserver overrides 44 // WebContentsObserver overrides
45 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 45 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
46 virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE; 46 virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE;
47 virtual void WebContentsDestroyed() OVERRIDE; 47 virtual void WebContentsDestroyed() OVERRIDE;
48 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
48 49
49 // DevToolsFrontendHostDelegate implementation 50 // DevToolsFrontendHostDelegate implementation
50 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE {} 51 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE {}
51 52
52 virtual void InspectedContentsClosing() OVERRIDE; 53 virtual void InspectedContentsClosing() OVERRIDE;
53 54
54 Shell* frontend_shell_; 55 Shell* frontend_shell_;
55 scoped_refptr<DevToolsAgentHost> agent_host_; 56 scoped_refptr<DevToolsAgentHost> agent_host_;
56 scoped_ptr<DevToolsClientHost> frontend_host_; 57 scoped_ptr<DevToolsClientHost> frontend_host_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend); 59 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend);
59 }; 60 };
60 61
61 } // namespace content 62 } // namespace content
62 63
63 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 64 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/browser/shell_devtools_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698