summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/extensions/file_browser_notifications.h
Commit message (Collapse)AuthorAgeFilesLines
* chromeos: Move chrome/browser/chromeos/extensions/file_browser* to ↵hashimoto@chromium.org2013-04-111-100/+0
| | | | | | | | | | | | | | | | chrome/browser/chromeos/file_manager/ Move file_browser* (except API related files) to file_manager and rename them to file_manager*. API related files will get moved in separate changes. BUG=224200 TEST=build Review URL: https://chromiumcodereview.appspot.com/14020002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193575 0039d316-1c4b-4281-b951-d872f2087c98
* Disable USB/SD unsafe unplug notification.rkc@chromium.org2013-03-221-1/+0
| | | | | | | | | | | | Remove the notification that we show if a user unplugs a removeable device without first ejecting it. R=zelidrag@chromium.org BUG=222820 TEST=Plug in a USB device, unplug it without ejecting it, make sure the notification doesn't show up. Review URL: https://codereview.chromium.org/12851015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189900 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed notifications for formatting in Files.appmtomasz@chromium.org2013-01-171-2/+2
| | | | | | | | | | | | Titles of notifications about formatting progress were incorrect. This patch fixes that. TEST=Format a usb stick. Refer to screen shots in bugs' descriptions. BUG=170387,170385 Review URL: https://chromiumcodereview.appspot.com/11967042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177391 0039d316-1c4b-4281-b951-d872f2087c98
* Some refactoring in file browser notifications:tbarzic@chromium.org2012-11-301-12/+17
| | | | | | | | | | | | | | | | | | | | | | - remove GDATA notification types (they're not used anymore). - when creating notification id for DEVICE_FAIL notification, don't append count of fail notifications for the failed device (this was used with the old system notifications api to avoid removing and adding a notification with the same id in short time span; there were some problems with updating notification message) - make ShowNotificationWithMessage private - instead of using switch/case when determining notification parameters for type, get them from a global (file scoped) array - make notification id prefixes more descriptive - make sure there are not multiple DEVICE_HARD_UNPLUG messages for the same (multipartition) device TEST=existing BUG=163252 Review URL: https://chromiumcodereview.appspot.com/11418123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170318 0039d316-1c4b-4281-b951-d872f2087c98
* UI: show pop-up notification to warn user against hard unplugging.hshi@chromium.org2012-10-151-0/+1
| | | | | | | | | | | | | Display notification to warn user against manual unplugging of removable storage. Remind user to click the eject icon next time. BUG=151436 TEST=manually on lumpy, daisy Review URL: https://chromiumcodereview.appspot.com/11148003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161915 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate kAshNotifyDisabled and SystemNotificationstevenjb@google.com2012-09-241-3/+0
| | | | | | | | | | BUG=134561 For OWNERS: TBR=ben Review URL: https://codereview.chromium.org/10947046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158305 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly remove file browser notifications from Ash notification tray.stevenjb@google.com2012-08-131-1/+2
| | | | | | | | | | | | | Also added replace_id to DesktopNotificationService::AddNotification so that notifications are correctly replaced/updated. BUG=135286 For minor changes to status_icons/ background/ and printing/: TBR=atwilson@chromium.org,thestig@chromium.org Review URL: https://chromiumcodereview.appspot.com/10824265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151305 0039d316-1c4b-4281-b951-d872f2087c98
* Add DesktopNotificationService::AddNotificationstevenjb@google.com2012-06-141-61/+30
| | | | | | | | | | | | | | | Convert BackgroundContentsService, FileBrowserNotifications, CloudPrintProxyService, and DesktopNotificationBalloon to use DesktopNotificationService::AdddNotification. Includes some significant re-factoring of FileBrowserNotifications to support Ash notifications (apologies). BUG=124914 TEST=Notification tests pass. Desktop notifications (e.g. cloud print, file browser) work with --ash-notify For CloudPrintProxyService: TBR=scottbyer@chromium.org Review URL: https://chromiumcodereview.appspot.com/10548052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142259 0039d316-1c4b-4281-b951-d872f2087c98
* Update use of TimeDelta in chrome/browser/*, ui/views/*, and other places.tedvessenes@gmail.com2012-05-171-6/+5
| | | | | | | | | | R=ben@chromium.org BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10026013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137682 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Show system notification for GData upload/download.kinaba@chromium.org2012-03-211-1/+7
| | | | | | | | | | | | | | | BUG=chromium-os:27875 TEST=unit_tests --gtest_filter='*FileBrowser*' TEST=unit_tests --gtest_filter='*GData*' TEST=manual test uploading/downloading in GData Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127839 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=127846 (Broke unit_tests:GDataOperationRegistryTest) Review URL: https://chromiumcodereview.appspot.com/9747001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127875 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127839 - cros: Show system notification for GData upload/download.kinaba@chromium.org2012-03-211-7/+1
| | | | | | | | | | | | | BUG=chromium-os:27875 TEST=unit_tests --gtest_filter='*FileBrowser*' TEST=manual test uploading/downloading in GData Review URL: https://chromiumcodereview.appspot.com/9747001 TBR=kinaba@chromium.org Review URL: https://chromiumcodereview.appspot.com/9766012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127846 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Show system notification for GData upload/download.kinaba@chromium.org2012-03-201-1/+7
| | | | | | | | | | BUG=chromium-os:27875 TEST=unit_tests --gtest_filter='*FileBrowser*' TEST=manual test uploading/downloading in GData Review URL: https://chromiumcodereview.appspot.com/9747001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127839 0039d316-1c4b-4281-b951-d872f2087c98
* Implement chromeos SystemNotification on Aura by introducing ↵stevenjb@chromium.org2012-01-181-3/+2
| | | | | | | | | | | | | | BalloonCollectionImplAura. BUG=98331 TEST=Test system notifications (failed network connect, low battery) on ChromeOS Aura. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117984 Review URL: http://codereview.chromium.org/9187043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118044 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117984 - Implement chromeos SystemNotification on Aura by introducing ↵apatrick@chromium.org2012-01-171-2/+3
| | | | | | | | | | | | | | BalloonCollectionImplAura. BUG=98331 TEST=Test system notifications (failed network connect, low battery) on ChromeOS Aura. Review URL: http://codereview.chromium.org/9187043 TBR=stevenjb@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117987 0039d316-1c4b-4281-b951-d872f2087c98
* Implement chromeos SystemNotification on Aura by introducing ↵stevenjb@chromium.org2012-01-171-3/+2
| | | | | | | | | | | | BalloonCollectionImplAura. BUG=98331 TEST=Test system notifications (failed network connect, low battery) on ChromeOS Aura. Review URL: http://codereview.chromium.org/9187043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117984 0039d316-1c4b-4281-b951-d872f2087c98
* Replace Callback1 with base::Callback in MessageCallback.achuith@chromium.org2011-10-261-1/+1
| | | | | | | | BUG=chromium-os:22024 TEST=tests pass. Review URL: http://codereview.chromium.org/8332025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107309 0039d316-1c4b-4281-b951-d872f2087c98
* Extracting notification handling code in file_browser_event_router to ↵tbarzic@chromium.org2011-09-041-0/+124
separate class. Added delayed notification display. Changed notification handling for mount errors: *three separate error messages (for unknown/unsupported single-partition device and for multipartition device) *scanning message is displayed after three seconds if no mount event was raised for device. TEST=manual on Cr48, unit_test: FileBrowserMountNotificationsTest.* browser_test: FileBrowserNotificatiomsTest.* BUG=chromium-os:19086, chromium-os:17769, chromium-os:19304 Review URL: http://codereview.chromium.org/7740072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99602 0039d316-1c4b-4281-b951-d872f2087c98