summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/notifications/system_notification.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix nits after Clang warning cleanupdpolukhin@chromium.org2011-05-161-0/+11
| | | | | | | | | BUG=none TEST=build Review URL: http://codereview.chromium.org/7035006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85473 0039d316-1c4b-4281-b951-d872f2087c98
* Move web_ui_util.* to chrome/ from content/estade@chromium.org2011-03-301-1/+1
| | | | | | | | | | | this is not even a refactor, just a move. All references to this file are in chrome/ BUG=77092 TEST=compile Review URL: http://codereview.chromium.org/6698073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79838 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Move the core files of WebUI from chrome/browser/webui to ↵tfarina@chromium.org2011-02-251-1/+1
| | | | | | | | | | | content/browser/webui. BUG=59946 TEST=trybots Review URL: http://codereview.chromium.org/6575054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76020 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. ↵tfarina@chromium.org2011-02-181-1/+1
| | | | | | | | | | | Part 3. BUG=59945, 59946 TEST=trybots Review URL: http://codereview.chromium.org/6541006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75340 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Change more entries from DOMUI to WebUI under chromeos/notifications ↵tfarina@chromium.org2011-02-121-1/+1
| | | | | | | | | | | directory. BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6473013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74736 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Rename namespace dom_ui_util to web_ui_util.tfarina@chromium.org2011-01-311-3/+3
| | | | | | | | | BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6392013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73214 0039d316-1c4b-4281-b951-d872f2087c98
* For ChromeOS: when starting session:dilmah@chromium.org2011-01-131-6/+24
| | | | | | | | | | | if locale was changed (as a result of sync or because user preference differs from login locale): show notification. BUG=chromium-os:9164 TEST=Manual Review URL: http://codereview.chromium.org/5976005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71320 0039d316-1c4b-4281-b951-d872f2087c98
* When an extension is uninstalled, close all desktop notifications from that ↵johnnyg@chromium.org2010-11-191-3/+1
| | | | | | | | | | | | | | | | | | | extension. This change also refactors the balloon collection code to remove duplication between chrome and chromeos. Removes some gross removal code which was using fake notifications just to get the right ID. BUG=58266 TEST=open notifications from extension, uninstall extensions Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65879 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66571 Review URL: http://codereview.chromium.org/4635007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66829 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 66571 - When an extension is uninstalled, close all desktop ↵johnnyg@chromium.org2010-11-181-1/+3
| | | | | | | | | | | | | | | | | | | | notifications from that extension. This change also refactors the balloon collection code to remove duplication between chrome and chromeos. Removes some gross removal code which was using fake notifications just to get the right ID. BUG=58266 TEST=open notifications from extension, uninstall extensions Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65879 Review URL: http://codereview.chromium.org/4635007 TBR=johnnyg@chromium.org Review URL: http://codereview.chromium.org/5162003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66572 0039d316-1c4b-4281-b951-d872f2087c98
* When an extension is uninstalled, close all desktop notifications from that ↵johnnyg@chromium.org2010-11-181-3/+1
| | | | | | | | | | | | | | | | | extension. This change also refactors the balloon collection code to remove duplication between chrome and chromeos. Removes some gross removal code which was using fake notifications just to get the right ID. BUG=58266 TEST=open notifications from extension, uninstall extensions Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65879 Review URL: http://codereview.chromium.org/4635007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66571 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 65879 - When an extension is uninstalled, close all desktop ↵johnnyg@chromium.org2010-11-121-1/+3
| | | | | | | | | | | | | | | | | | notifications from that extension. This change also refactors the balloon collection code to remove duplication between chrome and chromeos. Removes some gross removal code which was using fake notifications just to get the right ID. BUG=58266 TEST=open notifications from extension, uninstall extensions Review URL: http://codereview.chromium.org/4635007 TBR=johnnyg@chromium.org Review URL: http://codereview.chromium.org/4855002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65896 0039d316-1c4b-4281-b951-d872f2087c98
* When an extension is uninstalled, close all desktop notifications from that ↵johnnyg@chromium.org2010-11-121-3/+1
| | | | | | | | | | | | | | | extension. This change also refactors the balloon collection code to remove duplication between chrome and chromeos. Removes some gross removal code which was using fake notifications just to get the right ID. BUG=58266 TEST=open notifications from extension, uninstall extensions Review URL: http://codereview.chromium.org/4635007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65879 0039d316-1c4b-4281-b951-d872f2087c98
* Erase base/move. The pattern we use is pass by const ref and this is ↵brettw@chromium.org2010-11-081-10/+11
| | | | | | | | | | confusing people. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/4682003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65444 0039d316-1c4b-4281-b951-d872f2087c98
* Do not call SystemNotification::Hide() in SystemNotification dtor. The bug ↵achuith@google.com2010-10-141-1/+0
| | | | | | | | | | | report feedback notification is a Singleton. When it gets destroyed in atExit(), it calls Hide() which touches a non-existant global balloon collection object. We avoid this by requiring that Hide() be explicitly called (which it is everywhere except in bug_report_util.cc). BUG=6895 TEST=none Review URL: http://codereview.chromium.org/3803005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62666 0039d316-1c4b-4281-b951-d872f2087c98
* BAdd purchase more link to 3g notifications.chocobo@chromium.org2010-10-141-1/+11
| | | | | | | | BUG=chromium-os:7301 TEST=manual Review URL: http://codereview.chromium.org/3787001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62512 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored GetIamgeDataUrlFromResource from system notification code so that ↵oshima@chromium.org2010-09-291-11/+4
| | | | | | | | | | | | | it can be reused. Added GeImageDataUrl(SkBitmap& bitmap) that convert SkBitmap to data url. This will be used in DOMUI based menu. BUG=none TEST=none Review URL: http://codereview.chromium.org/3561001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60970 0039d316-1c4b-4281-b951-d872f2087c98
* Make feedback failure notification non stickyoshima@chromium.org2010-09-271-2/+5
| | | | | | | | | BUG=chromium-os:6368 TEST=none Review URL: http://codereview.chromium.org/3412033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60696 0039d316-1c4b-4281-b951-d872f2087c98
* notifications: Convert some std::wstring over to string16.tfarina@chromium.org2010-08-011-1/+1
| | | | | | | | | | | BUG=43899 TEST=compiles, trybots. Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3010028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54484 0039d316-1c4b-4281-b951-d872f2087c98
* Implement BiDi support and replace ID support for notifications.johnnyg@chromium.org2010-07-121-2/+1
| | | | | | | | | BUG=none TEST=layout tests Review URL: http://codereview.chromium.org/1917004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52090 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for critical notification on low battery.seanparent@google.com2010-05-191-6/+27
| | | | | | | | | | | | Added support for urgent system notifications Added support for icons in system notifications and added a low battery icon. BUG=http://code.google.com/p/chromium-os/issues/detail?id=2692 TEST=none Review URL: http://codereview.chromium.org/2067016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47703 0039d316-1c4b-4281-b951-d872f2087c98
* Notification for battery with <= 15 minutes remaining.seanparent@google.com2010-03-191-0/+50
BUG=521 TEST=none Review URL: http://codereview.chromium.org/1079007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42153 0039d316-1c4b-4281-b951-d872f2087c98