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

Side by Side Diff: content/shell/renderer/test_runner/web_frame_test_proxy.h

Issue 720443002: Add a PushClient getter in WebFrameTestProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/shell/renderer/test_runner/mock_screen_orientation_client.h" 9 #include "content/shell/renderer/test_runner/mock_screen_orientation_client.h"
10 #include "content/shell/renderer/test_runner/test_interfaces.h" 10 #include "content/shell/renderer/test_runner/test_interfaces.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 } 262 }
263 263
264 virtual blink::WebUserMediaClient* userMediaClient() { 264 virtual blink::WebUserMediaClient* userMediaClient() {
265 return base_proxy_->GetUserMediaClient(); 265 return base_proxy_->GetUserMediaClient();
266 } 266 }
267 267
268 virtual blink::WebMIDIClient* webMIDIClient() { 268 virtual blink::WebMIDIClient* webMIDIClient() {
269 return base_proxy_->GetWebMIDIClient(); 269 return base_proxy_->GetWebMIDIClient();
270 } 270 }
271 271
272 virtual blink::WebPushClient* pushClient() {
273 return base_proxy_->GetWebPushClient();
274 }
275
272 virtual bool willCheckAndDispatchMessageEvent( 276 virtual bool willCheckAndDispatchMessageEvent(
273 blink::WebLocalFrame* source_frame, 277 blink::WebLocalFrame* source_frame,
274 blink::WebFrame* target_frame, 278 blink::WebFrame* target_frame,
275 blink::WebSecurityOrigin target, 279 blink::WebSecurityOrigin target,
276 blink::WebDOMMessageEvent event) { 280 blink::WebDOMMessageEvent event) {
277 if (base_proxy_->WillCheckAndDispatchMessageEvent( 281 if (base_proxy_->WillCheckAndDispatchMessageEvent(
278 source_frame, target_frame, target, event)) 282 source_frame, target_frame, target, event))
279 return true; 283 return true;
280 return Base::willCheckAndDispatchMessageEvent( 284 return Base::willCheckAndDispatchMessageEvent(
281 source_frame, target_frame, target, event); 285 source_frame, target_frame, target, event);
(...skipping 14 matching lines...) Expand all
296 #endif 300 #endif
297 301
298 WebTestProxyBase* base_proxy_; 302 WebTestProxyBase* base_proxy_;
299 303
300 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); 304 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);
301 }; 305 };
302 306
303 } // namespace content 307 } // namespace content
304 308
305 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 309 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698