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

Side by Side Diff: components/test_runner/web_frame_test_proxy.h

Issue 1897363003: Use correct WebView from EventSender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed initial state of EventSender. 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 COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 } 279 }
280 280
281 void checkIfAudioSinkExistsAndIsAuthorized( 281 void checkIfAudioSinkExistsAndIsAuthorized(
282 const blink::WebString& sink_id, 282 const blink::WebString& sink_id,
283 const blink::WebSecurityOrigin& security_origin, 283 const blink::WebSecurityOrigin& security_origin,
284 blink::WebSetSinkIdCallbacks* web_callbacks) override { 284 blink::WebSetSinkIdCallbacks* web_callbacks) override {
285 test_client()->checkIfAudioSinkExistsAndIsAuthorized( 285 test_client()->checkIfAudioSinkExistsAndIsAuthorized(
286 sink_id, security_origin, web_callbacks); 286 sink_id, security_origin, web_callbacks);
287 } 287 }
288 288
289 void didClearWindowObject(blink::WebLocalFrame* frame) override {
290 test_client()->didClearWindowObject(frame);
291 Base::didClearWindowObject(frame);
292 }
293
289 private: 294 private:
290 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); 295 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);
291 }; 296 };
292 297
293 } // namespace test_runner 298 } // namespace test_runner
294 299
295 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 300 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698