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

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

Issue 1158063002: Add plugins::TestPluginPlaceholder class and allow its use in Blink layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pluginfix
Patch Set: Created 5 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
« no previous file with comments | « content/shell/renderer/DEPS ('k') | content/shell/renderer/layout_test/blink_test_runner.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 (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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 blink::WebLayer* InstantiateWebLayer( 124 blink::WebLayer* InstantiateWebLayer(
125 scoped_refptr<cc::TextureLayer> layer) override; 125 scoped_refptr<cc::TextureLayer> layer) override;
126 cc::SharedBitmapManager* GetSharedBitmapManager() override; 126 cc::SharedBitmapManager* GetSharedBitmapManager() override;
127 void DispatchBeforeInstallPromptEvent( 127 void DispatchBeforeInstallPromptEvent(
128 int request_id, 128 int request_id,
129 const std::vector<std::string>& event_platforms, 129 const std::vector<std::string>& event_platforms,
130 const base::Callback<void(bool)>& callback) override; 130 const base::Callback<void(bool)>& callback) override;
131 void ResolveBeforeInstallPromptPromise( 131 void ResolveBeforeInstallPromptPromise(
132 int request_id, 132 int request_id,
133 const std::string& platform) override; 133 const std::string& platform) override;
134 blink::WebPlugin* CreatePluginPlaceholder(
135 blink::WebLocalFrame* frame,
136 const blink::WebPluginParams& params) override;
134 137
135 void Reset(); 138 void Reset();
136 139
137 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; } 140 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; }
138 WebTestProxyBase* proxy() const { return proxy_; } 141 WebTestProxyBase* proxy() const { return proxy_; }
139 142
140 void ReportLeakDetectionResult(const LeakDetectionResult& result); 143 void ReportLeakDetectionResult(const LeakDetectionResult& result);
141 144
142 private: 145 private:
143 // Message handlers. 146 // Message handlers.
(...skipping 30 matching lines...) Expand all
174 177
175 scoped_ptr<LeakDetector> leak_detector_; 178 scoped_ptr<LeakDetector> leak_detector_;
176 bool needs_leak_detector_; 179 bool needs_leak_detector_;
177 180
178 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 181 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
179 }; 182 };
180 183
181 } // namespace content 184 } // namespace content
182 185
183 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 186 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/DEPS ('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