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

Unified Diff: ui/views/widget/widget_delegate.cc

Issue 1759453002: Convert location bar bubble delegates to bubble dialog delegates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ImmersiveFullscreenController Created 4 years, 9 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/widget/widget_delegate.cc
diff --git a/ui/views/widget/widget_delegate.cc b/ui/views/widget/widget_delegate.cc
index e62aa92847e67feb742e9451dda687b6fd920ac3..f10e840d3983078554df12b484fdaf3567ae4457 100644
--- a/ui/views/widget/widget_delegate.cc
+++ b/ui/views/widget/widget_delegate.cc
@@ -32,15 +32,19 @@ void WidgetDelegate::OnWorkAreaChanged() {
}
View* WidgetDelegate::GetInitiallyFocusedView() {
- return NULL;
+ return nullptr;
}
BubbleDelegateView* WidgetDelegate::AsBubbleDelegate() {
- return NULL;
+ return nullptr;
+}
+
+BubbleDialogDelegateView* WidgetDelegate::AsBubbleDialogDelegate() {
+ return nullptr;
}
DialogDelegate* WidgetDelegate::AsDialogDelegate() {
- return NULL;
+ return nullptr;
}
bool WidgetDelegate::CanResize() const {

Powered by Google App Engine
This is Rietveld 408576698