mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user