Don't rely on process_id to search for NativeWindow
This commit is contained in:
parent
6dfa7b5383
commit
d4be2da70e
7 changed files with 36 additions and 65 deletions
|
@ -192,8 +192,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
|||
content::WebContents* GetDevToolsWebContents() const;
|
||||
|
||||
// Called when renderer process is going to be started.
|
||||
void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
|
||||
int child_process_id);
|
||||
void AppendExtraCommandLineSwitches(base::CommandLine* command_line);
|
||||
void OverrideWebkitPrefs(content::WebPreferences* prefs);
|
||||
|
||||
// Set fullscreen mode triggered by html api.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue