mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Force flash and silverlight plugins to windowless mode when using off-screen rendering (issue #518).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1285 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -79,7 +79,8 @@ class CefBrowserImpl : public CefBrowser,
|
||||
|
||||
CefBrowserImpl(content::RenderView* render_view,
|
||||
int browser_id,
|
||||
bool is_popup);
|
||||
bool is_popup,
|
||||
bool is_window_rendering_disabled);
|
||||
virtual ~CefBrowserImpl();
|
||||
|
||||
void LoadRequest(const CefMsg_LoadRequest_Params& params);
|
||||
@ -99,6 +100,9 @@ class CefBrowserImpl : public CefBrowser,
|
||||
|
||||
int browser_id() const { return browser_id_; }
|
||||
bool is_popup() const { return is_popup_; }
|
||||
bool is_window_rendering_disabled() const {
|
||||
return is_window_rendering_disabled_;
|
||||
}
|
||||
content::RenderView* render_view() {
|
||||
return content::RenderViewObserver::render_view();
|
||||
}
|
||||
@ -124,6 +128,7 @@ class CefBrowserImpl : public CefBrowser,
|
||||
// same browser ID.
|
||||
int browser_id_;
|
||||
bool is_popup_;
|
||||
bool is_window_rendering_disabled_;
|
||||
|
||||
// Id of the last frame that had focus.
|
||||
int64 last_focused_frame_id_;
|
||||
|
Reference in New Issue
Block a user