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

Unified Diff: ash/accelerators/accelerator_filter_unittest.cc

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_controller_unittest.cc ('k') | ash/screenshot_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_filter_unittest.cc
diff --git a/ash/accelerators/accelerator_filter_unittest.cc b/ash/accelerators/accelerator_filter_unittest.cc
index 723960a20020fda901947b3db8157229f4a58234..af376b770945ed1ef741e5130719bb231c4c0045 100644
--- a/ash/accelerators/accelerator_filter_unittest.cc
+++ b/ash/accelerators/accelerator_filter_unittest.cc
@@ -40,6 +40,10 @@ class DummyScreenshotDelegate : public ScreenshotDelegate {
// Do nothing because it's not tested yet.
}
+ virtual bool CanTakeScreenshot() OVERRIDE {
+ return true;
+ }
+
int handle_take_screenshot_count() const {
return handle_take_screenshot_count_;
}
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/screenshot_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698