Home | History | Annotate | Download | only in examples

Lines Matching defs:bubble

8 #include "ui/views/bubble/bubble_delegate.h"
68 BubbleExample::BubbleExample() : ExampleBase("Bubble") {}
98 ExampleBubble* bubble = new ExampleBubble(sender, arrow);
99 bubble->set_color(colors[(color_index++) % arraysize(colors)]);
102 bubble->set_shadow(BubbleBorder::NO_SHADOW);
104 bubble->set_shadow(BubbleBorder::BIG_SHADOW);
106 bubble->set_shadow(BubbleBorder::SMALL_SHADOW);
109 bubble->set_close_on_deactivate(false);
111 BubbleDelegateView::CreateBubble(bubble);
113 bubble->SetAlignment(BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE);
115 bubble->GetWidget()->Show();