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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 1297173002: html_viewer: Make sure window.internals is set-up correctly in layout-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void DispatchBeforeInstallPromptEvent( 132 void DispatchBeforeInstallPromptEvent(
133 int request_id, 133 int request_id,
134 const std::vector<std::string>& event_platforms, 134 const std::vector<std::string>& event_platforms,
135 const base::Callback<void(bool)>& callback) override; 135 const base::Callback<void(bool)>& callback) override;
136 void ResolveBeforeInstallPromptPromise( 136 void ResolveBeforeInstallPromptPromise(
137 int request_id, 137 int request_id,
138 const std::string& platform) override; 138 const std::string& platform) override;
139 blink::WebPlugin* CreatePluginPlaceholder( 139 blink::WebPlugin* CreatePluginPlaceholder(
140 blink::WebLocalFrame* frame, 140 blink::WebLocalFrame* frame,
141 const blink::WebPluginParams& params) override; 141 const blink::WebPluginParams& params) override;
142 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override;
142 143
143 void Reset(); 144 void Reset();
144 145
145 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } 146 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; }
146 test_runner::WebTestProxyBase* proxy() const { return proxy_; } 147 test_runner::WebTestProxyBase* proxy() const { return proxy_; }
147 148
148 void ReportLeakDetectionResult(const LeakDetectionResult& result); 149 void ReportLeakDetectionResult(const LeakDetectionResult& result);
149 150
150 private: 151 private:
151 // Message handlers. 152 // Message handlers.
(...skipping 30 matching lines...) Expand all
182 183
183 scoped_ptr<LeakDetector> leak_detector_; 184 scoped_ptr<LeakDetector> leak_detector_;
184 bool needs_leak_detector_; 185 bool needs_leak_detector_;
185 186
186 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 187 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
187 }; 188 };
188 189
189 } // namespace content 190 } // namespace content
190 191
191 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 192 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698