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

Unified Diff: ui/views/focus/focus_manager_unittest.cc

Issue 2049723002: views/mus: Chaneg how Widget activation works in mus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | ui/views/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/focus_manager_unittest.cc
diff --git a/ui/views/focus/focus_manager_unittest.cc b/ui/views/focus/focus_manager_unittest.cc
index c37b77f2822b2796db40ec207131b69bf8799bc4..da6ededa69ea0a29dd463aa63f86be06f13dec08 100644
--- a/ui/views/focus/focus_manager_unittest.cc
+++ b/ui/views/focus/focus_manager_unittest.cc
@@ -866,6 +866,9 @@ class AdvanceFocusWidgetDelegate : public WidgetDelegate {
// Verifies focus wrapping happens in the same widget.
TEST_F(FocusManagerTest, AdvanceFocusStaysInWidget) {
+ // Mus doesn't support child Widgets well yet. https://crbug.com/612820
+ if (IsMus())
+ return;
// Add |widget_view| as a child of the Widget.
View* widget_view = new View;
widget_view->SetFocusBehavior(View::FocusBehavior::ALWAYS);
« no previous file with comments | « no previous file | ui/views/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698