| Index: chrome/browser/ui/ash/ash_init.cc
|
| diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc
|
| index 0ceb1aa4dc7a582ca5e223c940910e2cdac51dcd..8d087eb66117ab35500fff3591f2c2fae31da939 100644
|
| --- a/chrome/browser/ui/ash/ash_init.cc
|
| +++ b/chrome/browser/ui/ash/ash_init.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "ash/accelerators/accelerator_controller.h"
|
| #include "ash/ash_switches.h"
|
| +#include "ash/autoclick/autoclick_controller.h"
|
| #include "ash/high_contrast/high_contrast_controller.h"
|
| #include "ash/magnifier/magnification_controller.h"
|
| #include "ash/magnifier/partial_magnification_controller.h"
|
| @@ -19,6 +20,7 @@
|
| #include "chrome/browser/browser_shutdown.h"
|
| #include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
|
| #include "chrome/browser/chromeos/accessibility/magnification_manager.h"
|
| +#include "chrome/browser/chromeos/ui/autoclick_ring_handler.h"
|
| #include "chrome/browser/lifetime/application_lifetime.h"
|
| #include "chrome/browser/ui/ash/chrome_screenshot_grabber.h"
|
| #include "chrome/browser/ui/ash/chrome_shell_content_state.h"
|
| @@ -70,6 +72,9 @@ void OpenAsh(gfx::AcceleratedWidget remote_window) {
|
| ash::Shell* shell = ash::Shell::CreateInstance(shell_init_params);
|
| shell->accelerator_controller()->SetScreenshotDelegate(
|
| std::unique_ptr<ash::ScreenshotDelegate>(new ChromeScreenshotGrabber));
|
| + shell->autoclick_controller()->SetAutoclickgestureDelegate(
|
| + std::unique_ptr<ash::AutoclickgestureDelegate>(
|
| + new chromeos::LongPressAutoclickRingHandler));
|
| // TODO(flackr): Investigate exposing a blocking pool task runner to chromeos.
|
| chromeos::AccelerometerReader::GetInstance()->Initialize(
|
| content::BrowserThread::GetBlockingPool()
|
|
|