示例#1
0
    void MediaPlayerView::OnAxInvalidate(const gfx::Rect& rect)
    {
		if (!visible())
			return;
		gfx::Rect boundRect = GetLocalBounds();

		SchedulePaintInRect( boundRect );
    }
示例#2
0
    void WebBrowserView::OnAxInvalidate(const gfx::Rect& rect) {
		//gfx::Rect invalidate = ConvertRectToWidget(rect);
		//SchedulePaintInRect(invalidate);
		if (!visible())
			return;
		gfx::Rect boundRect = GetLocalBounds();

		SchedulePaintInRect( boundRect );
	}
示例#3
0
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);
}
示例#4
0
    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);
 }