ui: Move ChromeScrollJank plugin to /plugins

- Move ChromeScrollJank plugin from /core_plugins to /plugins.
- Fix the plugin name prefix from 'perfetto.' to 'org.chromium.' to
  match the naming conventions of non-core plugins.

Note: This does mean that any users with this plugin enabled will have
to re-enable it after the name change.
Change-Id: I216f0a5a345c8a24a02e45b94adfeb9e2b51e04c
diff --git a/python/tools/check_imports.py b/python/tools/check_imports.py
index 37c1a95..6f66efe 100755
--- a/python/tools/check_imports.py
+++ b/python/tools/check_imports.py
@@ -106,6 +106,7 @@
     ('/*plugins/*', [
         '/frontend/slice_layout',
         '/frontend/slice_args',
+        '/frontend/slice_details',
         '/frontend/checkerboard',
         '/common/track_helper',
         '/common/track_data',
diff --git a/ui/src/core_plugins/chrome_scroll_jank/event_latency_details_panel.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/event_latency_details_panel.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/event_latency_details_panel.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/event_latency_details_panel.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/event_latency_track.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/event_latency_track.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/event_latency_track.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/event_latency_track.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/index.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/index.ts
similarity index 98%
rename from ui/src/core_plugins/chrome_scroll_jank/index.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/index.ts
index 04feac4..00415e4 100644
--- a/ui/src/core_plugins/chrome_scroll_jank/index.ts
+++ b/ui/src/plugins/org.chromium.ChromeScrollJank/index.ts
@@ -23,7 +23,7 @@
 import {TrackNode} from '../../public/workspace';
 
 export default class implements PerfettoPlugin {
-  static readonly id = 'perfetto.ChromeScrollJank';
+  static readonly id = 'org.chromium.ChromeScrollJank';
   async onTraceLoad(ctx: Trace): Promise<void> {
     const group = new TrackNode({
       title: 'Chrome Scroll Jank',
diff --git a/ui/src/core_plugins/chrome_scroll_jank/jank_colors.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/jank_colors.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/jank_colors.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/jank_colors.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/scroll_delta_graph.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/scroll_delta_graph.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/scroll_delta_graph.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/scroll_delta_graph.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/scroll_details_panel.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/scroll_details_panel.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/scroll_details_panel.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/scroll_details_panel.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/scroll_jank_cause_link_utils.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/scroll_jank_cause_link_utils.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/scroll_jank_cause_link_utils.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/scroll_jank_cause_link_utils.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/scroll_jank_cause_map.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/scroll_jank_cause_map.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/scroll_jank_cause_map.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/scroll_jank_cause_map.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/scroll_jank_v3_details_panel.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/scroll_jank_v3_details_panel.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/scroll_jank_v3_details_panel.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/scroll_jank_v3_details_panel.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/scroll_jank_v3_track.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/scroll_jank_v3_track.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/scroll_jank_v3_track.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/scroll_jank_v3_track.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/scroll_track.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/scroll_track.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/scroll_track.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/scroll_track.ts
diff --git a/ui/src/core_plugins/chrome_scroll_jank/selection_utils.ts b/ui/src/plugins/org.chromium.ChromeScrollJank/selection_utils.ts
similarity index 100%
rename from ui/src/core_plugins/chrome_scroll_jank/selection_utils.ts
rename to ui/src/plugins/org.chromium.ChromeScrollJank/selection_utils.ts