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

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

Issue 25108005: linux_aura: Compile ash into chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reupload to try off of ToT instead of LKGR 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 a94acdff9f157315860e0cc14d1b07e53bf036f8..1864112bcb6d6df9a633e6f940e7023d938ecd89 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