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

Unified Diff: ui/views/examples/examples_window.cc

Issue 2390953004: WidgetDelegateView is its own contents view. (Closed)
Patch Set: minor fixes 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: ui/views/examples/examples_window.cc
diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc
index 97dd4271ce992256c2b04c9ff6286f7063aeba33..3809c2fbf9f133f970415037c44363e697dfb1d8 100644
--- a/ui/views/examples/examples_window.cc
+++ b/ui/views/examples/examples_window.cc
@@ -183,7 +183,6 @@ class ExamplesWindowContents : public WidgetDelegateView,
base::string16 GetWindowTitle() const override {
return base::ASCIIToUTF16("Views Examples");
}
- View* GetContentsView() override { return this; }
void WindowClosing() override {
instance_ = NULL;
if (operation_ == QUIT_ON_CLOSE)

Powered by Google App Engine
This is Rietveld 408576698