Home | History | Annotate | Download | only in examples

Lines Matching defs:bubble

8 #include "ui/views/bubble/bubble_delegate.h"
66 BubbleExample::BubbleExample() : ExampleBase("Bubble") {}
100 ExampleBubble* bubble = new ExampleBubble(sender, arrow);
101 bubble->set_color(colors[(color_index++) % arraysize(colors)]);
104 bubble->set_shadow(BubbleBorder::SHADOW);
106 bubble->set_shadow(BubbleBorder::NO_SHADOW);
108 bubble->set_shadow(BubbleBorder::BIG_SHADOW);
110 bubble->set_shadow(BubbleBorder::SMALL_SHADOW);
113 bubble->set_close_on_deactivate(false);
114 bubble->set_move_with_anchor(true);
117 BubbleDelegateView::CreateBubble(bubble);
119 bubble->SetAlignment(BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE);
122 bubble->StartFade(true);
124 bubble->GetWidget()->Show();