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

Unified Diff: ui/aura_shell/examples/bubble.cc

Issue 8368006: Support Windows native textfield, combobox, etc. in new bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Eliminate Widget return. Created 9 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/aura_shell/examples/bubble.cc
diff --git a/ui/aura_shell/examples/bubble.cc b/ui/aura_shell/examples/bubble.cc
index 210b3f863a2db55a7596649772eebcb5cde058fd..3107485fb3c89483ff5d7b5bbf1a82f8fdf2d3cf 100644
--- a/ui/aura_shell/examples/bubble.cc
+++ b/ui/aura_shell/examples/bubble.cc
@@ -42,9 +42,10 @@ void CreatePointyBubble(views::Widget* parent, const gfx::Point& origin) {
config.color = SK_ColorWHITE;
config.anchor_point = origin;
config.arrow = views::BubbleBorder::TOP_LEFT;
- views::Widget* bubble = views::BubbleDelegateView::CreateBubble(
- new ExampleBubbleDelegateView(config), parent);
- bubble->Show();
+ ExampleBubbleDelegateView* bubble_delegate =
+ new ExampleBubbleDelegateView(config);
+ views::BubbleDelegateView::CreateBubble(bubble_delegate, parent);
+ bubble_delegate->Show();
}
} // namespace examples

Powered by Google App Engine
This is Rietveld 408576698