Skip to content

Commit e46d09d

Browse files
committed
register app_modal based javascript dialog in linux only
1 parent 289bee9 commit e46d09d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/shell_browser_main_parts.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,10 @@ void ShellBrowserMainParts::Init() {
280280
MSG_ROUTING_NONE,
281281
NULL);
282282

283+
#if defined(OS_LINUX)
283284
InstallChromeJavaScriptNativeDialogFactory();
284285
nw::InstallConstrainedWindowViewsClient();
286+
#endif
285287
}
286288

287289
bool ShellBrowserMainParts::ProcessSingletonNotificationCallback(

0 commit comments

Comments
 (0)