forked from flutter/devtools
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup UX for widget build counts feature (flutter#7847)
- Loading branch information
1 parent
27abf88
commit e10ec8d
Showing
30 changed files
with
199 additions
and
170 deletions.
There are no files selected for viewing
Binary file modified
BIN
-11.1 KB
(90%)
...s/devtools_app/integration_test/test_infra/goldens/perfetto_frame_selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-11.1 KB
(90%)
...devtools_app/integration_test/test_infra/goldens/perfetto_frame_selection_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-11.1 KB
(91%)
...ages/devtools_app/integration_test/test_infra/goldens/perfetto_initial_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...evtools_app/lib/src/screens/performance/panes/rebuild_stats/rebuild_stats_controller.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright 2024 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
import 'dart:async'; | ||
|
||
import '../../performance_controller.dart'; | ||
import '../../performance_model.dart'; | ||
import '../flutter_frames/flutter_frame_model.dart'; | ||
|
||
// TODO(kenz): merge this control with the Rebuild Stats model class so that | ||
// this feature conforms to the patterns of other Performance page features. | ||
// This is just a temporary placeholder to ensure that we do not switch off of | ||
// the Rebuild Stats tab when frame selections occur. | ||
class RebuildStatsController extends PerformanceFeatureController { | ||
RebuildStatsController(super.performanceController); | ||
|
||
@override | ||
FutureOr<void> clearData() {} | ||
|
||
@override | ||
void handleSelectedFrame(FlutterFrame frame) {} | ||
|
||
@override | ||
Future<void> init() async {} | ||
|
||
@override | ||
void onBecomingActive() {} | ||
|
||
@override | ||
Future<void> setOfflineData(OfflinePerformanceData offlineData) async {} | ||
} |
Oops, something went wrong.