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

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: Address comments Created 4 years, 3 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/common/test/test_palette_delegate.h ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b9c2ec4f230fd40852c98de56f8142195b1755f8..e34a7dda053c8ba3d55110df6fb7388299796e79 100644
--- a/ash/common/test/test_palette_delegate.cc
+++ b/ash/common/test/test_palette_delegate.cc
@@ -25,6 +25,10 @@ bool TestPaletteDelegate::HasNoteApp() {
return has_note_app_;
}
+void TestPaletteDelegate::OnLaserPointerEnabled() {}
+
+void TestPaletteDelegate::OnLaserPointerDisabled() {}
+
void TestPaletteDelegate::SetPartialMagnifierState(bool enabled) {
partial_magnifier_state_ = enabled;
}
@@ -45,12 +49,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::OnLaserPointerEnabled() {}
-
-void TestPaletteDelegate::OnLaserPointerDisabled() {}
+void TestPaletteDelegate::CancelPartialScreenshot() {}
} // namespace ash
« no previous file with comments | « ash/common/test/test_palette_delegate.h ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698