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

Side by Side Diff: chrome/browser/extensions/extension_file_browser_private_api.cc

Issue 8799006: Replace the Slideshow with the Photo Editor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_file_browser_private_api.h" 5 #include "chrome/browser/extensions/extension_file_browser_private_api.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
(...skipping 1661 matching lines...) Expand 10 before | Expand all | Expand 10 after
1672 SET_STRING(IDS_FILE_BROWSER, HTML_DOCUMENT_FILE_TYPE); 1672 SET_STRING(IDS_FILE_BROWSER, HTML_DOCUMENT_FILE_TYPE);
1673 SET_STRING(IDS_FILE_BROWSER, ZIP_ARCHIVE_FILE_TYPE); 1673 SET_STRING(IDS_FILE_BROWSER, ZIP_ARCHIVE_FILE_TYPE);
1674 SET_STRING(IDS_FILE_BROWSER, PLAIN_TEXT_FILE_TYPE); 1674 SET_STRING(IDS_FILE_BROWSER, PLAIN_TEXT_FILE_TYPE);
1675 SET_STRING(IDS_FILE_BROWSER, PDF_DOCUMENT_FILE_TYPE); 1675 SET_STRING(IDS_FILE_BROWSER, PDF_DOCUMENT_FILE_TYPE);
1676 1676
1677 SET_STRING(IDS_FILE_BROWSER, ENQUEUE); 1677 SET_STRING(IDS_FILE_BROWSER, ENQUEUE);
1678 #undef SET_STRING 1678 #undef SET_STRING
1679 1679
1680 ChromeURLDataManager::DataSource::SetFontAndTextDirection(dict); 1680 ChromeURLDataManager::DataSource::SetFontAndTextDirection(dict);
1681 1681
1682 // TODO(serya): Create a new string in .grd file for this one in M13.
1683 dict->SetString("PREVIEW_IMAGE",
1684 l10n_util::GetStringUTF16(IDS_CERT_MANAGER_VIEW_CERT_BUTTON));
1685 dict->SetString("PLAY_MEDIA", 1682 dict->SetString("PLAY_MEDIA",
dgozman 2011/12/05 11:47:34 Maybe, we do not use this too?
Vladislav Kaznacheev 2011/12/05 13:40:11 We do use it. On 2011/12/05 11:47:34, dgozman wrot
1686 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLAY)); 1683 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLAY));
1687 #if defined(OS_CHROMEOS)
1688 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnablePhotoEditor))
1689 dict->SetString("ENABLE_PHOTO_EDITOR", "true");
1690 #endif
1691 1684
1692 return true; 1685 return true;
1693 } 1686 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698