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

Unified Diff: views/examples/bubble_example.cc

Issue 8368006: Support Windows native textfield, combobox, etc. in new bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore Widget return; same as Patch Set 9 with updated CreateBubble comment. 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
« no previous file with comments | « views/bubble/bubble_view_unittest.cc ('k') | views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/examples/bubble_example.cc
diff --git a/views/examples/bubble_example.cc b/views/examples/bubble_example.cc
index f99155b2da58b8dc8b65fb5812aefef1833e8e64..b0d5ec418ed2765a3a55d6ea0df57d74f511852e 100644
--- a/views/examples/bubble_example.cc
+++ b/views/examples/bubble_example.cc
@@ -88,13 +88,13 @@ void BubbleExample::ButtonPressed(views::Button* sender,
ExampleBubbleDelegateView* bubble_delegate =
new ExampleBubbleDelegateView(config);
- views::Widget* bubble = views::BubbleDelegateView::CreateBubble(
- bubble_delegate, example_view()->GetWidget());
+ views::BubbleDelegateView::CreateBubble(bubble_delegate,
+ example_view()->GetWidget());
if (config.fade_in)
bubble_delegate->StartFade(true);
else
- bubble->Show();
+ bubble_delegate->Show();
if (config.fade_out) {
bubble_delegate->set_close_on_esc(false);
« no previous file with comments | « views/bubble/bubble_view_unittest.cc ('k') | views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698