- Fix initial state of the |is_showing_| flag in CefRenderWidgetHostViewOSR (issue #1363).

- Windows: Modify the cefclient OSR example to call WasHidden(true) when the app is minimized.

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/2062@1819 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2014-09-04 22:15:45 +00:00
parent f693c4a6d2
commit 45d9e3f357
5 changed files with 46 additions and 12 deletions

View File

@@ -87,6 +87,7 @@ class OSRWindow : public ClientHandler::RenderHandler,
CefBrowserHost::DragOperationsMask effect) OVERRIDE;
void Invalidate();
void WasHidden(bool hidden);
static int GetCefKeyboardModifiers(WPARAM wparam, LPARAM lparam);
static int GetCefMouseModifiers(WPARAM wparam);
@@ -119,6 +120,7 @@ class OSRWindow : public ClientHandler::RenderHandler,
bool painting_popup_;
bool render_task_pending_;
bool hidden_;
IMPLEMENT_REFCOUNTING(OSRWindow);
};