summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
Commit message (Collapse)AuthorAgeFilesLines
* Add configuration UI for virtual keyboards (C++ part).yusukes@google.com2011-08-231-3/+9
| | | | | | | | | | | | | The UI allows a user to use a specific virtual keyboard extension for each layout. HTML/CSS/JS part is http://codereview.chromium.org/7676001/. BUG=None (internal bug only) TEST=ran unit_tests Review URL: http://codereview.chromium.org/7670024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97873 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r97856 "move bubble border code and update references to it."maruel@chromium.org2011-08-239-37/+33
| | | | | | | | | | TBR=saintlou@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7685057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97857 0039d316-1c4b-4281-b951-d872f2087c98
* move bubble border code and update references to it.saintlou@chromium.org2011-08-239-33/+37
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7629009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97856 0039d316-1c4b-4281-b951-d872f2087c98
* Fix editable_user switching for GAIA login.mnissler@chromium.org2011-08-231-1/+1
| | | | | | | | | | BUG=chromium-os:18208 TEST=Trigger (old-style) enterprise enrollment against a server that errors out on the policy request, verify that the username gets disabled properly. Review URL: http://codereview.chromium.org/7671021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97843 0039d316-1c4b-4281-b951-d872f2087c98
* UI changes to make fake mounting of corrupted devices possible.sidor@chromium.org2011-08-232-3/+21
| | | | | | | | | | BUG=chromium-os:19489 TEST=None Review URL: http://codereview.chromium.org/7706020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97836 0039d316-1c4b-4281-b951-d872f2087c98
* Write the accessibility pref immediately when it changes, rather thandmazzoni@chromium.org2011-08-231-1/+5
| | | | | | | | | | | | | | scheduling it to be written later. This prevents a bug where the user changes the setting and then immediately shuts down before it can be written. I filed http://crosbug.com/19491 to possibly fix the underlying bug instead (Local State not written before shutdown). BUG=chromium-os:19037 TEST=manual testing Review URL: http://codereview.chromium.org/7685034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97823 0039d316-1c4b-4281-b951-d872f2087c98
* A keyboard widget that manages itself (the animation and all that).sadrul@chromium.org2011-08-224-332/+8
| | | | | | | | | | | At the moment, the keyboard widget manages itself pretty well. But external components can still control its visibility (and it is necessary at the moment too); the usage is simple: ShowKeyboardForWidget and Hide. The widget currently does its own animation, but eventually, perhaps the window-manager will take care of it. BUG=None TEST=None Review URL: http://codereview.chromium.org/7302015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97740 0039d316-1c4b-4281-b951-d872f2087c98
* Do not call SMSMonitor with empty device path.stevenjb@google.com2011-08-221-8/+13
| | | | | | | | | BUG=chromium-os:15496 TEST=Repeatedly enable/disable activated cellular network. Ensure SMS monitoring works: You need device with GSM SIM card that is registered with a GSM network (data connectivity doesn't matter). Login as user or guest and send an SMS to the phone number associated with the SIM. Review URL: http://codereview.chromium.org/7631024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97671 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize/Shutdown CrosLibrary explicitly to avoid singleton races during ↵stevenjb@google.com2011-08-229-20/+79
| | | | | | | | | | | shutdown. BUG=chromium-os:18912 TEST=Ensure chrome shuts down cleanly after heavy usage. Include opening Other Wi-F > Advanced. Review URL: http://codereview.chromium.org/7672005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97662 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos proxy ui enhancementskuan@chromium.org2011-08-222-13/+29
| | | | | | | | | | | | | - implement checking of policy/extension-managed proxy in ui and display reason when network proxy is not configurable. - update instructions on how to disable proxy server when it's is not reachable - update strings for proxy-related settings BUG=chromium-os:18010,chromium-os:8513,chromium-os:18108 TEST=verify per bug reports. Review URL: http://codereview.chromium.org/7644001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97654 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos proxy: retrieve proxy config property from flimflamkuan@chromium.org2011-08-222-0/+8
| | | | | | | | | | this part of code got lost during restructuring of network library. BUG=chromium-os:19310 TEST=verify per bug report Review URL: http://codereview.chromium.org/7669065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97652 0039d316-1c4b-4281-b951-d872f2087c98
* Reset the device policy machinery upon retrying enrollment.mnissler@chromium.org2011-08-221-3/+3
| | | | | | | | | | BUG=chromium-os:18208 TEST=See bug description Review URL: http://codereview.chromium.org/7676005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97615 0039d316-1c4b-4281-b951-d872f2087c98
* Disable most of keyboard layouts when TOUCH_UI is defined.yusukes@chromium.org2011-08-201-48/+48
| | | | | | | | | | | | | | | Since we only have 2 virtual keyboards (US Qwerty, French Azerty), the default US Qwerty VK is shown when keyboard layout other than the two such as US-Dvorak is selected. It's confusing. This CL disables all keyboard layouts other than US/FR when TOUCH_UI is defined. BUG=chromium-os:17172 TEST=manual Review URL: http://codereview.chromium.org/7655039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97573 0039d316-1c4b-4281-b951-d872f2087c98
* Adding another level of abstraction between MountLibrary and libcros.tbarzic@chromium.org2011-08-202-29/+109
| | | | | | | | | | | | The idea is to make libcros mockable and, by that, make MountLibrary easier to test. TEST=None BUG=None Review URL: http://codereview.chromium.org/7631013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97562 0039d316-1c4b-4281-b951-d872f2087c98
* Prefix all IPC messages used by src\chrome with Chrome. For e.g ↵ananta@chromium.org2011-08-192-5/+6
| | | | | | | | | | | | | | | ChromeViewMsg_, ChromeViewHostMsg, etc. This makes it easier to identify which messages are specific to content and chrome. This is a preparation CL for bug http://code.google.com/p/chromium/issues/detail?id=87335 which requires IPC's to not span across content and chrome. When IPC's cross these boundaries they need to be handled as API calls. BUG=87335 Review URL: http://codereview.chromium.org/7631063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97536 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome OS: don't display connection failure notification unless connect was ↵ers@chromium.org2011-08-192-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | user-initiated. When a network connection attempt is initiated because of auto-connect, it doesn't make sense to notify the user of a failure. The case in which connection failure can be expected is across a suspend/resume cycle, e.g., when the netbook lid is closed and reopened. BUG=chromium-os:16391 TEST=On a chromebook with an active cellular account, make sure that the "Automatically connect to this network" box is checked. Establish a connection on the cellular network. Close the chromebook lid. Wait about 20 seconds, and then re-open the lid. After 10-15 seconds, the "Disable mobile data" button should reappear on the Settings > Internet page, and then a while later, a connection on the cellular network should be established, with no notification pop-up. The original problem seems more repeatable if Wi-Fi is disabled. R=stevenjb@chromium.org Review URL: http://codereview.chromium.org/7631045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97487 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate crash reporting settings only if owner.rkc@chromium.org2011-08-191-3/+26
| | | | | | | | | | | | Writing the crash reporting setting when not the owner results in an infinite loop. Migrate the settings only if the logged in user is the owner. R=mnissler@chromium.org,zelidrag@chromium.org,pastarmovj@chromium.org BUG=chromium-os:19335 TEST=Ran browser_tests as a non-owner to confirm they're working. Review URL: http://codereview.chromium.org/7655041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97455 0039d316-1c4b-4281-b951-d872f2087c98
* [oobe] HTML page support for the WebUI OOBE implementation.altimofeev@chromium.org2011-08-191-0/+22
| | | | | | | | | BUG=chromium-os:17333 TEST=manual Review URL: http://codereview.chromium.org/7621042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97454 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r96364: Rename PluginUpdater to PluginPrefs and make it per-profile.bauerb@chromium.org2011-08-191-4/+0
| | | | | | | | | BUG=80794 TEST=none Review URL: http://codereview.chromium.org/7639017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97452 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97406 - Fix a memory leak in the IME candidate window of Chrome OS.kinaba@chromium.org2011-08-191-1/+3
| | | | | | | | | | | | TEST= BUG=chromium-os:18893 Review URL: http://codereview.chromium.org/7624039 TBR=kinaba@chromium.org Review URL: http://codereview.chromium.org/7686003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97438 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome OS: Invoke the correct virtual ParseValue method when creating networks.ers@chromium.org2011-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the recent refactoring of the network property parsing code, there is now a hierarchy of parsers, with a virtual ParseValue method that's overridden by each subclass. In the code that creates a new network from a dictionary of properties (in NetworkLibraryImplCros::ParseNetwork), a local NativeNetworkParser object is defined, and its CreateNetworkFromInfo() method is called. The call chain was then NetworkParser::CreateNetworkFromInfo -> NetworkParser::UpdateNetworkFromInfo -> NetworkParser::UpdateStatus -> NativeNetworkParser::ParseValue In other words, the ParseValue method of the base NativeNetworkParser was being invoked for all properties. As a result, none of the wireless-specific or cellular-specific properties were recognized. The fix is to replace the call to NetworkParser::UpdateStatus with a call to Network::UpdateStatus. That way, when the latter method invokes UpdateStatus on the parser, it is using the network-type-specific parser that was created when the network was created, and the correct ParseValue method ends up being used. BUG=none TEST=The problem exhibited itself when there was a registered cellular network. If the user disabled mobile data, and then re-enabled it, the cellular network would reappear, but none of the cellular-specific properties were defined (so, e.g., there was no network technology badge, the activation status was unknown, etc.). R=gspencer@chromium.org Review URL: http://codereview.chromium.org/7655053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97418 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak in the IME candidate window of Chrome OS.kinaba@chromium.org2011-08-191-3/+1
| | | | | | | | | TEST= BUG=chromium-os:18893 Review URL: http://codereview.chromium.org/7624039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97406 0039d316-1c4b-4281-b951-d872f2087c98
* Add URL parameter to the constructor of KeyboardContainerView.yusukes@chromium.org2011-08-181-1/+4
| | | | | | | | | | BUG=None (internal bug only) TEST=manual Review URL: http://codereview.chromium.org/7655042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97339 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed online state notification flakiness on ChromeOS.zelidrag@chromium.org2011-08-182-23/+138
| | | | | | | | | | | - prevented dns preload cache on login screen - supressed notifications that result from switches from one connected network to another BUG=chromium-os:18588 TEST=make sure thet transitions from ethernet to WiFi don't create such notifications when both connections are present. Review URL: http://codereview.chromium.org/7491084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97300 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 4)thestig@chromium.org2011-08-182-2/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7670016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97286 0039d316-1c4b-4281-b951-d872f2087c98
* Add a GoogleServiceAuthError parameter to ↵rickcam@chromium.org2011-08-181-2/+4
| | | | | | | | | | | | GaiaOAuthConsumer::OnGetOAuthTokenFailure and notify SigninManager observers with chrome::NOTIFICATION_GOOGLE_SIGNIN_FAILED BUG=92960 TEST=unit Review URL: http://codereview.chromium.org/7645040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97265 0039d316-1c4b-4281-b951-d872f2087c98
* Profiles: Fix overlistening on LOAD_COMPLETED_MAIN_FRAME.erg@google.com2011-08-172-6/+8
| | | | | | | | | | | BUG=87457 TEST=none R=dilmah TBR=zea Review URL: http://codereview.chromium.org/7624007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97169 0039d316-1c4b-4281-b951-d872f2087c98
* Creating NotificationService. Split test cases. Avoiding DCHECK for ↵avayvod@chromium.org2011-08-172-3/+13
| | | | | | | | | | | | g_browser_process. R=dilmah@chromium.org BUG=92871 TEST=Verify that UserControllerTest passes. Review URL: http://codereview.chromium.org/7659014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97162 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed playing multiple files in the mediaplayer.serya@chromium.org2011-08-171-0/+1
| | | | | | | | | | BUG=chromium-os:17610, chromium-os:18965 TEST=None Review URL: http://codereview.chromium.org/7529048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97126 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build break of preferences.ccmazda@chromium.org2011-08-171-1/+2
| | | | | | | | | | TBR=yusukes@chromium.org BUG=none TEST=Build succeeds Review URL: http://codereview.chromium.org/7621037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97123 0039d316-1c4b-4281-b951-d872f2087c98
* Automatically remove invalid virtual keyboard prefs.yusukes@google.com2011-08-171-3/+18
| | | | | | | | | BUG=None TEST=manual Review URL: http://codereview.chromium.org/7670022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97120 0039d316-1c4b-4281-b951-d872f2087c98
* [ChromeOS] Fix a problem that invalid oauth token is not refreshed.xiyuan@chromium.org2011-08-171-4/+4
| | | | | | | | | | | | Use a logic similar to zel's original code that calls VerifyOAuth1AccessToken when we have oauth token in user's profile or we don't have cookies. BUG=chromium-os:19241 TEST=Verify fix for chromium-os:19241 Review URL: http://codereview.chromium.org/7671007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97095 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetInputMethodDescriptorFromXkbId function.yusukes@google.com2011-08-173-1/+36
| | | | | | | | | | | I'll use the new function to implement a UI for virtual keyboard management. BUG=None TEST=ran unit_tests Review URL: http://codereview.chromium.org/7663008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97084 0039d316-1c4b-4281-b951-d872f2087c98
* base: Fix the TODO in string_util.htfarina@chromium.org2011-08-175-16/+25
| | | | | | | | | | | | | This removes the include of stringprintf.h from string_util.h and fix the clients. BUG=None TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7633055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97067 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Apply the Init() model to UpdateLibrary API.tfarina@chromium.org2011-08-163-17/+24
| | | | | | | | | | | BUG=None TEST=None R=stevenjb@chromium.org Review URL: http://codereview.chromium.org/7672002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97034 0039d316-1c4b-4281-b951-d872f2087c98
* Include chromeos_wm_ipc_enums.h from third_party/cros_system_api.satorux@chromium.org2011-08-1614-14/+14
| | | | | | | | | | | | % grep -l '#include.*chromeos_wm_ipc_enums.h' **/*.{cc,h} > files.txt % perl -i -pe 's!"third_party/cros/chromeos_wm_ipc_enums.h"!"third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h"!' `cat files.txt` BUG=chromium-os:19054 TEST=confirm chrome builds as before Review URL: http://codereview.chromium.org/7648043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97002 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a broken TOUCH_UI build.fsamuel@chromium.org2011-08-161-1/+1
| | | | | | | | | | BUG=none TEST=manually Review URL: http://codereview.chromium.org/7648051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96994 0039d316-1c4b-4281-b951-d872f2087c98
* Fix VPN icon issuesstevenjb@google.com2011-08-167-35/+53
| | | | | | | | | | | | | Includes other small fixes discovered while testing: * Alignment of provider type text for configured VPN connect UI. * Open conenct dialog on any VPN connect failure BUG=chromium-os:17161,chromium-os:18670 TEST=Test network icons in in the statu bar, network menu, and internet options page with VPN disconnected, conencting, and connected, and with diferent underlying networks connected (ethernet, wifi, cellular, none). Review URL: http://codereview.chromium.org/7633046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96967 0039d316-1c4b-4281-b951-d872f2087c98
* Profiles: Fix touchui usage of AllSources() for FOCUS_CHANGED_IN_PAGE.erg@chromium.org2011-08-161-2/+4
| | | | | | | | | | BUG=87457 TEST=none Review URL: http://codereview.chromium.org/7650031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96931 0039d316-1c4b-4281-b951-d872f2087c98
* Apply VPD customization even if startup customization manifest is missing.dpolukhin@chromium.org2011-08-163-94/+93
| | | | | | | | | BUG=chrome-os-partner:5116 TEST=manual Review URL: http://codereview.chromium.org/7659009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96914 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Improve brightness and volume animations.derat@chromium.org2011-08-155-96/+168
| | | | | | | | | | | | | | Make the onscreen brightness and volume indicators not be janky. Also change views::ProgressBar to permit specifying min and max double values, instead of just using a hardcoded integer range between 0 and 100. BUG=chromium-os:19141,chromium-os:8473 TEST=manual: held volume keys and checked that animation is smooth Review URL: http://codereview.chromium.org/7646004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96853 0039d316-1c4b-4281-b951-d872f2087c98
* Move the core download files to content.jam@chromium.org2011-08-151-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7618048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96829 0039d316-1c4b-4281-b951-d872f2087c98
* Add MessageLoopProxy::currentnduca@chromium.org2011-08-151-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7583053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96819 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Clang buildgspencer@google.com2011-08-152-3/+6
| | | | | | | | | BUG=none TEST=ran clang trybot. Review URL: http://codereview.chromium.org/7618046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96806 0039d316-1c4b-4281-b951-d872f2087c98
* This factors out all of the parsing code from the network librarygspencer@google.com2011-08-1510-1592/+2959
| | | | | | | | | | | | | | | | | | network classes into a separate hierarchy of parsers. This is in preparation for creating a second parser hierarchy that can be used to create networks from a configuration file instead of from flimflam. In the course of doing this, I updated much of the style inconsistencies in this code (mainly having to do with passing arguments). BUG=chromium-os:15457 TEST=ran on device, connected to new network, forgot a network. Review URL: http://codereview.chromium.org/7453051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96794 0039d316-1c4b-4281-b951-d872f2087c98
* touchui login: Fix a crash in debug build in the login screen.sadrul@chromium.org2011-08-151-1/+2
| | | | | | | | | | | The status area for the login screen is created at startup, so it is not necessary to recreate it after the page has completed rendering. BUG=none TEST=manually: start chrome with the login screen in a debug touchui build. Review URL: http://codereview.chromium.org/7645024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96780 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Chromium OS build break introduced in r96761.grt@chromium.org2011-08-151-1/+2
| | | | | | | | BUG=none TBR=avayvod@chromium.org Review URL: http://codereview.chromium.org/7649015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96764 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled UserControllerTestavayvod@chromium.org2011-08-151-1/+2
| | | | | | | | | | R=timurrrr@chromium.org BUG=92871 TEST=Verify that UserControllerTest doesn't run on buildbots. Review URL: http://codereview.chromium.org/7649013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96761 0039d316-1c4b-4281-b951-d872f2087c98
* Make WebPluginInfo more genericcpu@chromium.org2011-08-142-6/+6
| | | | | | | | | | | | | - To account for pepper plugins, it grows a type field - move WebPluginInfo from webkit::npapi to webkit:: and move the files as well. This will allow us to remove hacks to get pepper plugins to load soon BUG=89248 TEST=none Review URL: http://codereview.chromium.org/7648017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96718 0039d316-1c4b-4281-b951-d872f2087c98
* Add member variables to VirtualKeyboardSelector and VirtualKeyboard classes.yusukes@chromium.org2011-08-135-24/+270
| | | | | | | | | | | | This is necessary for implementing UI for virtual keyboard configuration. BUG=None TEST=ran unit_tests Review URL: http://codereview.chromium.org/7508014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96703 0039d316-1c4b-4281-b951-d872f2087c98