| OLD | NEW |
| 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 #include <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| (...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1298 #else | 1298 #else |
| 1299 #define MAYBE_TestScreenshotRecording TestScreenshotRecording | 1299 #define MAYBE_TestScreenshotRecording TestScreenshotRecording |
| 1300 #endif | 1300 #endif |
| 1301 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests, | 1301 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests, |
| 1302 MAYBE_TestScreenshotRecording) { | 1302 MAYBE_TestScreenshotRecording) { |
| 1303 RunTest("testScreenshotRecording", std::string()); | 1303 RunTest("testScreenshotRecording", std::string()); |
| 1304 } | 1304 } |
| 1305 | 1305 |
| 1306 // This test enables switches::kUseGpuInTests which causes false positives | 1306 // This test enables switches::kUseGpuInTests which causes false positives |
| 1307 // with MemorySanitizer. | 1307 // with MemorySanitizer. |
| 1308 #if defined(MEMORY_SANITIZER) || defined(ADDRESS_SANITIZER) | 1308 #if defined(MEMORY_SANITIZER) || defined(ADDRESS_SANITIZER) || defined(OS_WIN) |
| 1309 #define MAYBE_TestLatencyInfoInstrumentation \ | 1309 #define MAYBE_TestLatencyInfoInstrumentation \ |
| 1310 DISABLED_TestLatencyInfoInstrumentation | 1310 DISABLED_TestLatencyInfoInstrumentation |
| 1311 #else | 1311 #else |
| 1312 #define MAYBE_TestLatencyInfoInstrumentation TestLatencyInfoInstrumentation | 1312 #define MAYBE_TestLatencyInfoInstrumentation TestLatencyInfoInstrumentation |
| 1313 #endif | 1313 #endif |
| 1314 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests, | 1314 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests, |
| 1315 MAYBE_TestLatencyInfoInstrumentation) { | 1315 MAYBE_TestLatencyInfoInstrumentation) { |
| 1316 WebContents* web_contents = GetInspectedTab(); | 1316 WebContents* web_contents = GetInspectedTab(); |
| 1317 OpenDevToolsWindow(kLatencyInfoTestPage, false); | 1317 OpenDevToolsWindow(kLatencyInfoTestPage, false); |
| 1318 DispatchAndWait("startTimeline"); | 1318 DispatchAndWait("startTimeline"); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1333 | 1333 |
| 1334 SimulateTapAt(web_contents, gfx::Point(30, 60)); | 1334 SimulateTapAt(web_contents, gfx::Point(30, 60)); |
| 1335 DispatchInPageAndWait("waitForEvent", "gesturetap"); | 1335 DispatchInPageAndWait("waitForEvent", "gesturetap"); |
| 1336 | 1336 |
| 1337 DispatchAndWait("stopTimeline"); | 1337 DispatchAndWait("stopTimeline"); |
| 1338 RunTestMethod("checkInputEventsPresent", "MouseMove", "MouseDown", | 1338 RunTestMethod("checkInputEventsPresent", "MouseMove", "MouseDown", |
| 1339 "MouseWheel", "GestureTap"); | 1339 "MouseWheel", "GestureTap"); |
| 1340 | 1340 |
| 1341 CloseDevToolsWindow(); | 1341 CloseDevToolsWindow(); |
| 1342 } | 1342 } |
| OLD | NEW |