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

Side by Side Diff: chrome/browser/apps/web_view_interactive_browsertest.cc

Issue 23638004: Disable WebViewInteractiveTest.Focus on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "apps/shell_window.h" 5 #include "apps/shell_window.h"
6 #include "apps/shell_window_registry.h" 6 #include "apps/shell_window_registry.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/apps/app_browsertest_util.h" 9 #include "chrome/browser/apps/app_browsertest_util.h"
10 #include "chrome/browser/extensions/extension_test_message_listener.h" 10 #include "chrome/browser/extensions/extension_test_message_listener.h"
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 SendMouseClick(ui_controls::RIGHT); 461 SendMouseClick(ui_controls::RIGHT);
462 ASSERT_TRUE(ui_test_utils::SendMouseMoveSync( 462 ASSERT_TRUE(ui_test_utils::SendMouseMoveSync(
463 gfx::Point(corner().x() + 51, corner().y() + 11))); 463 gfx::Point(corner().x() + 51, corner().y() + 11)));
464 ASSERT_TRUE(move_listener2.WaitUntilSatisfied()); 464 ASSERT_TRUE(move_listener2.WaitUntilSatisfied());
465 } 465 }
466 } 466 }
467 467
468 #endif // (defined(OS_WIN) || defined(OS_LINUX)) 468 #endif // (defined(OS_WIN) || defined(OS_LINUX))
469 469
470 // Fails on Windows. crbug.com/236040 470 // Fails on Windows. crbug.com/236040
471 #if defined(OS_WIN) 471 // Also flaky on ChromiumOS. crbug.com/281815
472 #if defined(OS_WIN) || defined(OS_CHROMEOS)
472 #define MAYBE_Focus DISABLED_Focus 473 #define MAYBE_Focus DISABLED_Focus
473 #else 474 #else
474 #define MAYBE_Focus Focus 475 #define MAYBE_Focus Focus
475 #endif 476 #endif
476 // Tests that setting focus on the <webview> sets focus on the guest. 477 // Tests that setting focus on the <webview> sets focus on the guest.
477 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, MAYBE_Focus) { 478 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, MAYBE_Focus) {
478 ASSERT_TRUE(StartEmbeddedTestServer()); // For serving guest pages. 479 ASSERT_TRUE(StartEmbeddedTestServer()); // For serving guest pages.
479 ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view/focus")) 480 ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view/focus"))
480 << message_; 481 << message_;
481 } 482 }
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 ASSERT_TRUE(done_listener.WaitUntilSatisfied()); 676 ASSERT_TRUE(done_listener.WaitUntilSatisfied());
676 } 677 }
677 678
678 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, 679 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest,
679 PointerLock_PointerLockLostWithFocus) { 680 PointerLock_PointerLockLostWithFocus) {
680 TestHelper("testPointerLockLostWithFocus", 681 TestHelper("testPointerLockLostWithFocus",
681 "DonePointerLockTest.PASSED", 682 "DonePointerLockTest.PASSED",
682 "DonePointerLockTest.FAILED", 683 "DonePointerLockTest.FAILED",
683 "web_view/pointerlock"); 684 "web_view/pointerlock");
684 } 685 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698