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

Unified Diff: ash/common/system/chromeos/palette/tools/capture_region_mode.cc

Issue 2506583005: Hide dismiss button on toast when doing partial screenshot using stylus tools. (Closed)
Patch Set: Add DCHECK Created 4 years, 1 month 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 | « no previous file | ash/common/system/toast/toast_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/palette/tools/capture_region_mode.cc
diff --git a/ash/common/system/chromeos/palette/tools/capture_region_mode.cc b/ash/common/system/chromeos/palette/tools/capture_region_mode.cc
index 4b13014deed099e7b196f71c6e63230087a850f1..55a53cfec31a3c77fa33bcdf04180c9f36577a93 100644
--- a/ash/common/system/chromeos/palette/tools/capture_region_mode.cc
+++ b/ash/common/system/chromeos/palette/tools/capture_region_mode.cc
@@ -45,7 +45,7 @@ void CaptureRegionMode::OnEnable() {
ToastData toast(kToastId, l10n_util::GetStringUTF16(
IDS_ASH_STYLUS_TOOLS_CAPTURE_REGION_TOAST),
- kToastDurationMs, base::string16());
+ kToastDurationMs, base::Optional<base::string16>());
ash::WmShell::Get()->toast_manager()->Show(toast);
WmShell::Get()->palette_delegate()->TakePartialScreenshot(base::Bind(
« no previous file with comments | « no previous file | ash/common/system/toast/toast_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698