summaryrefslogtreecommitdiffstats
path: root/ash/shell
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shell')
-rw-r--r--ash/shell/shell_main.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/shell/shell_main.cc b/ash/shell/shell_main.cc
index 4dc19b3..7b50104 100644
--- a/ash/shell/shell_main.cc
+++ b/ash/shell/shell_main.cc
@@ -15,6 +15,7 @@
#include "ash/shell/example_factory.h"
#include "ash/shell/shell_main_parts.h"
#include "ash/shell/toplevel_window.h"
+#include "ash/wm/partial_screenshot_view.h"
#include "ash/wm/window_util.h"
#include "base/at_exit.h"
#include "base/command_line.h"
@@ -185,6 +186,11 @@ class ShellDelegateImpl : public ash::ShellDelegate {
return windows;
}
+ virtual void StartPartialScreenshot(
+ ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE {
+ ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate);
+ }
+
virtual ash::LauncherDelegate* CreateLauncherDelegate() OVERRIDE {
return new LauncherDelegateImpl(watcher_);
}