Disable acclerated composition in frameless window.
This commit is contained in:
parent
686493e8ec
commit
2f113286aa
3 changed files with 16 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
|||
#include "vendor/brightray/browser/inspectable_web_contents_impl.h"
|
||||
|
||||
class CommandLine;
|
||||
struct WebPreferences;
|
||||
|
||||
namespace base {
|
||||
class DictionaryValue;
|
||||
|
@ -165,6 +166,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
|||
// Called when renderer process is going to be started.
|
||||
void AppendExtraCommandLineSwitches(CommandLine* command_line,
|
||||
int child_process_id);
|
||||
void OverrideWebkitPrefs(const GURL& url, WebPreferences* prefs);
|
||||
|
||||
void AddObserver(NativeWindowObserver* obs) {
|
||||
observers_.AddObserver(obs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue