diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-16 13:23:45 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-16 13:23:45 +0000 |
commit | 0b0b074f6a864e98ad8bf7f78a583df86039e6e3 (patch) | |
tree | 92be984e5aac798ff2c063db90c73c0155e64a7f /ash/shell | |
parent | 5c1eeb8382a3ad697d90857ae3f7baf34a206bf7 (diff) | |
download | chromium_src-0b0b074f6a864e98ad8bf7f78a583df86039e6e3.zip chromium_src-0b0b074f6a864e98ad8bf7f78a583df86039e6e3.tar.gz chromium_src-0b0b074f6a864e98ad8bf7f78a583df86039e6e3.tar.bz2 |
Implement taking partial screenshot.
BUG=108763
TEST=manually && aura_shell_unittests passed
Review URL: http://codereview.chromium.org/9368051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell')
-rw-r--r-- | ash/shell/shell_main.cc | 6 |
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_); } |