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

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

Issue 7828044: [filebrowser] First step to image editor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removed commented code. Created 9 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 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/command_line.h" 8 #include "base/command_line.h"
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 SET_STRING(IDS_FILE_BROWSER, EJECT_BUTTON); 1432 SET_STRING(IDS_FILE_BROWSER, EJECT_BUTTON);
1433 SET_STRING(IDS_FILE_BROWSER, IMAGE_DIMENSIONS); 1433 SET_STRING(IDS_FILE_BROWSER, IMAGE_DIMENSIONS);
1434 SET_STRING(IDS_FILE_BROWSER, VOLUME_LABEL); 1434 SET_STRING(IDS_FILE_BROWSER, VOLUME_LABEL);
1435 SET_STRING(IDS_FILE_BROWSER, READ_ONLY); 1435 SET_STRING(IDS_FILE_BROWSER, READ_ONLY);
1436 1436
1437 SET_STRING(IDS_FILE_BROWSER, ARCHIVE_MOUNT_FAILED); 1437 SET_STRING(IDS_FILE_BROWSER, ARCHIVE_MOUNT_FAILED);
1438 SET_STRING(IDS_FILE_BROWSER, MOUNT_ARCHIVE); 1438 SET_STRING(IDS_FILE_BROWSER, MOUNT_ARCHIVE);
1439 SET_STRING(IDS_FILE_BROWSER, UNMOUNT_ARCHIVE); 1439 SET_STRING(IDS_FILE_BROWSER, UNMOUNT_ARCHIVE);
1440 SET_STRING(IDS_FILE_BROWSER, FORMAT_DEVICE); 1440 SET_STRING(IDS_FILE_BROWSER, FORMAT_DEVICE);
1441 1441
1442 SET_STRING(IDS_FILE_BROWSER, GALLERY);
1443
1442 SET_STRING(IDS_FILE_BROWSER, CONFIRM_OVERWRITE_FILE); 1444 SET_STRING(IDS_FILE_BROWSER, CONFIRM_OVERWRITE_FILE);
1443 SET_STRING(IDS_FILE_BROWSER, FILE_ALREADY_EXISTS); 1445 SET_STRING(IDS_FILE_BROWSER, FILE_ALREADY_EXISTS);
1444 SET_STRING(IDS_FILE_BROWSER, DIRECTORY_ALREADY_EXISTS); 1446 SET_STRING(IDS_FILE_BROWSER, DIRECTORY_ALREADY_EXISTS);
1445 SET_STRING(IDS_FILE_BROWSER, ERROR_RENAMING); 1447 SET_STRING(IDS_FILE_BROWSER, ERROR_RENAMING);
1446 SET_STRING(IDS_FILE_BROWSER, RENAME_PROMPT); 1448 SET_STRING(IDS_FILE_BROWSER, RENAME_PROMPT);
1447 SET_STRING(IDS_FILE_BROWSER, RENAME_BUTTON_LABEL); 1449 SET_STRING(IDS_FILE_BROWSER, RENAME_BUTTON_LABEL);
1448 1450
1449 SET_STRING(IDS_FILE_BROWSER, ERROR_DELETING); 1451 SET_STRING(IDS_FILE_BROWSER, ERROR_DELETING);
1450 SET_STRING(IDS_FILE_BROWSER, DELETE_BUTTON_LABEL); 1452 SET_STRING(IDS_FILE_BROWSER, DELETE_BUTTON_LABEL);
1451 1453
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1534 // TODO(serya): Create a new string in .grd file for this one in M13. 1536 // TODO(serya): Create a new string in .grd file for this one in M13.
1535 dict->SetString("PREVIEW_IMAGE", 1537 dict->SetString("PREVIEW_IMAGE",
1536 l10n_util::GetStringUTF16(IDS_CERT_MANAGER_VIEW_CERT_BUTTON)); 1538 l10n_util::GetStringUTF16(IDS_CERT_MANAGER_VIEW_CERT_BUTTON));
1537 dict->SetString("PLAY_MEDIA", 1539 dict->SetString("PLAY_MEDIA",
1538 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLAY)); 1540 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLAY));
1539 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableArchives)) 1541 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableArchives))
1540 dict->SetString("ENABLE_ARCHIVES", "true"); 1542 dict->SetString("ENABLE_ARCHIVES", "true");
1541 1543
1542 return true; 1544 return true;
1543 } 1545 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/component_extension_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698