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

Unified Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 11418134: ppapi: Opt-in to receive synthetic mouse events for touch-events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 1 month 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
« no previous file with comments | « no previous file | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ppapi/ppapi_browsertest.cc
diff --git a/chrome/test/ppapi/ppapi_browsertest.cc b/chrome/test/ppapi/ppapi_browsertest.cc
index 7e4085c387b5dfd7249e709d0800bc768d43aed6..94d604c8336d5a188f35181ab7cc85278b6be543 100644
--- a/chrome/test/ppapi/ppapi_browsertest.cc
+++ b/chrome/test/ppapi/ppapi_browsertest.cc
@@ -860,6 +860,7 @@ IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, View_PageHideShow) {
// events to the renderer.
IN_PROC_BROWSER_TEST_F(PPAPITest, InputEvent_AcceptTouchEvent) {
std::string positive_tests[] = { "InputEvent_AcceptTouchEvent_1",
+ "InputEvent_AcceptTouchEvent_2",
"InputEvent_AcceptTouchEvent_3",
"InputEvent_AcceptTouchEvent_4"
};
@@ -870,14 +871,6 @@ IN_PROC_BROWSER_TEST_F(PPAPITest, InputEvent_AcceptTouchEvent) {
RunTest(positive_tests[i]);
EXPECT_TRUE(content::RenderViewHostTester::HasTouchEventHandler(host));
}
-
- std::string negative_tests[] = { "InputEvent_AcceptTouchEvent_2" };
- for (size_t i = 0; i < arraysize(negative_tests); ++i) {
- RenderViewHost* host = chrome::GetActiveWebContents(browser())->
- GetRenderViewHost();
- RunTest(negative_tests[i]);
- EXPECT_FALSE(content::RenderViewHostTester::HasTouchEventHandler(host));
- }
}
TEST_PPAPI_IN_PROCESS(View_SizeChange);
« no previous file with comments | « no previous file | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698