X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Fbrowser%2Frenderer_host%2Finput%2Ftouch_action_browsertest.cc;h=ab6564d358060af8a52ddd47fc3fc08f0f6ff32c;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=9c49ca23aa547a5587edb03c37820772efa70544;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/browser/renderer_host/input/touch_action_browsertest.cc b/src/content/browser/renderer_host/input/touch_action_browsertest.cc index 9c49ca2..ab6564d 100644 --- a/src/content/browser/renderer_host/input/touch_action_browsertest.cc +++ b/src/content/browser/renderer_host/input/touch_action_browsertest.cc @@ -13,11 +13,11 @@ #include "content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h" #include "content/browser/renderer_host/input/touch_event_queue.h" #include "content/browser/renderer_host/render_widget_host_impl.h" +#include "content/browser/renderer_host/render_widget_host_view_base.h" #include "content/browser/web_contents/web_contents_impl.h" #include "content/common/input/synthetic_gesture_params.h" #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" #include "content/common/input_messages.h" -#include "content/port/browser/render_widget_host_view_port.h" #include "content/public/browser/render_view_host.h" #include "content/public/browser/render_widget_host_view.h" #include "content/public/common/content_switches.h" @@ -165,8 +165,8 @@ class TouchActionBrowserTest : public ContentBrowserTest { // http://crbug.com/348539 and is flaky on XP, see // http://crbug.com/354763 // -// Mac and Linux GTK don't yet have a gesture recognizer, so can't support -// turning touch events into scroll gestures. +// Mac doesn't yet have a gesture recognizer, so can't support turning touch +// events into scroll gestures. // Will be fixed with http://crbug.com/337142 // // Verify the test infrastructure works - we can touch-scroll the page and get a @@ -189,15 +189,14 @@ IN_PROC_BROWSER_TEST_F(TouchActionBrowserTest, DISABLED_DefaultAuto) { } } -// TouchActionBrowserTest.TouchActionNone fails under ThreadSanitizer v2, -// see http://crbug.com/357505. -#if defined(THREAD_SANITIZER) +// Verify that touching a touch-action: none region disables scrolling and +// enables all touch events to be sent. +// Disabled on MacOS because it doesn't support touch input. +#if defined(OS_MACOSX) #define MAYBE_TouchActionNone DISABLED_TouchActionNone #else #define MAYBE_TouchActionNone TouchActionNone #endif -// Verify that touching a touch-action: none region disables scrolling and -// enables all touch events to be sent. IN_PROC_BROWSER_TEST_F(TouchActionBrowserTest, MAYBE_TouchActionNone) { LoadURL();