Index: chrome/browser/ui/ash/chrome_shell_delegate.cc |
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc |
index 7ea5b6089ac5392e6a477225e25898d4a96045f3..c58d4e6067de838aabe0588cd841d6ea5f3d07f4 100644 |
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc |
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc |
@@ -7,9 +7,11 @@ |
#include <stddef.h> |
#include "ash/content/gpu_support_impl.h" |
+#include "ash/pointer_watcher_delegate_aura.h" |
#include "ash/session/session_state_delegate.h" |
#include "ash/wm/common/window_state.h" |
#include "ash/wm/window_util.h" |
+#include "base/memory/ptr_util.h" |
#include "build/build_config.h" |
#include "chrome/browser/app_mode/app_mode_utils.h" |
#include "chrome/browser/lifetime/application_lifetime.h" |
@@ -154,6 +156,11 @@ ash::ShelfDelegate* ChromeShellDelegate::CreateShelfDelegate( |
return shelf_delegate_; |
} |
+std::unique_ptr<ash::PointerWatcherDelegate> |
+ChromeShellDelegate::CreatePointerWatcherDelegate() { |
+ return base::WrapUnique(new ash::PointerWatcherDelegateAura); |
+} |
+ |
ui::MenuModel* ChromeShellDelegate::CreateContextMenu( |
ash::Shelf* shelf, |
const ash::ShelfItem* item) { |