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

Unified Diff: ash/screenshot_delegate.h

Issue 10802046: Ignores screenshot taking invocations if it's too close to the previous one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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
« no previous file with comments | « ash/accelerators/accelerator_filter_unittest.cc ('k') | chrome/browser/ui/ash/screenshot_taker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screenshot_delegate.h
diff --git a/ash/screenshot_delegate.h b/ash/screenshot_delegate.h
index 51a74dbd5e70a04b2e96da2158397eaf7cd8fef9..fe194e8a792d599b0435ea62d3dc862362f5a89f 100644
--- a/ash/screenshot_delegate.h
+++ b/ash/screenshot_delegate.h
@@ -29,6 +29,9 @@ class ScreenshotDelegate {
// window.
virtual void HandleTakePartialScreenshot(
aura::Window* window, const gfx::Rect& rect) = 0;
+
+ // Returns true if the system is ready to take screenshot.
+ virtual bool CanTakeScreenshot() = 0;
};
} // namespace ash
« no previous file with comments | « ash/accelerators/accelerator_filter_unittest.cc ('k') | chrome/browser/ui/ash/screenshot_taker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698