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

Unified Diff: ash/common/test/test_palette_delegate.cc

Issue 2291913002: Allow the user to cancel the capture region action, and show its active status in the tray. (Closed)
Patch Set: Created 4 years, 4 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/common/test/test_palette_delegate.cc
diff --git a/ash/common/test/test_palette_delegate.cc b/ash/common/test/test_palette_delegate.cc
index b3bd02943eddb954d7b48ac2e2f9d780073ed725..7350d8ed175c9664bf214a0eb828b7a3aae9d405 100644
--- a/ash/common/test/test_palette_delegate.cc
+++ b/ash/common/test/test_palette_delegate.cc
@@ -45,8 +45,11 @@ void TestPaletteDelegate::TakeScreenshot() {
++take_screenshot_count_;
}
-void TestPaletteDelegate::TakePartialScreenshot() {
+void TestPaletteDelegate::TakePartialScreenshot(const base::Closure& done) {
++take_partial_screenshot_count_;
+ partial_screenshot_done_ = done;
}
+void TestPaletteDelegate::CancelPartialScreenshot() {}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698