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

Unified Diff: content/browser/renderer_host/input/web_input_event_util_unittest.cc

Issue 1609193002: [UseZoomForDSF] Alwatys use DIP coordinates in pepper plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/web_input_event_util_unittest.cc
diff --git a/content/browser/renderer_host/input/web_input_event_util_unittest.cc b/content/browser/renderer_host/input/web_input_event_util_unittest.cc
index 77810308059ab95e863adf0e9c802d84598f8aee..20dce73ec212a06790838b0ffe439a3404cf7fdb 100644
--- a/content/browser/renderer_host/input/web_input_event_util_unittest.cc
+++ b/content/browser/renderer_host/input/web_input_event_util_unittest.cc
@@ -125,12 +125,4 @@ TEST(WebInputEventUtilTest, ScrollUpdateConversion) {
EXPECT_TRUE(web_event.data.scrollUpdate.previousUpdateInSequencePrevented);
}
-TEST(WebInputEventUtilTest, NoScalingWith1DSF) {
- auto event =
- SyntheticWebMouseEventBuilder::Build(blink::WebInputEvent::MouseMove,
- 10, 10, 0);
- EXPECT_FALSE(ConvertWebInputEventToViewport(event, 1.f));
- EXPECT_TRUE(ConvertWebInputEventToViewport(event, 2.f));
-}
-
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698