summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Revert 60457 - Adds IDBFactory::didCompleteEventsForTransaction plumbingphajdan.jr@chromium.org2010-09-241-4/+4
| | | | | | | | | | | | | | | (depends on https://bugs.webkit.org/show_bug.cgi?id=44700) TEST=IndexedDBBrowserTest.TransactionGetTest This takes over http://codereview.chromium.org/3310022/show Review URL: http://codereview.chromium.org/3394007 TBR=andreip@chromium.org Review URL: http://codereview.chromium.org/3405031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60459 0039d316-1c4b-4281-b951-d872f2087c98
* Adds IDBFactory::didCompleteEventsForTransaction plumbingandreip@chromium.org2010-09-241-4/+4
| | | | | | | | | | | | (depends on https://bugs.webkit.org/show_bug.cgi?id=44700) TEST=IndexedDBBrowserTest.TransactionGetTest This takes over http://codereview.chromium.org/3310022/show Review URL: http://codereview.chromium.org/3394007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60457 0039d316-1c4b-4281-b951-d872f2087c98
* Disable crashy MacDirAccessSandboxTest.SandboxAccessphajdan.jr@chromium.org2010-09-241-1/+2
| | | | | | | | | | | TBR=jeremy BUG=56765 TEST=none Review URL: http://codereview.chromium.org/3396023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60450 0039d316-1c4b-4281-b951-d872f2087c98
* Improve flaky ui_test AutomationProxyVisibleTest.AutocompleteMatchesTestjknotten@chromium.org2010-09-241-0/+3
| | | | | | | | | | | | | | | The omnibox requires that it is focused before text input to it will kick off the autocompletion providers. We add code (edit->WaitForFocus()) to the test to wait for the focus to be obtained before setting the omnibox’s text input and proceeding with the rest of the test. BUG=19876 TEST=Existing Review URL: http://codereview.chromium.org/3348021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60443 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60421 - Revert 60373, trying to track down a perf regression (see bug ↵thakis@chromium.org2010-09-243-0/+5
| | | | | | | | | | | | | | | | | 56752)- Add about:gpuhang BUG=None TEST=None Review URL: http://codereview.chromium.org/3447023 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/3398027 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/3398028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60430 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60378 (trying to track down http://crbug.com/56752 )- Flesh out ↵thakis@chromium.org2010-09-243-97/+87
| | | | | | | | | | | | | | | | | | | | | | | URLLoader's download_to_file function. * tie the lifetime of the resulting temp file to the lifetime of the URLLoader (the plan is to later extend the lifetime of the temp file to support xhr.responseBlob) * make it work in test_shell * make it work for sync requests * added OnDataDownloaded messages to report progress A related BlobURL loading change. * grab a reference to the blob early on to ensure it's still there when the 'job' is finally started. TEST=manual and deletable_file_reference_unittest.cc BUG=52486 Review URL: http://codereview.chromium.org/3165062 TBR=michaeln@chromium.org Review URL: http://codereview.chromium.org/3455022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60425 0039d316-1c4b-4281-b951-d872f2087c98
* base: Finish moving the SplitString functions from string_util.h to ↵tfarina@chromium.org2010-09-243-0/+3
| | | | | | | | | | | string_split.h BUG=None TEST=trybos Review URL: http://codereview.chromium.org/3447008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60422 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60373, trying to track down a perf regression (see bug 56752)- Add ↵thakis@chromium.org2010-09-243-5/+0
| | | | | | | | | | | | | | about:gpuhang BUG=None TEST=None Review URL: http://codereview.chromium.org/3447023 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/3398027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60421 0039d316-1c4b-4281-b951-d872f2087c98
* This is the IPC and bits of the browser backend for FileWriter. The rest ofericu@google.com2010-09-241-1/+23
| | | | | | | | | | | | | | it's too tied together to include a small amount; this is the most-significant chunk that I could put up without making too big a changelist. The backend isn't complete, but you can see where it's going from here. BUG=none TEST=none Review URL: http://codereview.chromium.org/3440021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60396 0039d316-1c4b-4281-b951-d872f2087c98
* Flesh out URLLoader's download_to_file function.michaeln@chromium.org2010-09-233-87/+97
| | | | | | | | | | | | | | | | | | * tie the lifetime of the resulting temp file to the lifetime of the URLLoader (the plan is to later extend the lifetime of the temp file to support xhr.responseBlob) * make it work in test_shell * make it work for sync requests * added OnDataDownloaded messages to report progress A related BlobURL loading change. * grab a reference to the blob early on to ensure it's still there when the 'job' is finally started. TEST=manual and deletable_file_reference_unittest.cc BUG=52486 Review URL: http://codereview.chromium.org/3165062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60378 0039d316-1c4b-4281-b951-d872f2087c98
* Add about:gpuhangthakis@chromium.org2010-09-233-0/+5
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/3447023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60373 0039d316-1c4b-4281-b951-d872f2087c98
* Allow extensions to request the icons of hosted apps.aa@chromium.org2010-09-235-0/+50
| | | | | | | | | BUG=53495 TEST= Review URL: http://codereview.chromium.org/3409004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60371 0039d316-1c4b-4281-b951-d872f2087c98
* Add a launchApp method to extension management API.asargent@chromium.org2010-09-232-0/+261
| | | | | | | | | | | | | | | | | | | | This makes it possible for new tab replacement extensions to recreate the same app launch experience as the built-in NTP (pinned tabs, launch containers, etc.) Also add the extension version to data we report about extensions via the management API. BUG=56325,55474 TEST=An extension using chrome.experimental.management.launchApp(<id>) should work to launch an app the same way that app gets launched from the built-in new tab page. Review URL: http://codereview.chromium.org/3381019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60334 0039d316-1c4b-4281-b951-d872f2087c98
* Fix error in extension docs: chrome.extension.connectExternal should justdmazzoni@chromium.org2010-09-232-2/+2
| | | | | | | | | | | be chrome.extension.connect. BUG=none TEST=none Review URL: http://codereview.chromium.org/3322011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60299 0039d316-1c4b-4281-b951-d872f2087c98
* Allow web resource server to set custom logo display by start and end date.mirandac@chromium.org2010-09-232-3/+6
| | | | | | | | BUG=56388 TEST=none Review URL: http://codereview.chromium.org/3382014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60291 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for enabling/disabling JavaScript.phajdan.jr@chromium.org2010-09-232-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3395011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60288 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my revert of 60275 + don't do static casting + disable the tests for now.jorlow@chromium.org2010-09-234-33/+106
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3435022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60283 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60275.jorlow@chromium.org2010-09-234-106/+33
| | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60281 0039d316-1c4b-4281-b951-d872f2087c98
* Add the transaction id plumbing to IndexedDB.jorlow@chromium.org2010-09-234-33/+106
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3478003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60275 0039d316-1c4b-4281-b951-d872f2087c98
* Add plumbing for IDBTransaction::abort()andreip@chromium.org2010-09-231-0/+4
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/3441019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60274 0039d316-1c4b-4281-b951-d872f2087c98
* Add an IPC message that will be used to send the phishing classification modelbryner@chromium.org2010-09-231-0/+6
| | | | | | | | | | | from the browser to the renderer. BUG=none TEST=none Review URL: http://codereview.chromium.org/3484001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60249 0039d316-1c4b-4281-b951-d872f2087c98
* Look up the canonical email address before reporting client login success.johnnyg@chromium.org2010-09-223-10/+97
| | | | | | | | | BUG=55133 TEST=login without @gmail.com at the end Review URL: http://codereview.chromium.org/3451012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60230 0039d316-1c4b-4281-b951-d872f2087c98
* Added code in the browser process to display a Cloud Print token expired ↵sanjeevr@chromium.org2010-09-222-0/+5
| | | | | | | | | | | desktop notification. Also added a command-line switch to show this UI. BUG=None TEST=None for now. Review URL: http://codereview.chromium.org/3436019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60205 0039d316-1c4b-4281-b951-d872f2087c98
* Remove one-time flags when restarting after update.finnur@chromium.org2010-09-223-0/+97
| | | | | | | | | BUG=53407 TEST=SwitchUtilsTest.AddRemoveSwitches Review URL: http://codereview.chromium.org/3307024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60161 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor some file_system classes to use chromium types instead ofdumi@chromium.org2010-09-227-225/+238
| | | | | | | | | | | WebKit API types. BUG=none TEST=none Review URL: http://codereview.chromium.org/3406008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60152 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI: Make Settings page available at chrome://settings.tfarina@chromium.org2010-09-222-5/+5
| | | | | | | | | | BUG=56152 TEST=out/Debug/chrome --enable-tabbed-options. Navigate to the Settings page, it should works as before. Review URL: http://codereview.chromium.org/3461010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60135 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r60126 that broke the build.hclam@chromium.org2010-09-223-7/+70
| | | | | | | | | | | TBR=scherkus BUG=53714 TEST= Review URL: http://codereview.chromium.org/3393017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60130 0039d316-1c4b-4281-b951-d872f2087c98
* SendAllocateVideoFrames to the rendererhclam@chromium.org2010-09-213-70/+7
| | | | | | | | | | | This is separated from a previous patch due to link error on mac. BUG=53714 TEST=Mac build bots are happy Review URL: http://codereview.chromium.org/3414011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60126 0039d316-1c4b-4281-b951-d872f2087c98
* Enable and disable Chat Manager component extension based on labs preference ↵scherkus@chromium.org2010-09-212-0/+5
| | | | | | | | | | | setting. BUG=56429 TEST=unit_tests --gtest_filter=ExtensionsServiceTest.* Review URL: http://codereview.chromium.org/3120029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60123 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch of clang warnings/errors.thakis@chromium.org2010-09-211-1/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/3473006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60109 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Implement PrintingContext::UseDefaultSettings for Linux/Cairo.jhawkins@chromium.org2010-09-211-2/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3389005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60087 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unique identifier for plugin groups and use it to identify blocked ↵bauerb@chromium.org2010-09-213-56/+77
| | | | | | | | | | | | | | | plugins. Currently we use the plugin path as identifier for per-plugin content settings, which is not stable across Chrome updates or plugin moves. The new identifier is either hardcoded (for predefined plugin groups), or the filename without path. BUG=39252 TEST=none Review URL: http://codereview.chromium.org/3384014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60054 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59972 (chromium os leaks) - Reland r59511: Eagerly set the IO loop ↵willchan@chromium.org2010-09-211-17/+1
| | | | | | | | | | | | | | | | | | used for OCSP. ChromeOS will create a special Profile for login. Previously, OCSP initialization was done for the "default" ChromeURLRequestContext for each Profile. Since we can have multiple profiles, this causes the initialization (and uninitialization) to happen multiple times, which causes problems for OCSP since we use statics. The solution is to identify the "main" Profile. We create said Profile in BrowserMain. I add an "is_main_" variable to URLRequestContextGetter and URLRequestContext, so that only the "main" URLRequestContext will initialize OCSP. Other than minor plumbing of "is_main_", this changelist is identical to r59511. BUG=55940 TEST=Startup ChromeOS's Chrome. Should not crash on startup. Review URL: http://codereview.chromium.org/3470001 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/3468005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60025 0039d316-1c4b-4281-b951-d872f2087c98
* Sandbox built-in flash player. Spawn brokercpu@chromium.org2010-09-211-10/+44
| | | | | | | | | | | | | | - Now is chrome duty to spawn flash broker. Flash cannot do it by itself on XP The flash broker is hosted in rundll32.exe. An extra switch is added to the command line of the plug-in process so flash player can contact its broker. BUG=50796 TEST=see bug for testing info Review URL: http://codereview.chromium.org/3432014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60018 0039d316-1c4b-4281-b951-d872f2087c98
* Disables top sites until we get it in a better shape.sky@chromium.org2010-09-212-4/+4
| | | | | | | | | BUG=40313 TEST=see bug. aocampo has some test cases too. Review URL: http://codereview.chromium.org/3412015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60013 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to change NTP logos using a command from the web resource ↵mirandac@chromium.org2010-09-212-12/+16
| | | | | | | | | | | server. BUG=none TEST=none Review URL: http://codereview.chromium.org/3418020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60001 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce console spam from important_file_writer.evan@chromium.org2010-09-201-9/+3
| | | | | | | | | | This prints 1.5 thousand times while running tests. TEST=compiles Review URL: http://codereview.chromium.org/3397013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59985 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r59511: Eagerly set the IO loop used for OCSP.willchan@chromium.org2010-09-201-1/+17
| | | | | | | | | | | | | ChromeOS will create a special Profile for login. Previously, OCSP initialization was done for the "default" ChromeURLRequestContext for each Profile. Since we can have multiple profiles, this causes the initialization (and uninitialization) to happen multiple times, which causes problems for OCSP since we use statics. The solution is to identify the "main" Profile. We create said Profile in BrowserMain. I add an "is_main_" variable to URLRequestContextGetter and URLRequestContext, so that only the "main" URLRequestContext will initialize OCSP. Other than minor plumbing of "is_main_", this changelist is identical to r59511. BUG=55940 TEST=Startup ChromeOS's Chrome. Should not crash on startup. Review URL: http://codereview.chromium.org/3470001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59972 0039d316-1c4b-4281-b951-d872f2087c98
* When a plug-in group has no name, fall back to filename without extension.bauerb@chromium.org2010-09-202-5/+20
| | | | | | | | | BUG=48571 TEST=manual Review URL: http://codereview.chromium.org/3424012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59935 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: provide load timing for sync resources.pfeldman@chromium.org2010-09-201-0/+5
| | | | | | Review URL: http://codereview.chromium.org/3458004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59916 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line switch to allow testers to test the upgrade detectionfinnur@chromium.org2010-09-182-0/+5
| | | | | | | | | | | without having to wait 24 hrs. BUG=None TEST=To check every 10 seconds, use: --check-for-update-interval=10 Review URL: http://codereview.chromium.org/3419004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59900 0039d316-1c4b-4281-b951-d872f2087c98
* Remove code that enables renderer accessibility based on the ↵ctguil@chromium.org2010-09-182-0/+6
| | | | | | | | | | | | | SPI_GETSCREENREADER parameter. Update chrome frame so that its test automation can still use renderer accessibility. BUG=55902 TEST=none Review URL: http://codereview.chromium.org/3383010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59899 0039d316-1c4b-4281-b951-d872f2087c98
* Extend improved windowless plugin focus handling to all platformsstuartmorgan@chromium.org2010-09-181-3/+3
| | | | | | | | | | | Uses the same two-state focus tracking that the Mac currently uses on Windows and Linux as well, so focus is updated correctly when the content area itself gains and loses focus. BUG=55607 TEST=Windowless plugins should handle key events when focused on all platforms. Review URL: http://codereview.chromium.org/3397015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59877 0039d316-1c4b-4281-b951-d872f2087c98
* Bunch of bugreport fixes. Also, moved about:system page to chrome:system.zelidrag@chromium.org2010-09-172-2/+4
| | | | | | | | | BUG=chromium-os:6737,chromium-os:6739,chromium-os:6547,chromium-os:6108 TEST=test the bugs above Review URL: http://codereview.chromium.org/3417008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59876 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit GpuVideoDecoder and related patches.hclam@chromium.org2010-09-173-40/+15
| | | | | | | | | BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3442006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59860 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59845 - Extend improved windowless plugin focus handling to all platformsstuartmorgan@chromium.org2010-09-171-3/+3
| | | | | | | | | | | | | | Uses the same two-state focus tracking that the Mac currently uses on Windows and Linux as well, so focus is updated correctly when the content area itself gains and loses focus. BUG=55607 TEST=Windowless plugins should handle key events when focused on all platforms. Review URL: http://codereview.chromium.org/3418016 TBR=stuartmorgan@chromium.org Review URL: http://codereview.chromium.org/3457007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59852 0039d316-1c4b-4281-b951-d872f2087c98
* win_safe_util: fix uninitialized variableevan@chromium.org2010-09-171-17/+7
| | | | | | | | | | | In the third branch of the if statement, do_prompt would be uninitialized. From the comment, we want to fall back on prompting if we're unsure. TEST=none Review URL: http://codereview.chromium.org/3449008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59849 0039d316-1c4b-4281-b951-d872f2087c98
* Extend improved windowless plugin focus handling to all platformsstuartmorgan@chromium.org2010-09-171-3/+3
| | | | | | | | | | | Uses the same two-state focus tracking that the Mac currently uses on Windows and Linux as well, so focus is updated correctly when the content area itself gains and loses focus. BUG=55607 TEST=Windowless plugins should handle key events when focused on all platforms. Review URL: http://codereview.chromium.org/3418016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59845 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2 - Get password sync to a usable state.tim@chromium.org2010-09-172-0/+5
| | | | | | | | | | | | | | | | | | | | | | Plumb the gaia password up to the cryptographer to generate an encryption key. Add NIGORI to the list of active datatypes to request if enable-sync-passwords is specified. Also fixes behavior from bug 55501 (required adding ExtraChangeRecordData to syncapi), as well as an ADD-handling bug in ApplyChangesFromSyncModel. Add back the call to Cryptographer::Bootstrap which was mistakenly removed in auth refactor. This patch doesn't have necessary UI to handle secondary passphrases, password changes, or existing user upgrades. Only unsynced profiles can currently get password sync working. BUG=48702, 32410, 55501 TEST=ProfileSyncPasswordTest, upcoming password integration tests Review URL: http://codereview.chromium.org/3441009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59840 0039d316-1c4b-4281-b951-d872f2087c98
* Remove vestigial cookie/web app permissions prompting UI now that the async ↵ben@chromium.org2010-09-172-4/+0
| | | | | | | | | | UI has been approved for M7.This allows me to more easily change the way the appmodal dialog system works. http://crbug.com/55121 TEST=existing tests Review URL: http://codereview.chromium.org/3299020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59838 0039d316-1c4b-4281-b951-d872f2087c98