summaryrefslogtreecommitdiffstats
path: root/chrome/browser/status_icons
Commit message (Collapse)AuthorAgeFilesLines
* Analyzed the problem and tested 30+ times the affected and related tests ↵leandrogracia@chromium.org2011-10-282-0/+119
| | | | | | | | | | | | | | | | | | | without problems. Test failure seems to be a non-related flake. Revert 107727 - Revert 107722 - Implement notifications for the DisplayBalloon method on Linux and Mac. BUG=74970 TEST=install background app on window, see desktop notification. Review URL: http://codereview.chromium.org/8375027 TBR=leandrogracia@chromium.org Review URL: http://codereview.chromium.org/8417027 TBR=rohitrao@chromium.org Review URL: http://codereview.chromium.org/8414024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107738 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 107722 - Implement notifications for the DisplayBalloon method on ↵rohitrao@chromium.org2011-10-282-119/+0
| | | | | | | | | | | | | | Linux and Mac. BUG=74970 TEST=install background app on window, see desktop notification. Review URL: http://codereview.chromium.org/8375027 TBR=leandrogracia@chromium.org Review URL: http://codereview.chromium.org/8417027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107727 0039d316-1c4b-4281-b951-d872f2087c98
* Implement notifications for the DisplayBalloon method on Linux and Mac.leandrogracia@chromium.org2011-10-282-0/+119
| | | | | | | | | BUG=74970 TEST=install background app on window, see desktop notification. Review URL: http://codereview.chromium.org/8375027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107722 0039d316-1c4b-4281-b951-d872f2087c98
* Add an extra argument to the DisplayBalloon method to support custom ↵leandrogracia@chromium.org2011-10-264-18/+23
| | | | | | | | | | | | | | notification icons. This is the first of a set of patches introducing new functionality to the status icon API. This patch updates the API and adds missing OVERRIDE to the existing code. Per-platform functionality will be added in further patches. BUG=74970 TEST=build bots Review URL: http://codereview.chromium.org/8351004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107329 0039d316-1c4b-4281-b951-d872f2087c98
* some cleanup for base/stl_utildilmah@chromium.org2011-07-191-1/+1
| | | | | | | | | | | | | removed unused/irrelevant functions removed irrelevant comments Moved stl_util-inl.h => stl_util.h BUG=None TEST=None Review URL: http://codereview.chromium.org/7342047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93110 0039d316-1c4b-4281-b951-d872f2087c98
* status_icons: Use STLDeleteElements on StatusTray::RemoveAllIcons().tfarina@chromium.org2011-05-041-4/+2
| | | | | | | | | | | BUG=None TEST=None R=atwilson@chromium.org Review URL: http://codereview.chromium.org/6929019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84132 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Display balloon notification when background app is installed.atwilson@chromium.org2011-03-063-3/+11
| | | | | | | | | BUG=74970 TEST=install background app on windows, see balloon near status tray icon. Review URL: http://codereview.chromium.org/6624044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77078 0039d316-1c4b-4281-b951-d872f2087c98
* Add OWNERS files to bookmarks, gtk, and status_icons subdirs.tfarina@chromium.org2011-01-201-0/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6246010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71890 0039d316-1c4b-4281-b951-d872f2087c98
* Move models from app to ui/base/modelsben@chromium.org2011-01-144-9/+9
| | | | | | | | | BUG=none TEST=none TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71446 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for status icon context menus for gtk.atwilson@chromium.org2010-08-244-6/+5
| | | | | | | | | | | Rename ResetContextIcon()->UpdatePlatformContextIcon(). BUG=37375 TEST=CreateIcon updated Review URL: http://codereview.chromium.org/3127028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57142 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for context menus to status icons.atwilson@chromium.org2010-08-204-4/+52
| | | | | | | | | BUG=37375 TEST=updated StatusIcon unit tests Review URL: http://codereview.chromium.org/3189003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56812 0039d316-1c4b-4281-b951-d872f2087c98
* Added BackgroundModeManager which tracks when background apps are ↵atwilson@chromium.org2010-08-185-143/+43
| | | | | | | | | | | | | | | | | | | | loaded/unloaded and puts Chrome into BackgroundMode appropriately. Added EXTENSION_UNINSTALLING notification which is sent out when a notification is about to be uninstalled. Refactored StatusTray code to move StatusTray under the profile rather than attaching it to the browser process, and removed StatusTrayManager which is no longer needed now that BackgroundModeManager handles creating status icons. BUG=43382 TEST=background_mode_manager_unittests.cc Review URL: http://codereview.chromium.org/3134011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56596 0039d316-1c4b-4281-b951-d872f2087c98
* Add #include utf_string_conversions.h to all files that use ASCIIToWide andbrettw@chromium.org2010-08-032-0/+2
| | | | | | | | | | | | | | | ASCIIToUTF16. I removed string_util includes from a few places where it obviously wasn't needed. In a separate pass, I'm going to remove ASCIITo* from string_util, then I'm going to do an even later pass to find the unnecessary string_util.h includes and remove them. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3058027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54746 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-263-0/+3
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity issues 6506, 11549, 11097, 8454: Uninitialized members in various ↵finnur@chromium.org2010-07-231-1/+1
| | | | | | | | | | | files. BUG=None (Coverity issue id listed above) TEST=None Review URL: http://codereview.chromium.org/3031022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53538 0039d316-1c4b-4281-b951-d872f2087c98
* status_icons: Remove StatusIcon::Create method.tfarina@chromium.org2010-07-111-3/+0
| | | | | | | | | | | | | | This method is not called by anyone. We use StatusTray::CreateStatusIcon instead to create a new icon. BUG=37375 TEST=manually and trybots Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/2975002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52060 0039d316-1c4b-4281-b951-d872f2087c98
* status_icons: Fix include issues.atwilson@chromium.org2010-04-142-6/+0
| | | | | | | | | | | BUG=None TEST=compiles Patch from Thiago Farina <thiago.farina@gmail.com> Review URL: http://codereview.chromium.org/1547020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44499 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Implement status icons on linux.evan@chromium.org2010-04-061-1/+1
| | | | | | | | | | | | | (Retry with less build breakage this time.) BUG=37375 TEST=out/Debug/unit_tests --gtest_filter=StatusTrayGtkTest.* Patch from Thiago Farina <thiago.farina@gmail.com> Review URL: http://codereview.chromium.org/1421001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43721 0039d316-1c4b-4281-b951-d872f2087c98
* Revert.evan@chromium.org2010-04-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43556 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Implement status icons on linux.evan@chromium.org2010-04-031-1/+1
| | | | | | | | | | | BUG=37375 TEST=out/Debug/unit_tests --gtest_filter=StatusTrayGtkTest.* Patch from Thiago Farina <thiago.farina@gmail.com> Review URL: http://codereview.chromium.org/1421001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43553 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify the Observer Pattern used in status icons implementation.evan@chromium.org2010-03-315-26/+17
| | | | | | | | | | | BUG=None TEST=compiles and everything still works as before. Patch from Thiago Farina <thiago.farina@gmail.com> Review URL: http://codereview.chromium.org/1518002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43219 0039d316-1c4b-4281-b951-d872f2087c98
* views: Implemet tooltip for status icons on windows.atwilson@chromium.org2010-03-311-0/+3
| | | | | | | | | | | | | | | | BUG=38993 TEST=run chrome\Debug\chrome --long-lived-extensions, move mouse through the status icon, see if a tooltip text appears. Patch from Thiago Farina <thiago.farina@gmail.com> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43099 Landed as r43099. Review URL: http://codereview.chromium.org/1378007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43158 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43099 - Windows implementation of StatusIcon::SetToolTip()atwilson@chromium.org2010-03-301-3/+0
| | | | | | | | | I will resubmit with the proper patch attribution. TBR=atwilson@google.com Review URL: http://codereview.chromium.org/1558006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43133 0039d316-1c4b-4281-b951-d872f2087c98
* Windows implementation of StatusIcon::SetToolTip()atwilson@google.com2010-03-301-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43099 0039d316-1c4b-4281-b951-d872f2087c98
* Implement status icons on windows.atwilson@google.com2010-03-247-45/+127
| | | | | | | | | | | Refactor existing status icon code to allow platform-specific StatusTray implementation to track common state for all status icons. BUG=37375 TEST=new unit tests Review URL: http://codereview.chromium.org/1136005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42538 0039d316-1c4b-4281-b951-d872f2087c98
* Added monochrome status icons for the mac.atwilson@chromium.org2010-03-103-0/+7
| | | | | | | | | | | Added support for setting an alternate "pressed" image for status icons. BUG=37375 TEST=updated unit tests Review URL: http://codereview.chromium.org/752002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41211 0039d316-1c4b-4281-b951-d872f2087c98
* Initial implementation of status tray functionality (mac-only, currently).atwilson@chromium.org2010-03-066-0/+275
Added Mac implementation of StatusIcon, and added a simple click callback that displays the "extensions" tab when clicked on, to allow us to dogfood long-lived extensions. BUG=37375 Review URL: http://codereview.chromium.org/661454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40847 0039d316-1c4b-4281-b951-d872f2087c98