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

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

Issue 12897004: Remove BubbleDelegateView::Show(); call GetWidget()->Show() instead; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup more BubbleDelegateView::Show() calls. Created 7 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
« no previous file with comments | « ui/views/bubble/tray_bubble_view.cc ('k') | ui/views/touchui/touch_editing_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/bubble_example.cc
diff --git a/ui/views/examples/bubble_example.cc b/ui/views/examples/bubble_example.cc
index 841d1772866743fac0afdfb45e63812a94f61ad4..936bc3ae4b947d58d92ff6006b2ec0cfe875d792 100644
--- a/ui/views/examples/bubble_example.cc
+++ b/ui/views/examples/bubble_example.cc
@@ -90,7 +90,7 @@ void BubbleExample::ButtonPressed(Button* sender, const ui::Event& event) {
if (config.fade_in)
bubble_delegate->StartFade(true);
else
- bubble_delegate->Show();
+ bubble_delegate->GetWidget()->Show();
if (config.fade_out) {
bubble_delegate->set_close_on_esc(false);
« no previous file with comments | « ui/views/bubble/tray_bubble_view.cc ('k') | ui/views/touchui/touch_editing_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698