Add CefBrowserHost::WasHidden() method for notifying a windowless browser that it has been hidden or shown (issue #909).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1180 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-04-05 17:37:40 +00:00
parent ba2fa28c05
commit 67d59cb2b9
7 changed files with 69 additions and 0 deletions

View File

@ -380,6 +380,14 @@ class CefBrowserHost : public virtual CefBase {
/*--cef()--*/
virtual void WasResized() =0;
///
// Notify the browser that it has been hidden or shown. Layouting and
// CefRenderHandler::OnPaint notification will stop when the browser is
// hidden. This method is only used when window rendering is disabled.
///
/*--cef()--*/
virtual void WasHidden(bool hidden) =0;
///
// Invalidate the |dirtyRect| region of the view. The browser will call
// CefRenderHandler::OnPaint asynchronously with the updated regions. This