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

Side by Side Diff: content/browser/media/webrtc/webrtc_canvas_capture_browsertest.cc

Issue 2104643002: MediaCaptureFromElement: add content_browsertests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow <video>/<audio>.play() for tests when not initiated by user gesture. Created 4 years, 5 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 | « no previous file | content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/command_line.h"
6 #include "base/macros.h"
7 #include "build/build_config.h"
8 #include "content/public/test/browser_test_utils.h"
9 #include "content/public/test/content_browser_test_utils.h"
10 #include "content/test/webrtc_content_browsertest_base.h"
11
12 namespace {
13
14 static const char kCanvasTestHtmlPage[] = "/media/canvas_capture_color.html";
15
16 } // namespace
17
18 namespace content {
19
20 // This class tests the rgba color values produced by canvas capture.
21 class WebRtcCanvasCaptureTest : public WebRtcContentBrowserTest {
22 public:
23 WebRtcCanvasCaptureTest() {}
24 ~WebRtcCanvasCaptureTest() override {}
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(WebRtcCanvasCaptureTest);
28 };
29
30 IN_PROC_BROWSER_TEST_F(WebRtcCanvasCaptureTest,
31 VerifyCanvasCaptureColor) {
32 MakeTypicalCall("testCanvasCaptureColors();", kCanvasTestHtmlPage);
33 }
34
35 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698