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

Unified Diff: ash/magnifier/magnification_controller_unittest.cc

Issue 2390953004: WidgetDelegateView is its own contents view. (Closed)
Patch Set: another minor fix Created 4 years, 2 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: ash/magnifier/magnification_controller_unittest.cc
diff --git a/ash/magnifier/magnification_controller_unittest.cc b/ash/magnifier/magnification_controller_unittest.cc
index da61f3e66920bf24461a96e6d6f01bacfed78012..35a8bb4e753bc894ccb167ece3bd6c9f0fd0d7e4 100644
--- a/ash/magnifier/magnification_controller_unittest.cc
+++ b/ash/magnifier/magnification_controller_unittest.cc
@@ -46,8 +46,6 @@ class TextInputView : public views::WidgetDelegateView {
}
// Overridden from views::WidgetDelegate:
- views::View* GetContentsView() override { return this; }
-
void FocusOnTextInput() { GetFocusManager()->SetFocusedView(text_field_); }
private:

Powered by Google App Engine
This is Rietveld 408576698