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

Unified Diff: ash/wm/system_modal_container_layout_manager_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/wm/system_modal_container_layout_manager_unittest.cc
diff --git a/ash/wm/system_modal_container_layout_manager_unittest.cc b/ash/wm/system_modal_container_layout_manager_unittest.cc
index dc95fbdea4abf8c834b0b448bec58f1487410ba6..e9e264cfa0d95381cd6967f3991e18f01dd7419a 100644
--- a/ash/wm/system_modal_container_layout_manager_unittest.cc
+++ b/ash/wm/system_modal_container_layout_manager_unittest.cc
@@ -84,7 +84,6 @@ class TestWindow : public views::WidgetDelegateView {
gfx::Size GetPreferredSize() const override { return gfx::Size(50, 50); }
// Overridden from views::WidgetDelegate:
- views::View* GetContentsView() override { return this; }
ui::ModalType GetModalType() const override {
return modal_ ? ui::MODAL_TYPE_SYSTEM : ui::MODAL_TYPE_NONE;
}

Powered by Google App Engine
This is Rietveld 408576698