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

Unified Diff: ash/shell_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/shell_unittest.cc
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
index cffe49b6ae4509ca39aad1adcd1713bc828126e7..8c3916d7f0ffbbd0c9ea3c4fcc46fd2e5eeea6be 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -96,7 +96,6 @@ class ModalWindow : public views::WidgetDelegateView {
~ModalWindow() override {}
// Overridden from views::WidgetDelegate:
- views::View* GetContentsView() override { return this; }
bool CanResize() const override { return true; }
base::string16 GetWindowTitle() const override {
return base::ASCIIToUTF16("Modal Window");

Powered by Google App Engine
This is Rietveld 408576698