summaryrefslogtreecommitdiffstats
path: root/ash/shell_delegate.h
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-16 13:23:45 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-16 13:23:45 +0000
commit0b0b074f6a864e98ad8bf7f78a583df86039e6e3 (patch)
tree92be984e5aac798ff2c063db90c73c0155e64a7f /ash/shell_delegate.h
parent5c1eeb8382a3ad697d90857ae3f7baf34a206bf7 (diff)
downloadchromium_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_delegate.h')
-rw-r--r--ash/shell_delegate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index f268346..8e696da 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -26,6 +26,7 @@ class AppListModel;
class AppListViewDelegate;
class LauncherDelegate;
struct LauncherItem;
+class ScreenshotDelegate;
// Delegate of the Shell.
class ASH_EXPORT ShellDelegate {
@@ -74,6 +75,10 @@ class ASH_EXPORT ShellDelegate {
CycleSource source,
CycleOrder order) const = 0;
+ // Invoked to start taking partial screenshot.
+ virtual void StartPartialScreenshot(
+ ScreenshotDelegate* screenshot_delegate) = 0;
+
// Creates a new LauncherDelegate. Shell takes ownership of the returned
// value.
virtual LauncherDelegate* CreateLauncherDelegate() = 0;