summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
Commit message (Collapse)AuthorAgeFilesLines
* Revert 52336 - More header cleanup:erg@chromium.org2010-07-141-1/+0
| | | | | | | | | | | | | | | | - Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/2969006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52343 0039d316-1c4b-4281-b951-d872f2087c98
* More header cleanup:erg@chromium.org2010-07-141-0/+1
| | | | | | | | | | | | | - Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52336 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: except when signing off, disallow closing of last NTP of last ↵kuan@chromium.org2010-07-143-0/+698
| | | | | | | | | | | non-incognito normal browser, in which case, the window also cannot be closed. if the last normal browser is closeable and user closes it or the last tab in it, if it's a incognito browser, a new non-incognito browser will be opened, else the browser stays opened with all tabs closed and a NTP opened. before-unload-handlers are also taken care of. BUG=chromium-os:2711,chromium-os:3479,chromium-os:2568 TEST=verify per bug report. Review URL: http://codereview.chromium.org/2069002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52328 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 4556 - ensure the SystemInfo stays in scope for durection of ↵joth@chromium.org2010-07-142-14/+12
| | | | | | | | | | | UpdateNetworkStatus call BUG=crosbug.com/4556 TEST=see crbug.com/45671 Review URL: http://codereview.chromium.org/2927007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52319 0039d316-1c4b-4281-b951-d872f2087c98
* EULA screen implemented.glotov@chromium.org2010-07-146-12/+343
| | | | | | | | | BUG=crosbug.com/3178, crosbug.com/2884 TEST=out/Debug/browser_tests --gtest_filter=WizardControllerFlowTest.* Review URL: http://codereview.chromium.org/2920001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52311 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at adding Chromium OS's "Languages and Input" options sub page.satorux@chromium.org2010-07-142-0/+70
| | | | | | | | | | | | This is more like a boilerplate place holder. Will add the contents in a separate change. BUG=chromiumo-os:4573 TEST=manually Review URL: http://codereview.chromium.org/2958003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52290 0039d316-1c4b-4281-b951-d872f2087c98
* Add a DOM UI version of ibus-hangul configuration dialog.mazda@chromium.org2010-07-143-5/+72
| | | | | | | | | | | | This dialog cannot be opend from UI yet. The execution path will be added once "Languages and Input" dialog is ready. TEST=manually check on the netbook by uncommenting TODO lines. BUG=chromium-os:4806 Review URL: http://codereview.chromium.org/2853032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52279 0039d316-1c4b-4281-b951-d872f2087c98
* Add the TokenService to the chrome profile, and use it to pass the LSID from ↵chron@chromium.org2010-07-142-1/+5
| | | | | | | | | | | | | ChromiumOS login into Sync. This is just initial groundlaying for replacing the internal sync auth stack. IssueAuthToken is not yet used in this CL. TEST=Run chromium OS. Login using your credentials. Verify that sync works in about:sync. BUG=47093 Review URL: http://codereview.chromium.org/2872034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52250 0039d316-1c4b-4281-b951-d872f2087c98
* Added system notification for update_engine.seanparent@google.com2010-07-138-0/+453
| | | | | | | | | BUG=chromium-os:1178 1610 2033 TEST=UpdateBrowserTest.Notifications Review URL: http://codereview.chromium.org/2859043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52237 0039d316-1c4b-4281-b951-d872f2087c98
* Fix browser test broken by resource ID ordering change.pkasting@chromium.org2010-07-131-12/+44
| | | | | | | | BUG=48912 TEST=none Review URL: http://codereview.chromium.org/2955010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52227 0039d316-1c4b-4281-b951-d872f2087c98
* Marking AccountScreenTest.TestBasicoshima@chromium.org2010-07-131-1/+2
| | | | | | | | | | TBR=avayvod@chromium.org BUG=49004 TEST=None Review URL: http://codereview.chromium.org/2950005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52215 0039d316-1c4b-4281-b951-d872f2087c98
* Fix valgrind failure in notifications tests.johnnyg@chromium.org2010-07-131-0/+1
| | | | | | | | | BUG=48975 TEST=none Review URL: http://codereview.chromium.org/2903011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52201 0039d316-1c4b-4281-b951-d872f2087c98
* FAIL_ -> FAILS_Battery{Charging|Discharging}Testoshima@chromium.org2010-07-131-2/+2
| | | | | | | | | | TBR=arv@chromium.org, pkasting@chromium.org BUG=48912 TEST=none Review URL: http://codereview.chromium.org/2962011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52168 0039d316-1c4b-4281-b951-d872f2087c98
* Mark failing tests with FAIL_arv@chromium.org2010-07-131-2/+4
| | | | | | | | BUG=48912 TEST=None TBR=pkasting git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52156 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChromeOS reliance on implicit ordering of resource IDs. This was ↵pkasting@chromium.org2010-07-122-31/+125
| | | | | | | | | | | supposed to have landed before/with r51906, but accidentally got separated. BUG=CROS4759 TEST=Wifi status indicator reads correctly above 80% TBR=chocobo git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52149 0039d316-1c4b-4281-b951-d872f2087c98
* Implement BiDi support and replace ID support for notifications.johnnyg@chromium.org2010-07-125-37/+62
| | | | | | | | | 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
* Initial commit for product registration page.nkostylev@google.com2010-07-125-1/+209
| | | | | | | | | | | UI only, not integrated into OOBE yet. BUG= http://crosbug.com/4645 TEST=--login-screen=register should show wizard screen with about: page. Review URL: http://codereview.chromium.org/2924010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52075 0039d316-1c4b-4281-b951-d872f2087c98
* NetworkStateNotifier that sends notification when network stat has changed.oshima@chromium.org2010-07-103-0/+265
| | | | | | | | | | | This will be used to implement 3605. I created separate notification as we're planning to port to other platfrom. BUG=chromium-os:3605 TEST=added browser test Review URL: http://codereview.chromium.org/2913001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52028 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for sub pages and adding the sync page. dhg@chromium.org2010-07-092-0/+72
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2812043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52007 0039d316-1c4b-4281-b951-d872f2087c98
* Fix automation test login mode.nkostylev@google.com2010-07-091-2/+4
| | | | | | | | | BUG=none TEST=automation tests with --login-screen=login should work. Review URL: http://codereview.chromium.org/2968001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51964 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a potential crash in MountLibraryImpl::Init().satorux@chromium.org2010-07-091-0/+4
| | | | | | | | | | | | | | This is not a big deal, as the crash does not occur on the netbook. I encountred a crash when I was trying to run chrome for chrome os with libcros.so on my Ubuntu workstation. Note that building libcros.so outside of chroot is very tricky, so no one else probably wants to do that. TEST=manually BUG=none Review URL: http://codereview.chromium.org/2884015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51915 0039d316-1c4b-4281-b951-d872f2087c98
* Add expectation for MockSystemLibrary->{Add|Remove}Observeroshima@chromium.org2010-07-083-9/+26
| | | | | | | | | | | | This was causing gmock warning in browser tests. Changed cros mocks to StrictMock so that uninteresting call will fail. BUG=none TEST=browser tests will not have gmock warning "Uninterested mock function call" Review URL: http://codereview.chromium.org/2929001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51905 0039d316-1c4b-4281-b951-d872f2087c98
* Asynchronous threaded volume get/set/initscherkus@chromium.org2010-07-075-224/+248
| | | | | | | | | | | | | | | | | | | | Non-blocking version of init is now being called, and asynchronous set/get of mute and volume is implmenented at PulseAudioMixer level. The logic has been updated in SystemKeyEventListener so that the audio key behavior follows the latest doc 'Chrome OS Audio Scenarios': Increase volume key: unmutes aduio if muted, otherwise increases volume. Decrease volume key: do nothing if muted, otherwise decrease volume. Mute volume key: always mutes volume. UI is displayed after any volume key press. Currently only the init is being called asynchronously, but the next step will be to add a call allowing asynchronous operation of the volume adjust/unmute sequence from SystemKeyEventListener, and move the ShowVolumeBubble() calls into AudioHandler so that the volume bubble will update once the calls complete on their own thread. Patch by davej@chromium.org: http://codereview.chromium.org/2769008/show BUG=2910 Test=Play video or audio in ChromeOS, and press the system volume up, down, and mute keys to see they follow the above behavior. Alternating Mute and Increment Volume presses should always bring the volume back to the same level and not creep it upwards. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51786 0039d316-1c4b-4281-b951-d872f2087c98
* [chromeos]Update the display name of UK keyboard layout.suzhe@chromium.org2010-07-071-1/+2
| | | | | | | | | BUG=http://crosbug.com/2951 TEST=The name of the UK keyboard layout should be "English (UK) keyboard layout" Review URL: http://codereview.chromium.org/2810049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51744 0039d316-1c4b-4281-b951-d872f2087c98
* Adding labs to the chromeos options pagedhg@chromium.org2010-07-073-0/+72
| | | | | | Review URL: http://codereview.chromium.org/2800035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51733 0039d316-1c4b-4281-b951-d872f2087c98
* Replaced IsOnlyLeftMouseButton() with IsLeftMouseButton() in ↵stevenjb@chromium.org2010-07-071-1/+1
| | | | | | | | | | | | PanelController::TitleMousePressed. http://code.google.com/p/chromium-os/issues/detail?id=4255 BUG=chromium-os:4255 TEST=See Issue for repro Review URL: http://codereview.chromium.org/2834037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51732 0039d316-1c4b-4281-b951-d872f2087c98
* Pass the correct flag to input_method::GetInputMethodIdsFromLanguageCode() ↵yusukes@google.com2010-07-071-1/+1
| | | | | | | | | | | function. BUG=chromium-os:4575 TEST=see the bug Review URL: http://codereview.chromium.org/2884017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51700 0039d316-1c4b-4281-b951-d872f2087c98
* Remove false warning.yusukes@google.com2010-07-071-1/+1
| | | | | | | | | | | Obviously we don't have to write an error log when |type| is kKeyboardLayoutsOnly. BUG=none TEST=manual Review URL: http://codereview.chromium.org/2871037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51699 0039d316-1c4b-4281-b951-d872f2087c98
* Add string resources for ibus-chewing.yusukes@google.com2010-07-071-1/+5
| | | | | | | | | BUG=chromium-os:4570 TEST=started ibus-chewing, toggled properties, then verified there were no errors in /home/chronos/chrome_log. Review URL: http://codereview.chromium.org/2836049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51698 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo in input_method_util.cc.yusukes@google.com2010-07-071-1/+4
| | | | | | | | | BUG=chromium-os:4565 TEST=none Review URL: http://codereview.chromium.org/2888002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51694 0039d316-1c4b-4281-b951-d872f2087c98
* Do not show shortcut labels when labels are set to empty.satorux@chromium.org2010-07-071-26/+56
| | | | | | | | | | | | In particular, we should not show shortcut labels when ibus-mozc shows suggestions. BUG=chromium-os:4563 TEST=manually with ibus-mozc Review URL: http://codereview.chromium.org/2855033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51693 0039d316-1c4b-4281-b951-d872f2087c98
* Remove logging in SetImeConfig().yusukes@google.com2010-07-071-2/+0
| | | | | | | | | | | The LOG() is too verbose now since it is ensured that the call succeeds. BUG=none TEST=none Review URL: http://codereview.chromium.org/2803038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51689 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify LanguageConfigModelsatorux@chromium.org2010-07-074-36/+28
| | | | | | | | | | | | | | | Get rid of Init() method from LanguageConfigModel, and add a call to NotifyPrefChanged() in the constructor. Along the way, fix a sytle issue in LanguageConfigView. Per the style guide, model should look like model_, as it's a member variable. TEST=manually on the netbook. BUG=none Review URL: http://codereview.chromium.org/2872031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51688 0039d316-1c4b-4281-b951-d872f2087c98
* Add IssueAuthToken and unit tests to GaiaAuthenticator2.chron@chromium.org2010-07-063-6/+6
| | | | | | | | | | | GaiaAuthConsumer pure virtuals now optional since you can choose to not listen to ClientLogin subscriptions. Renamed ClientLoginError to a general GaiaAuthError. BUG=47093 TEST=Unit tests included Review URL: http://codereview.chromium.org/2834042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51678 0039d316-1c4b-4281-b951-d872f2087c98
* Adjusted both user and camera image size to 256x256.avayvod@chromium.org2010-07-062-25/+35
| | | | | | | | | | | | Eliminated resizing the image upon receiving each frame. BUG=None TEST=Test that video image from camera is the same as the selected image on image screen and positioned at the same level. Review URL: http://codereview.chromium.org/2817050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51674 0039d316-1c4b-4281-b951-d872f2087c98
* chocobo's comments on http://codereview.chromium.org/2769007/showjoth@chromium.org2010-07-061-6/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2847023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51666 0039d316-1c4b-4281-b951-d872f2087c98
* ibus-hangul: Use Ctrl+Alt+F9 as a Hanja hot-key instead of F9.yusukes@google.com2010-07-063-0/+14
| | | | | | | | | | | Since F9 is reserved by the window manager on Chrome OS. BUG=chromium-os:4319 TEST=manually Review URL: http://codereview.chromium.org/2800039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51654 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the Configure buttons for opening the mozc configuration dialog.mazda@chromium.org2010-07-061-5/+3
| | | | | | | | | TEST=manually on netbook BUG=chromium-os:2625 Review URL: http://codereview.chromium.org/2815049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51653 0039d316-1c4b-4281-b951-d872f2087c98
* Password changed UI.nkostylev@google.com2010-07-0515-86/+422
| | | | | | | | | BUG= http://crosbug.com/323 TEST=Manual. Change password for the account that was previously logged on the device. Observe dialog box. Review URL: http://codereview.chromium.org/2834041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51644 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug that caused Languages and Input dialog not to be redrawn.satorux@chromium.org2010-07-051-3/+3
| | | | | | | | | | | Note that this change works even if 51628 is reverted. BUG=chromium-os:4555 TEST=manually Review URL: http://codereview.chromium.org/2822045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51636 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land r51526mnissler@chromium.org2010-07-051-19/+54
| | | | | | | | | | | | | | | | | | Auto-size the views version of the options dialog. This adds support for auto-sizing tab controls, adjusts the options dialog to use it and takes care of any fallout due to the new layout handling. Also fixes a couple of small bugs in the views Layout() machinery and sanitizes layouting of options pages. BUG=36497 TEST=unit tests in tabbed_pane_unittest.cc and grid_layout_unittest.cc, as well as checking the options dialog in any supported language. original issuse: http://codereview.chromium.org/2812026/show Review URL: http://codereview.chromium.org/2883022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51628 0039d316-1c4b-4281-b951-d872f2087c98
* Hide cancel buttons on configuration dialogs.mazda@chromium.org2010-07-058-0/+60
| | | | | | | | | BUG=chromium-os:4183 TEST=manual Review URL: http://codereview.chromium.org/2799052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51625 0039d316-1c4b-4281-b951-d872f2087c98
* Moving mediaplayer and filebrowser behind a preference. This just adds the ↵dhg@chromium.org2010-07-022-0/+7
| | | | | | | | | | | preference and sets its default value to false. After this we'll have to add the UI to set it. BUG=4362 TEST=none Review URL: http://codereview.chromium.org/2873032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51563 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r51526 (Auto-size the views version of the options dialog.)mnissler@chromium.org2010-07-021-54/+19
| | | | | | | | Unexpected unit_tests crash on chromeos. TBR: mnissler git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51529 0039d316-1c4b-4281-b951-d872f2087c98
* Auto-size the views version of the options dialog.mnissler@chromium.org2010-07-021-19/+54
| | | | | | | | | | | | | | This adds support for auto-sizing tab controls, adjusts the options dialog to use it and takes care of any fallout due to the new layout handling. Also fixes a couple of small bugs in the views Layout() machinery and sanitizes layouting of options pages. BUG=36497 TEST=unit tests in tabbed_pane_unittest.cc and grid_layout_unittest.cc, as well as checking the options dialog in any supported language. Review URL: http://codereview.chromium.org/2812026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51526 0039d316-1c4b-4281-b951-d872f2087c98
* Update screen refactoring, exit on successful update.nkostylev@google.com2010-07-023-27/+39
| | | | | | | | | BUG= http://crosbug.com/4002 TEST=Manual: execute OOBE, make sure that update is available, wait for update to complete. If update_engine returns successful update code OOBE will proceed. Review URL: http://codereview.chromium.org/2807013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51509 0039d316-1c4b-4281-b951-d872f2087c98
* Use the special language indicator for mozc-dv.yusukes@google.com2010-07-021-0/+1
| | | | | | | | | BUG=chromium-os:4157 TEST=manually Review URL: http://codereview.chromium.org/2843044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51482 0039d316-1c4b-4281-b951-d872f2087c98
* Split Gaia auth out into common/net. This is in preparation for creating a ↵chron@chromium.org2010-07-0115-365/+229
| | | | | | | | | | | | | | | | | new Auth service which will issue auth tokens. I'd like to get it in and continue hacking on it so I can stop colliding so badly with merges. I've ported over the existing unit tests. Eventually gaia_authenticator.cc is going away. For the time being, i'll be number two. This is now done, with a pile of unit tests. I am trying to run the interactive tests but I was getting numerous unrelated failures and need to resync ChromiumOS to a working build. TEST=unit tests, manually log in, out, enter wrong password. BUG=47091 Review URL: http://codereview.chromium.org/2801015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51437 0039d316-1c4b-4281-b951-d872f2087c98
* Measure the time it takes to collect external metrics.petkov@chromium.org2010-07-011-0/+3
| | | | | | | | | | | | | As we add more metrics to Chrome OS, it makes sense to monitor this to ensure it doesn't become a performance issue given that the code runs every 30 seconds. BUG=none TEST=installed on device,looked at about:histograms,ran unit tests Review URL: http://codereview.chromium.org/2814043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51422 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary fix till new update API is used - ingore update error.nkostylev@google.com2010-07-012-4/+7
| | | | | | | | | BUG= http://crosbug.com/4321 TEST=Go though OOBE process. When update has initiated and failed update screen proceeds. Review URL: http://codereview.chromium.org/2836039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51369 0039d316-1c4b-4281-b951-d872f2087c98