void MediaPlayerView::OnAxInvalidate(const gfx::Rect& rect) { if (!visible()) return; gfx::Rect boundRect = GetLocalBounds(); SchedulePaintInRect( boundRect ); }
void WebBrowserView::OnAxInvalidate(const gfx::Rect& rect) { //gfx::Rect invalidate = ConvertRectToWidget(rect); //SchedulePaintInRect(invalidate); if (!visible()) return; gfx::Rect boundRect = GetLocalBounds(); SchedulePaintInRect( boundRect ); }
void BaseTab::ScheduleIconPaint() { gfx::Rect bounds = GetIconBounds(); if(bounds.IsEmpty()) { return; } // Extends the area to the bottom when sad_favicon is // animating. if(IsPerformingCrashAnimation()) { bounds.set_height(height() - bounds.y()); } bounds.set_x(GetMirroredXForRect(bounds)); SchedulePaintInRect(bounds); }
void FlashView::OnAxInvalidate(const gfx::Rect& rect) { gfx::Rect invalidate = ConvertRectToWidget(rect); SchedulePaintInRect(invalidate); }
void SilverlightView::OnAxInvalidate(const gfx::Rect& rect) { gfx::Rect invalidate = ConvertRectFromWidget(rect); SchedulePaintInRect(invalidate); }