| OLD | NEW |
| (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 | |
| OLD | NEW |