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

Unified Diff: chrome/browser/ui/ash/screenshot_taker.cc

Issue 292443002: linux_aura: Compile ash into chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: Rebase to ToT Created 6 years, 7 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: chrome/browser/ui/ash/screenshot_taker.cc
diff --git a/chrome/browser/ui/ash/screenshot_taker.cc b/chrome/browser/ui/ash/screenshot_taker.cc
index 08f81ee07d9fe02e2bb2cffd00db504446f31f1f..4cee4488f67464b3a727519e51e3fc823262b5b5 100644
--- a/chrome/browser/ui/ash/screenshot_taker.cc
+++ b/chrome/browser/ui/ash/screenshot_taker.cc
@@ -58,7 +58,9 @@ const int kScreenshotMinimumIntervalInMS = 1000;
const char kNotificationId[] = "screenshot";
+#if defined(OS_CHROMEOS)
const char kNotificationOriginUrl[] = "chrome://screenshot";
+#endif
const char kImageClipboardFormatPrefix[] = "<img src='data:image/png;base64,";
const char kImageClipboardFormatSuffix[] = "'>";
@@ -359,6 +361,7 @@ bool GetScreenshotDirectory(base::FilePath* directory) {
return true;
}
+#if defined(OS_CHROMEOS)
const int GetScreenshotNotificationTitle(
ScreenshotTakerObserver::Result screenshot_result) {
switch (screenshot_result) {
@@ -382,6 +385,7 @@ const int GetScreenshotNotificationText(
return IDS_ASH_SCREENSHOT_NOTIFICATION_TEXT_FAIL;
}
}
+#endif
} // namespace

Powered by Google App Engine
This is Rietveld 408576698