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

Side by Side Diff: chrome/browser/chromeos/extensions/file_browser_private_api.cc

Issue 10829421: First cut of the updated Photo Editor UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/chromeos/extensions/file_browser_private_api.h" 5 #include "chrome/browser/chromeos/extensions/file_browser_private_api.h"
6 6
7 #include <sys/statvfs.h> 7 #include <sys/statvfs.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
(...skipping 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 SET_STRING(IDS_FILE_BROWSER, IMPORT_PHOTOS_BUTTON_LABEL); 1475 SET_STRING(IDS_FILE_BROWSER, IMPORT_PHOTOS_BUTTON_LABEL);
1476 1476
1477 SET_STRING(IDS_FILE_BROWSER, SEARCH_TEXT_LABEL); 1477 SET_STRING(IDS_FILE_BROWSER, SEARCH_TEXT_LABEL);
1478 1478
1479 SET_STRING(IDS_FILE_BROWSER, ACTION_VIEW); 1479 SET_STRING(IDS_FILE_BROWSER, ACTION_VIEW);
1480 SET_STRING(IDS_FILE_BROWSER, ACTION_OPEN); 1480 SET_STRING(IDS_FILE_BROWSER, ACTION_OPEN);
1481 SET_STRING(IDS_FILE_BROWSER, ACTION_WATCH); 1481 SET_STRING(IDS_FILE_BROWSER, ACTION_WATCH);
1482 SET_STRING(IDS_FILE_BROWSER, ACTION_LISTEN); 1482 SET_STRING(IDS_FILE_BROWSER, ACTION_LISTEN);
1483 SET_STRING(IDS_FILE_BROWSER, INSTALL_CRX); 1483 SET_STRING(IDS_FILE_BROWSER, INSTALL_CRX);
1484 1484
1485 SET_STRING(IDS_FILE_BROWSER, GALLERY_NO_IMAGES);
1486 SET_STRING(IDS_FILE_BROWSER, GALLERY_ITEMS_SELECTED);
1487 SET_STRING(IDS_FILE_BROWSER, GALLERY_MOSAIC);
1488 SET_STRING(IDS_FILE_BROWSER, GALLERY_SLIDE);
1489 SET_STRING(IDS_FILE_BROWSER, GALLERY_DELETE);
1490 SET_STRING(IDS_FILE_BROWSER, GALLERY_SLIDESHOW);
1491
1485 SET_STRING(IDS_FILE_BROWSER, GALLERY_EDIT); 1492 SET_STRING(IDS_FILE_BROWSER, GALLERY_EDIT);
1486 SET_STRING(IDS_FILE_BROWSER, GALLERY_SHARE); 1493 SET_STRING(IDS_FILE_BROWSER, GALLERY_SHARE);
1487 SET_STRING(IDS_FILE_BROWSER, GALLERY_ENTER_WHEN_DONE); 1494 SET_STRING(IDS_FILE_BROWSER, GALLERY_ENTER_WHEN_DONE);
1488 SET_STRING(IDS_FILE_BROWSER, GALLERY_AUTOFIX); 1495 SET_STRING(IDS_FILE_BROWSER, GALLERY_AUTOFIX);
1489 SET_STRING(IDS_FILE_BROWSER, GALLERY_FIXED); 1496 SET_STRING(IDS_FILE_BROWSER, GALLERY_FIXED);
1490 SET_STRING(IDS_FILE_BROWSER, GALLERY_CROP); 1497 SET_STRING(IDS_FILE_BROWSER, GALLERY_CROP);
1491 SET_STRING(IDS_FILE_BROWSER, GALLERY_EXPOSURE); 1498 SET_STRING(IDS_FILE_BROWSER, GALLERY_EXPOSURE);
1492 SET_STRING(IDS_FILE_BROWSER, GALLERY_BRIGHTNESS); 1499 SET_STRING(IDS_FILE_BROWSER, GALLERY_BRIGHTNESS);
1493 SET_STRING(IDS_FILE_BROWSER, GALLERY_CONTRAST); 1500 SET_STRING(IDS_FILE_BROWSER, GALLERY_CONTRAST);
1494 SET_STRING(IDS_FILE_BROWSER, GALLERY_ROTATE_LEFT); 1501 SET_STRING(IDS_FILE_BROWSER, GALLERY_ROTATE_LEFT);
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 gdata::DriveSystemService* system_service = 2447 gdata::DriveSystemService* system_service =
2441 gdata::DriveSystemServiceFactory::GetForProfile(profile_); 2448 gdata::DriveSystemServiceFactory::GetForProfile(profile_);
2442 if (!system_service || !system_service->file_system()) 2449 if (!system_service || !system_service->file_system())
2443 return false; 2450 return false;
2444 2451
2445 FilePath directory_path = GetVirtualPathFromURL(GURL(file_url_as_string)); 2452 FilePath directory_path = GetVirtualPathFromURL(GURL(file_url_as_string));
2446 system_service->file_system()->RequestDirectoryRefresh(directory_path); 2453 system_service->file_system()->RequestDirectoryRefresh(directory_path);
2447 2454
2448 return true; 2455 return true;
2449 } 2456 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/file_manager/css/gallery.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698