Lines Matching refs:Throbber
22 #include "views/controls/throbber.h"
32 // Time in ms per throbber frame.
35 // Time in ms before smoothed throbber is shown.
91 LOG(WARNING) << "Failed to start the throbber: no Widget";
99 LOG(WARNING) << "Failed to start the throbber: no GtkWindow";
103 views::SmoothedThrobber* throbber = CreateDefaultSmoothedThrobber();
104 throbber->set_stop_delay_ms(0);
105 gfx::Rect throbber_bounds = CalculateThrobberBounds(throbber);
114 throbber_widget_->SetContentsView(throbber);
121 throbber->Start();
131 gfx::Rect ThrobberHostView::CalculateThrobberBounds(views::Throbber* throbber) {
132 gfx::Rect bounds(throbber->GetPreferredSize());
140 views::SmoothedThrobber* throbber =
142 throbber->SetFrames(
144 throbber->set_start_delay_ms(kThrobberStartDelayMs);
145 return throbber;
148 views::Throbber* CreateDefaultThrobber() {
149 views::Throbber* throbber = new views::Throbber(kThrobberFrameMs, false);
150 throbber->SetFrames(
152 return throbber;