Index: ash/common/palette_delegate.h |
diff --git a/ash/common/palette_delegate.h b/ash/common/palette_delegate.h |
index 93f41438abf575423978565487f1f8a07adbbfa3..8b6be72891504488cd105dfb5db06c016af2d834 100644 |
--- a/ash/common/palette_delegate.h |
+++ b/ash/common/palette_delegate.h |
@@ -54,8 +54,13 @@ class PaletteDelegate { |
// Take a screenshot of the entire window. |
virtual void TakeScreenshot() = 0; |
- // Take a screenshot of a user-selected region. |
- virtual void TakePartialScreenshot() = 0; |
+ // Take a screenshot of a user-selected region. |done| is called when the |
+ // partial screenshot session has finished; a screenshot may or may not have |
+ // been taken. |
+ virtual void TakePartialScreenshot(const base::Closure& done) = 0; |
+ |
+ // Cancels any active partial screenshot session. |
+ virtual void CancelPartialScreenshot() = 0; |
// Called when the laser pointer has been enabled or disabled. |
virtual void OnLaserPointerEnabled() = 0; |