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

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: Rebase Created 8 years, 4 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 <utility> 7 #include <utility>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 SET_STRING(IDS_FILE_BROWSER, IMPORT_PHOTOS_BUTTON_LABEL); 1486 SET_STRING(IDS_FILE_BROWSER, IMPORT_PHOTOS_BUTTON_LABEL);
1487 1487
1488 SET_STRING(IDS_FILE_BROWSER, SEARCH_TEXT_LABEL); 1488 SET_STRING(IDS_FILE_BROWSER, SEARCH_TEXT_LABEL);
1489 1489
1490 SET_STRING(IDS_FILE_BROWSER, ACTION_VIEW); 1490 SET_STRING(IDS_FILE_BROWSER, ACTION_VIEW);
1491 SET_STRING(IDS_FILE_BROWSER, ACTION_OPEN); 1491 SET_STRING(IDS_FILE_BROWSER, ACTION_OPEN);
1492 SET_STRING(IDS_FILE_BROWSER, ACTION_WATCH); 1492 SET_STRING(IDS_FILE_BROWSER, ACTION_WATCH);
1493 SET_STRING(IDS_FILE_BROWSER, ACTION_LISTEN); 1493 SET_STRING(IDS_FILE_BROWSER, ACTION_LISTEN);
1494 SET_STRING(IDS_FILE_BROWSER, INSTALL_CRX); 1494 SET_STRING(IDS_FILE_BROWSER, INSTALL_CRX);
1495 1495
1496 SET_STRING(IDS_FILE_BROWSER, GALLERY_NO_IMAGES);
1497 SET_STRING(IDS_FILE_BROWSER, GALLERY_ITEMS_SELECTED);
1498 SET_STRING(IDS_FILE_BROWSER, GALLERY_MOSAIC);
1499 SET_STRING(IDS_FILE_BROWSER, GALLERY_SLIDE);
1500 SET_STRING(IDS_FILE_BROWSER, GALLERY_DELETE);
1501 SET_STRING(IDS_FILE_BROWSER, GALLERY_SLIDESHOW);
1502
1496 SET_STRING(IDS_FILE_BROWSER, GALLERY_EDIT); 1503 SET_STRING(IDS_FILE_BROWSER, GALLERY_EDIT);
1497 SET_STRING(IDS_FILE_BROWSER, GALLERY_SHARE); 1504 SET_STRING(IDS_FILE_BROWSER, GALLERY_SHARE);
1498 SET_STRING(IDS_FILE_BROWSER, GALLERY_ENTER_WHEN_DONE); 1505 SET_STRING(IDS_FILE_BROWSER, GALLERY_ENTER_WHEN_DONE);
1499 SET_STRING(IDS_FILE_BROWSER, GALLERY_AUTOFIX); 1506 SET_STRING(IDS_FILE_BROWSER, GALLERY_AUTOFIX);
1500 SET_STRING(IDS_FILE_BROWSER, GALLERY_FIXED); 1507 SET_STRING(IDS_FILE_BROWSER, GALLERY_FIXED);
1501 SET_STRING(IDS_FILE_BROWSER, GALLERY_CROP); 1508 SET_STRING(IDS_FILE_BROWSER, GALLERY_CROP);
1502 SET_STRING(IDS_FILE_BROWSER, GALLERY_EXPOSURE); 1509 SET_STRING(IDS_FILE_BROWSER, GALLERY_EXPOSURE);
1503 SET_STRING(IDS_FILE_BROWSER, GALLERY_BRIGHTNESS); 1510 SET_STRING(IDS_FILE_BROWSER, GALLERY_BRIGHTNESS);
1504 SET_STRING(IDS_FILE_BROWSER, GALLERY_CONTRAST); 1511 SET_STRING(IDS_FILE_BROWSER, GALLERY_CONTRAST);
1505 SET_STRING(IDS_FILE_BROWSER, GALLERY_ROTATE_LEFT); 1512 SET_STRING(IDS_FILE_BROWSER, GALLERY_ROTATE_LEFT);
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
2432 gdata::GDataSystemService* system_service = 2439 gdata::GDataSystemService* system_service =
2433 gdata::GDataSystemServiceFactory::GetForProfile(profile_); 2440 gdata::GDataSystemServiceFactory::GetForProfile(profile_);
2434 if (!system_service || !system_service->file_system()) 2441 if (!system_service || !system_service->file_system())
2435 return false; 2442 return false;
2436 2443
2437 FilePath directory_path = GetVirtualPathFromURL(GURL(file_url_as_string)); 2444 FilePath directory_path = GetVirtualPathFromURL(GURL(file_url_as_string));
2438 system_service->file_system()->RequestDirectoryRefresh(directory_path); 2445 system_service->file_system()->RequestDirectoryRefresh(directory_path);
2439 2446
2440 return true; 2447 return true;
2441 } 2448 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698