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

Side by Side Diff: content/shell/browser/layout_test/layout_test_devtools_frontend.h

Issue 1890223002: Explicitly initialize secondary renderers for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/shell/browser/shell_devtools_frontend.h" 10 #include "content/shell/browser/shell_devtools_frontend.h"
(...skipping 23 matching lines...) Expand all
34 ~LayoutTestDevToolsFrontend() override; 34 ~LayoutTestDevToolsFrontend() override;
35 35
36 // content::DevToolsAgentHostClient implementation. 36 // content::DevToolsAgentHostClient implementation.
37 void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override; 37 void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override;
38 38
39 // ShellDevToolsFrontend overrides. 39 // ShellDevToolsFrontend overrides.
40 void HandleMessageFromDevToolsFrontend(const std::string& message) override; 40 void HandleMessageFromDevToolsFrontend(const std::string& message) override;
41 41
42 // WebContentsObserver implementation. 42 // WebContentsObserver implementation.
43 void RenderProcessGone(base::TerminationStatus status) override; 43 void RenderProcessGone(base::TerminationStatus status) override;
44 void RenderFrameCreated(RenderFrameHost* render_frame_host) override;
45 void RenderFrameHostChanged(RenderFrameHost* old_host,
46 RenderFrameHost* new_host) override;
44 47
45 bool ready_for_test_; 48 bool ready_for_test_;
46 std::vector<std::pair<int, std::string>> pending_evaluations_; 49 std::vector<std::pair<int, std::string>> pending_evaluations_;
47 50
48 DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend); 51 DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend);
49 }; 52 };
50 53
51 } // namespace content 54 } // namespace content
52 55
53 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ 56 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698