@@ -28,9 +28,7 @@ import "Dash"
2828import "Greeter"
2929import "Launcher"
3030import "Panel"
31−import "Hud"
3231import "Components"
33−import "Bottombar"
3432import "Notifications"
3533import Unity.Notifications 1.0 as NotificationBackend
3634
@@ -308,7 +306,7 @@ FocusScope {
308306
309307 readonly property int backgroundTopMargin: -panel.panelHeight
310308
311− hides: [launcher, panel.indicators, hud]
309+ hides: [launcher, panel.indicators]
312310 shown: false
313311 enabled: true
314312 showAnimation: StandardAnimation { property: "opacity"; to: 1 }
@@ -381,7 +379,7 @@ FocusScope {
381379 objectName: "greeter"
382380
383381 available: true
384− hides: [launcher, panel.indicators, hud]
382+ hides: [launcher, panel.indicators]
385383 shown: true
386384
387385 defaultBackground: shell.background
@@ -424,7 +422,7 @@ FocusScope {
424422 InputFilterArea {
425423 anchors.fill: parent
426424 blockInput: ApplicationManager.focusedApplicationId.length === 0 || greeter.shown || lockscreen.shown || launcher.shown
427− || panel.indicators.shown || hud.shown
425+ || panel.indicators.shown
428426 }
429427
430428 Connections {
@@ -488,47 +486,6 @@ FocusScope {
488486 }
489487 }
490488
491− Hud {
492− id: hud
493−
494− width: parent.width > units.gu(60) ? units.gu(40) : parent.width
495− height: parent.height
496−
497− available: !greeter.shown && !panel.indicators.shown && !lockscreen.shown && edgeDemo.dashEnabled
498− shown: false
499− showAnimation: StandardAnimation { property: "y"; duration: hud.showableAnimationDuration; to: 0; easing.type: Easing.Linear }
500− hideAnimation: StandardAnimation { property: "y"; duration: hud.showableAnimationDuration; to: hudRevealer.closedValue; easing.type: Easing.Linear }
501−
502− Connections {
503− target: ApplicationManager
504− onFocusedApplicationIdChanged: hud.hide()
505− }
506− }
507−
508− Revealer {
509− id: hudRevealer
510−
511− enabled: hud.shown
512− width: hud.width
513− anchors.left: hud.left
514− height: parent.height
515− target: hud.revealerTarget
516− closedValue: height
517− openedValue: 0
518− direction: Qt.RightToLeft
519− orientation: Qt.Vertical
520− handleSize: hud.handleHeight
521− onCloseClicked: target.hide()
522− }
523−
524− Bottombar {
525− id: bottombar
526− theHud: hud
527− anchors.fill: parent
528− enabled: hud.available
529− applicationIsOnForeground: ApplicationManager.focusedApplicationId
530− }
531−
532489 InputFilterArea {
533490 blockInput: launcher.shown
534491 anchors {
@@ -576,8 +533,6 @@ FocusScope {
576533 onShownChanged: {
577534 if (shown) {
578535 panel.indicators.hide()
579− hud.hide()
580− bottombar.hide()
581536 }
582537 }
583538 }