Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: ash/screenshot_delegate.h

Issue 1827323002: Take screenshot of active window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/screenshot_delegate.h
diff --git a/ash/screenshot_delegate.h b/ash/screenshot_delegate.h
index 9e7af06134f0aa907e0aa3d61c156831c320e7d7..14217e384018f3eb5f8126e7edc06b9fbb3dd1d4 100644
--- a/ash/screenshot_delegate.h
+++ b/ash/screenshot_delegate.h
@@ -29,6 +29,9 @@ class ScreenshotDelegate {
virtual void HandleTakePartialScreenshot(
aura::Window* window, const gfx::Rect& rect) = 0;
+ // The actual task of taking screenshot for the given window.
+ virtual void HandleTakeWindowScreenshot(aura::Window* window) = 0;
+
// Returns true if the system is ready to take screenshot.
virtual bool CanTakeScreenshot() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698