summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/status
Commit message (Collapse)AuthorAgeFilesLines
* Fix for http://crosbug.com/8870 + remembered network code cleanup.stevenjb@google.com2010-12-151-33/+7
| | | | | | | | | BUG=chromium-os:8870 TEST=Requires extensive testing of remembered network behavior. Test plan to be added soon. Review URL: http://codereview.chromium.org/5586010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69270 0039d316-1c4b-4281-b951-d872f2087c98
* Change menus on OSX to update the icon dynamically.atwilson@chromium.org2010-12-155-5/+5
| | | | | | | | | | | | | | | | | Change MenuModel::IsLabelDynamicAt() to IsItemDynamicAt() to reflect its true purpose. Add SimpleMenuModel::GetIconForCommandId() to enable dynamic icons. Update OSX menu_controller code to update the icon for dynamic menu items when the menu is opened, to match the windows behavior. BUG=66508 TEST=MenuControllerTest.Dynamic Review URL: http://codereview.chromium.org/5697005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69234 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove needed #includes for profile.h.thestig@chromium.org2010-12-103-5/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5682007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68884 0039d316-1c4b-4281-b951-d872f2087c98
* Submitting http://codereview.chromium.org/5623006/ oin behalf of ↵zelidrag@chromium.org2010-12-081-1/+2
| | | | | | | | | | | | | | | | | ellyjones@chromium.org: chromeos: Connect to networks in unknown activation state. This allows us to connect to GSM networks through the UI, which do not report an activation state. BUG=chromium-os:10077 TEST=Tried it TBR=ellyjones Review URL: http://codereview.chromium.org/5519017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68619 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeOS status text halo polish.xiyuan@chromium.org2010-12-041-2/+5
| | | | | | | | | | | | | - Fix the spikes on text of certain font by using round line join instead of default mitter join; - Use the same 0.7 black as other icons instead of 1.0 black; BUG=chromium-os:9787 TEST=Verify fix for chromium-os:9787 Review URL: http://codereview.chromium.org/5522007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68255 0039d316-1c4b-4281-b951-d872f2087c98
* Change network connection dialog to not use tabbed panes. Cleanup old views ↵chocobo@chromium.org2010-12-032-50/+10
| | | | | | | | | | code that we are no longer using. BUG=chromium-os:9226 TEST=manual. open network connections from menu and options page to make sure everything still works. Also test oobe and login. Review URL: http://codereview.chromium.org/5581004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68197 0039d316-1c4b-4281-b951-d872f2087c98
* Move:ben@chromium.org2010-12-024-4/+4
| | | | | | | | | | | | | | | file_path_watcher into subdir profile* into profiles/ subdir login* into ui/login visitedlink* into subdir BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/5606002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68069 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify netowork library mock expectationsstevenjb@google.com2010-12-021-0/+2
| | | | | | | | | | | | | | | BUG=chromium-os:9707 TEST=Run browser_tests From chromium-os:9707: Currently CrosMock::SetNetworkLibraryStatusAreaExpectations() sets up a host of very specific expectations. These are fragile and difficult to maintain, and they break pretty much every browser test when they become stale. TODO: Replace these with a minimal set of specific expectations (e.g. just set expectations for *_connected() and *_connecting() calls). Review URL: http://codereview.chromium.org/5402001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68038 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce CPU usage for input method switching.yusukes@google.com2010-12-024-32/+70
| | | | | | | | | | | | | - Move GetNumActiveInputMethods call from input_method_menu_button.cc to input_method_library.cc so that the IBus function is called only once even when multiple Chrome windows are available. - Improved InputMethodMenu::InputMethodChanged so that only the first input method button would update Preferences. - Remove ImePropertiesChanged callback. It's obsolete. BUG=chromium-os:8553 TEST=manually. Review URL: http://codereview.chromium.org/4162002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67973 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cellular data to show no bars when no data left in all places.chocobo@chromium.org2010-11-304-48/+50
| | | | | | | | | Refactor code and comment out colored network bars. BUG=chromium-os:9734 TEST=manual Review URL: http://codereview.chromium.org/5326008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67739 0039d316-1c4b-4281-b951-d872f2087c98
* Always use settings UI for mobile network.xiyuan@chromium.org2010-11-291-5/+4
| | | | | | | | | | | | This is because native UI is not complete and only settings UI contains all the logic. BUG=chromium-os:9431 TEST=Verify only settings UI shows up for mobile network per chromium-os:9431. Review URL: http://codereview.chromium.org/5338007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67574 0039d316-1c4b-4281-b951-d872f2087c98
* Fix unit_tests failure.yusukes@google.com2010-11-291-1/+5
| | | | | | | | | BUG=chromium-os:7852 TEST=manually Review URL: http://codereview.chromium.org/5312006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67518 0039d316-1c4b-4281-b951-d872f2087c98
* Support xkb:us:intl:eng XKB layout (Chrome part.)yusukes@google.com2010-11-291-1/+2
| | | | | | | | | BUG=chromium-os:7852 TEST=manually Review URL: http://codereview.chromium.org/5267003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67516 0039d316-1c4b-4281-b951-d872f2087c98
* Fix wifi/cellular icon and badge for all variations of connected state.chocobo@chromium.org2010-11-233-134/+110
| | | | | | | | | Also fix bug with old cellular dialog showing up after suspend/resume. BUG=chromium-os:7067,chromium-os:9505 TEST=make sure icon and badge is correct. especially make sure if 3g is connecting, we show a 3g badge. and if 3g is connected and wifi is connecting, we do not show the 3g badge. Review URL: http://codereview.chromium.org/5254001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67042 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Feedback button from the status bar and add it to the toolbar.rkc@chromium.org2010-11-224-114/+0
| | | | | | | | | | | | | | Side effect: Changed all instances of IDC_REPORT_BUG to IDC_FEEDBACK to correctly indicate the message BUG=chromium-os:5361 TEST=Verified visually that the status bar icon is gone and the toolbar icon is there; tested the toolbar icon to verify functionality. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65582 Review URL: http://codereview.chromium.org/4546002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67023 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Adjust default font sizes for new hand hinted fonts.nkostylev@chromium.org2010-11-222-2/+14
| | | | | | | | | BUG=chromium-os:8658 TEST=Manual. Review URL: http://codereview.chromium.org/5180002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66999 0039d316-1c4b-4281-b951-d872f2087c98
* Don't change network menu color for 3g.chocobo@chromium.org2010-11-191-12/+4
| | | | | | | | BUG=chromium-os:9438 TESt=Manual Review URL: http://codereview.chromium.org/5124005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66835 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 3g data plan notification and menu color.chocobo@chromium.org2010-11-192-8/+9
| | | | | | | | | Fix 3g data expiration crash. BUG=chromium-os:9388 TEST=manual Review URL: http://codereview.chromium.org/5197002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66826 0039d316-1c4b-4281-b951-d872f2087c98
* Clear passphrase when canceling a failed connection attempt.stevenjb@chromium.org2010-11-181-2/+6
| | | | | | | | | | | Also, keep the connect dialog up after an immediate conenction failure (e.g. due to an invalid password format) BUG=chromium-os:8566 TEST=See issue. Also, test conencting to network with a combination of good / bad passwords in general. Note: the only way currently to re-enter the passphrase for a successfully remembered network is to forget it, log out, and log back in. Review URL: http://codereview.chromium.org/5160004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66698 0039d316-1c4b-4281-b951-d872f2087c98
* Add wifi 'searching' to netowkr menu for chromium-os:4982stevenjb@chromium.org2010-11-181-2/+11
| | | | | | | | | BUG=chromium-os:4982 TEST=Network menu should say 'scanning' above the 'disable wi-fi' option while networks are scanned after opening the menu. Review URL: http://codereview.chromium.org/5230002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66689 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Include browser.h -> ui/browser.h [Final].jhawkins@chromium.org2010-11-181-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5197001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66668 0039d316-1c4b-4281-b951-d872f2087c98
* Add 1px black border for ChromeOS status button.xiyuan@chromium.org2010-11-181-0/+3
| | | | | | | | | | | | | | - Move Linux's CanvasSkia::DrawStringInt into DrawStringWithHalo and added code to support text halo and change DrawStringInt to use it; - Make views::TextButton support text halo; - Use the text halo for chromeos::StatusButton; BUG=chromium-os:8657 TEST=Verify 1px black border is added to ChromeOS status buttons. Review URL: http://codereview.chromium.org/5071002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66632 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround bug in flimflam to fix active_network not being reported ↵chocobo@chromium.org2010-11-182-15/+20
| | | | | | | | | | propertly causing ethernet icon to get stuck. BUG=chromium-os:8785 TEST=manual. connect to both ethernet and wifi. unplug ethernet usb dongle. verify that the network icon when from wired to wireless. Review URL: http://codereview.chromium.org/5194002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66558 0039d316-1c4b-4281-b951-d872f2087c98
* Pulls AnimationDelegate out into its own header.sky@chromium.org2010-11-171-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5121004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66541 0039d316-1c4b-4281-b951-d872f2087c98
* Fix favorite and auto_connect property usage (again)kochi@chromium.org2010-11-172-6/+11
| | | | | | | | | | | | | | | | | | The original CL was: http://codereview.chromium.org/4818002 which missed a unittest fix, and the commit(r66253) was reverted (r66258). Changed chrome/browser/chromeos/options/wifi_config_view_browsertest.cc and network_library.h. BUG=chromium-os:8193 TEST=manually open chrome://settings/internet and see if remembered networks are listed properly. For DOMUI network menu, pass --enable-domui-menu for chrome to enable and check. Also check browser_test --gtest_filter="WifiConfigViewTest.ChangeAutoConnectSaveTest" Review URL: http://codereview.chromium.org/5094002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66411 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Include browser.h -> ui/browser.h [Part 4].jhawkins@chromium.org2010-11-174-8/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5104002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66401 0039d316-1c4b-4281-b951-d872f2087c98
* Don't allow connection to networks that are not connected.chocobo@chromium.org2010-11-171-0/+4
| | | | | | | | | For example, if Google-A is not configure, it will be disabled in the network menu and not selectable in the options pages. And from oobe/login, Google-A will always be disabled b/c the certificates will not be there until the user logs in. BUG=chromium-os:8293 TEST=Manual. From oobe, make sure google-a is disabled. Before setting up google-a, make sure google-a is disabled in network menu and options pages. Then set up google-a and see that it's now enabled in both network menu and options page. Log out and check that google-a is disabled. Review URL: http://codereview.chromium.org/4976007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66356 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fix favorite and auto_connect property usage."thakis@chromium.org2010-11-162-11/+6
| | | | | | | | | | | | | | This reverts commit 2a5da02ef3fec8da1f223dd1990fb0b56d617188 / r66253: Fix favorite and auto_connect property usage. BUG=chromium-os:8913 TEST=manually open chrome://settings/internet and see if remembered networks are listed properly. For DOMUI network menu, pass --enable-domui-menu for chrome to enable and check. Review URL: http://codereview.chromium.org/4818002 It broke the ChromeOS and arm compiles with: chrome/browser/chromeos/options/wifi_config_view_browsertest.cc:44: error: ‘class chromeos::WifiNetwork’ has no member named ‘set_favorite’ TBR=kochi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66258 0039d316-1c4b-4281-b951-d872f2087c98
* Fix favorite and auto_connect property usage.kochi@chromium.org2010-11-162-6/+11
| | | | | | | | | BUG=chromium-os:8913 TEST=manually open chrome://settings/internet and see if remembered networks are listed properly. For DOMUI network menu, pass --enable-domui-menu for chrome to enable and check. Review URL: http://codereview.chromium.org/4818002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66253 0039d316-1c4b-4281-b951-d872f2087c98
* Adding style notion to the TextButton.glotov@google.com2010-11-132-6/+6
| | | | | | | | | | | Welcome screen uses different style of buttons. BUG=chromium-os:8468 TEST=none Review URL: http://codereview.chromium.org/4402001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66061 0039d316-1c4b-4281-b951-d872f2087c98
* Notification fix for case when there is no mobile plan. Fixed network menu ↵zelidrag@chromium.org2010-11-131-10/+29
| | | | | | | | | | | | | | to properly redirect to partner payment portal when we run out of plan. Changed usage notification to display "More info..." instead of "Buy plan". BUG=chromium-os:8745, chromium-os:8724, chromium-os:8853, chromium-os:8685 TEST=see listed bugs for details Review URL: http://codereview.chromium.org/4699004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66039 0039d316-1c4b-4281-b951-d872f2087c98
* Fix OOBE network connecting animation and icon.chocobo@chromium.org2010-11-124-24/+31
| | | | | | | | BUG=chromium-os:8780 TEST=manual Review URL: http://codereview.chromium.org/4907002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65983 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed issues with network menu list:chocobo@chromium.org2010-11-101-50/+48
| | | | | | | | | | | | | | - Don't show separator at begining of network list - Don't show join other network when wifi is disabled - Don't show IP address in OOBE network dropdown list - Don't show unactivated cellular networks in OOBE/login - Various fixes to make network menus more robust BUG=chromium-os:8672,chromium-os:8792,chromium-os:8980 TEST=manually ran through all iterations to make sure that the network menu list looks right. Review URL: http://codereview.chromium.org/4677003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65692 0039d316-1c4b-4281-b951-d872f2087c98
* Disable status area buttons during logging in.dilmah@chromium.org2010-11-104-1/+25
| | | | | | | | | BUG=http://crosbug.com/8834 TEST=Manual Review URL: http://codereview.chromium.org/4716005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65665 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 65582 - Remove Feedback button from the status bar and add it to the ↵rvargas@google.com2010-11-094-0/+113
| | | | | | | | | | | | | | | | toolbar. Side effect: Changed all instances of IDC_REPORT_BUG to IDC_FEEDBACK to correctly indicate the message BUG=chromium-os:5361 TEST=Verified visually that the status bar icon is gone and the toolbar icon is there; tested the toolbar icon to verify functionality. Review URL: http://codereview.chromium.org/4546002 TBR=rkc@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65587 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Feedback button from the status bar and add it to the toolbar.rkc@chromium.org2010-11-094-113/+0
| | | | | | | | | | | | Side effect: Changed all instances of IDC_REPORT_BUG to IDC_FEEDBACK to correctly indicate the message BUG=chromium-os:5361 TEST=Verified visually that the status bar icon is gone and the toolbar icon is there; tested the toolbar icon to verify functionality. Review URL: http://codereview.chromium.org/4546002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65582 0039d316-1c4b-4281-b951-d872f2087c98
* Do not send many requests to flimflam when network chagned.oshima@chromium.org2010-11-092-4/+7
| | | | | | | | | | | | | | | Send sync request to flimflam only if new request didn't come in 50ms. Network menu was updating menu twice when opening. BUG=chromium-os:8435 TEST=manual: enable vlog (--vlog=1) and observe that chrome log reports one "UpdateNetworkStatus" when network changes (disable, enable ethernet etc) There may be two when wifi is enabled as different wifi source may be recognized at different timing. Review URL: http://codereview.chromium.org/4229005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65478 0039d316-1c4b-4281-b951-d872f2087c98
* Fix so that we don't show activate 3G in both OOBE and login screen.chocobo@chromium.org2010-11-091-4/+2
| | | | | | | | BUG=chromium-os:8878 TEST=manual Review URL: http://codereview.chromium.org/4733001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65476 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show activate 3G from login screen.chocobo@chromium.org2010-11-091-5/+14
| | | | | | | | BUG=chromium-os:8878 TEST=manual Review URL: http://codereview.chromium.org/4694004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65464 0039d316-1c4b-4281-b951-d872f2087c98
* Split out command IDs from chrome_dll_resource.h.evan@chromium.org2010-11-081-1/+1
| | | | | | | | | | | | The name of this file is a leftover from Windows. Split the command ids (which are used on all platforms) out, leaving just the Windows-specific resource IDs in the original file. TEST=compiles Review URL: http://codereview.chromium.org/4710001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65453 0039d316-1c4b-4281-b951-d872f2087c98
* Better support for failed network connection attempts (chromiumos:8594).stevenjb@chromium.org2010-11-081-48/+64
| | | | | | | | | | | This includes some NetworkMenu refactoring to reduce code duplication. BUG=http://code.google.com/p/chromium-os/issues/detail?id=8594 TEST=Test network menu, particularly failed connection attempts. Review URL: http://codereview.chromium.org/4598002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65428 0039d316-1c4b-4281-b951-d872f2087c98
* Re-insert IP address in Network Menu.stevenjb@chromium.org2010-11-081-3/+16
| | | | | | | | | BUG=chromium-os:8476 TEST=Open the network menu on ChromeOS; the IP address should be at the bottom of the menu. Review URL: http://codereview.chromium.org/4544001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65398 0039d316-1c4b-4281-b951-d872f2087c98
* Landing change for ers@chromium.org: http://codereview.chromium.org/4134012/showchocobo@chromium.org2010-11-046-99/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added handling of network ("service" in flimflam parlance) property changes. NetworkLibrary updates its Network objects in response to property changes, then calls any NetworkObservers that have registered for the given network. Use the is_active member of Network in various places to ensure that we are dealing with the correct network. Created separate observer classes for NetworkManager, Network, and CellularDataPlan, so that monitors can be established independently for each of them. Changed the callback method names to prepend "On", i.e., OnNetworkManagerChanged, OnNetworkChanged, OnCellularDataPlanChanged. Wired up signal strength update and network technology update in the status bar, network dropdown menu, and internet settings page. Added new icon badges for 1xRTT radio technology. These are used when EVDO coverage switches to 1xRTT. Just as is the case for the 3G icons, there are three 1x icons: normal, warn, and error. Please consider these icons to be placeholders if the UI folks think they need to be redesigned. Centralized choosing of the network technology badge in NetworkMenu::BadgeForNetworkTechnology. BUG=chromium-os:5612:chromium-os:7619,chromium-os:5917,chromium-os:4674 TEST=Extensive manual testing with different combinations of wi-fi and cellular networks connected and disconnected. Used a modified version of flimflam that randomly changes reported signal strength, network technology, and roaming state, and verified that the UI correctly reflected current values for the active network (roaming is not handled in the UI at this time). Review URL: http://codereview.chromium.org/4482003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65106 0039d316-1c4b-4281-b951-d872f2087c98
* Crash fix.stevenjb@chromium.org2010-11-031-2/+3
| | | | | | | | | BUG=http://code.google.com/p/chromium-os/issues/detail?id=8641 TEST=Disable cellular; enable cellular; activate cellular network. Verify no crash. Review URL: http://codereview.chromium.org/4374003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64962 0039d316-1c4b-4281-b951-d872f2087c98
* Add proxy settings to network control at upper row of controls at login screen.dilmah@chromium.org2010-11-036-8/+13
| | | | | | | | | BUG=http://crosbug.com/8458 TEST=Manual Review URL: http://codereview.chromium.org/4324001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64901 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 64888 - Push for ers:chocobo@chromium.org2010-11-036-185/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added handling of network ("service" in flimflam parlance) property changes. NetworkLibrary updates its Network objects in response to property changes, then calls any NetworkObservers that have registered for the given network. Use the is_active member of Network in various places to ensure that we are dealing with the correct network. Created separate observer classes for NetworkManager, Network, and CellularDataPlan, so that monitors can be established independently for each of them. Changed the callback method names to prepend "On", i.e., OnNetworkManagerChanged, OnNetworkChanged, OnCellularDataPlanChanged. Wired up signal strength update and network technology update in the status bar, network dropdown menu, and internet settings page. Added new icon badges for 1xRTT radio technology. These are used when EVDO coverage switches to 1xRTT. Just as is the case for the 3G icons, there are three 1x icons: normal, warn, and error. Please consider these icons to be placeholders if the UI folks think they need to be redesigned. Centralized choosing of the network technology badge in NetworkMenu::BadgeForNetworkTechnology. BUG=chromium-os:5612:chromium-os:7619,chromium-os:5917,chromium-os:4674 TEST=Extensive manual testing with different combinations of wi-fi and cellular networks connected and disconnected. Used a modified version of flimflam that randomly changes reported signal strength, network technology, and roaming state, and verified that the UI correctly reflected current values for the active network (roaming is not handled in the UI at this time). Review URL: http://codereview.chromium.org/4235005 TBR=chocobo@chromium.org Review URL: http://codereview.chromium.org/4229006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64889 0039d316-1c4b-4281-b951-d872f2087c98
* Push for ers:chocobo@chromium.org2010-11-036-97/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added handling of network ("service" in flimflam parlance) property changes. NetworkLibrary updates its Network objects in response to property changes, then calls any NetworkObservers that have registered for the given network. Use the is_active member of Network in various places to ensure that we are dealing with the correct network. Created separate observer classes for NetworkManager, Network, and CellularDataPlan, so that monitors can be established independently for each of them. Changed the callback method names to prepend "On", i.e., OnNetworkManagerChanged, OnNetworkChanged, OnCellularDataPlanChanged. Wired up signal strength update and network technology update in the status bar, network dropdown menu, and internet settings page. Added new icon badges for 1xRTT radio technology. These are used when EVDO coverage switches to 1xRTT. Just as is the case for the 3G icons, there are three 1x icons: normal, warn, and error. Please consider these icons to be placeholders if the UI folks think they need to be redesigned. Centralized choosing of the network technology badge in NetworkMenu::BadgeForNetworkTechnology. BUG=chromium-os:5612:chromium-os:7619,chromium-os:5917,chromium-os:4674 TEST=Extensive manual testing with different combinations of wi-fi and cellular networks connected and disconnected. Used a modified version of flimflam that randomly changes reported signal strength, network technology, and roaming state, and verified that the UI correctly reflected current values for the active network (roaming is not handled in the UI at this time). Review URL: http://codereview.chromium.org/4235005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64888 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for different type of encyrption when adding a network.chocobo@chromium.org2010-11-021-2/+3
| | | | | | | | BUG=chromium-os:8193 TEST=manual Review URL: http://codereview.chromium.org/4237001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64808 0039d316-1c4b-4281-b951-d872f2087c98
* Update status menu button positions.chocobo@chromium.org2010-10-296-4/+15
| | | | | | | | BUG=chromium-os:8135 TEST=manual Review URL: http://codereview.chromium.org/4219002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64460 0039d316-1c4b-4281-b951-d872f2087c98
* Rewritten parts of NetworkLibrary to work around memory corruption that ↵zelidrag@chromium.org2010-10-294-104/+115
| | | | | | | | | | | | | | | prevented proper dbus functioning for 3G actrivation. The principle behind this change is pretty simple - there is only one instance of chromeos::Network specialization representing a network service at the time. Please note that there are parts of obsolete UI elements where object copies were still made. The cellular plan part is still work in progress, but there is enough to be reviewed now so I want to get an early start right now. BUG=chromium-os:7619 TEST=none Review URL: http://codereview.chromium.org/4169001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64445 0039d316-1c4b-4281-b951-d872f2087c98