Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1355)

Unified Diff: Source/devtools/front_end/layersPanel.css

Issue 429883004: DevTools: add pie chart to the paint profiler overview. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/layersPanel.css
diff --git a/Source/devtools/front_end/layersPanel.css b/Source/devtools/front_end/layersPanel.css
index f6d9f2047c056ddfdf2abc776b315870b559ac55..e0adca3e752fbeb070868307e7c3928cf40593ec 100644
--- a/Source/devtools/front_end/layersPanel.css
+++ b/Source/devtools/front_end/layersPanel.css
@@ -77,27 +77,36 @@
background-color: rgba(100, 100, 100, 0.2);
}
-.paint-profiler-view canvas {
- z-index: 200;
- opacity: 0.8;
- background-color: white;
+.paint-profiler-canvas-container {
+ flex: auto;
+ position: relative;
+}
+
+.paint-profiler-overview {
+ background-color: rgb(244, 244, 244);
}
-.paint-profiler-view {
+.paint-profiler-pie-chart {
+ width: 60px;
+ height: 60px;
+ padding: 2px;
overflow: hidden;
}
-.paint-profiler-view .overview-grid-dividers-background,
-.paint-profiler-view .overview-grid-window {
+.paint-profiler-canvas-container canvas {
+ z-index: 200;
+ background-color: white;
+ opacity: 0.95;
+ height: 100%;
+ width: 100%;
+}
+
+.paint-profiler-canvas-container .overview-grid-dividers-background,
+.paint-profiler-canvas-container .overview-grid-window {
bottom: 0;
height: auto;
}
-.paint-profiler-view .overview-grid-window-resizer {
+.paint-profiler-canvas-container .overview-grid-window-resizer {
z-index: 2000;
}
-
-.paint-profiler-view canvas {
- height: 100%;
- width: 100%;
-}
« no previous file with comments | « Source/devtools/front_end/components/OverviewGrid.js ('k') | Source/devtools/front_end/profiler/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698