~hikiko/unity/unity.ts

« back to all changes in this revision

Viewing changes to lockscreen/LockScreenController.h

MenuManager: add support for mouse trackers with triangle algorithm support

It allows to register pointer trackers with menu entries selection by using the triangle
technique which prevents menus items from being opened on quick menu scrubbing

Then use use menu::Manager pointer tracker for entries activation in PanelView, LockScreenPanel and DecorationsMenuLayout (LP: #1618405)

Approved by: Andrea Azzarone

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "SuspendInhibitorManager.h"
31
31
#include "ScreenSaverDBusManager.h"
32
32
#include "unity-shared/BackgroundEffectHelper.h"
33
 
#include "unity-shared/KeyGrabber.h"
34
33
#include "unity-shared/UpstartWrapper.h"
35
34
 
36
35
namespace unity
85
84
 
86
85
  DBusManager::Ptr dbus_manager_;
87
86
  session::Manager::Ptr session_manager_;
 
87
  menu::Manager::Ptr menu_manager_;
88
88
  key::Grabber::Ptr key_grabber_;
89
 
  indicator::Indicators::Ptr indicators_;
90
89
  AcceleratorController::Ptr accelerator_controller_;
91
90
  UpstartWrapper::Ptr upstart_wrapper_;
92
91
  ShieldFactoryInterface::Ptr shield_factory_;