WI-58667 Don't show browser icons for PHP single class files

OpenInBrowserEditorContextBarGroupAction has been overridden on the PhpStorm's side


(cherry picked from commit 12c73b4e7fe1c11bbc572bf481e36b66ff70fe67)

IJ-CR-149221

GitOrigin-RevId: c1f0c4a73798f799a7629d194c29cba9c023e1f8
This commit is contained in:
Ilia Smirnov
2024-11-01 12:56:48 +01:00
committed by intellij-monorepo-bot
parent 22d0946a42
commit 357d50b71f
2 changed files with 4 additions and 3 deletions

View File

@@ -3329,8 +3329,9 @@ a:com.intellij.ide.browsers.actions.OpenInBrowserBaseGroupAction
- p:<init>(Z):V
- getActionUpdateThread():com.intellij.openapi.actionSystem.ActionUpdateThread
- getChildren(com.intellij.openapi.actionSystem.AnActionEvent):com.intellij.openapi.actionSystem.AnAction[]
- s:hasLocalBrowser():Z
- update(com.intellij.openapi.actionSystem.AnActionEvent):V
f:com.intellij.ide.browsers.actions.OpenInBrowserBaseGroupAction$OpenInBrowserEditorContextBarGroupAction
c:com.intellij.ide.browsers.actions.OpenInBrowserBaseGroupAction$OpenInBrowserEditorContextBarGroupAction
- com.intellij.ide.browsers.actions.OpenInBrowserBaseGroupAction
- <init>():V
- update(com.intellij.openapi.actionSystem.AnActionEvent):V

View File

@@ -85,7 +85,7 @@ public abstract class OpenInBrowserBaseGroupAction extends ActionGroup implement
return ActionUpdateThread.BGT;
}
private static boolean hasLocalBrowser() {
public static boolean hasLocalBrowser() {
return JBCefApp.isSupported() && Registry.is("ide.web.preview.enabled", true);
}
@@ -95,7 +95,7 @@ public abstract class OpenInBrowserBaseGroupAction extends ActionGroup implement
}
}
public static final class OpenInBrowserEditorContextBarGroupAction extends OpenInBrowserBaseGroupAction {
public static class OpenInBrowserEditorContextBarGroupAction extends OpenInBrowserBaseGroupAction {
public OpenInBrowserEditorContextBarGroupAction() {
super(false);
}