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

Unified Diff: ash/utility/screenshot_controller_unittest.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/utility/screenshot_controller.cc ('k') | chrome/browser/ui/ash/palette_delegate_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/utility/screenshot_controller_unittest.cc
diff --git a/ash/utility/screenshot_controller_unittest.cc b/ash/utility/screenshot_controller_unittest.cc
index 01ba2fe2100ee4f97879ef81c25b5068aad2ea20..b7e9ddac3701ba8fd53a705bee76d3cc3b7e7b95 100644
--- a/ash/utility/screenshot_controller_unittest.cc
+++ b/ash/utility/screenshot_controller_unittest.cc
@@ -47,7 +47,7 @@ class ScreenshotControllerTest : public test::AshTestBase {
GetScreenshotDelegate());
}
- void Cancel() { screenshot_controller()->Cancel(); }
+ void Cancel() { screenshot_controller()->CancelScreenshotSession(); }
bool IsActive() {
return screenshot_controller()->screenshot_delegate_ != nullptr;
« no previous file with comments | « ash/utility/screenshot_controller.cc ('k') | chrome/browser/ui/ash/palette_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698