summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and putbrettw@chromium.org2010-12-207-44/+54
| | | | | | | | | | them in the webkit::npapi namespace. BUG=none TEST=none Review URL: http://codereview.chromium.org/6012002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69755 0039d316-1c4b-4281-b951-d872f2087c98
* Added group policy for disabling all client-side 3D APIs in Chromiumkbr@chromium.org2010-12-208-2/+18
| | | | | | | | | | | | | | | | | | | | | (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/5991003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69753 0039d316-1c4b-4281-b951-d872f2087c98
* Respect synced locale settings.dilmah@chromium.org2010-12-202-0/+11
| | | | | | | | | BUG=chromium-os:9164 TEST=Manual Review URL: http://codereview.chromium.org/6000001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69709 0039d316-1c4b-4281-b951-d872f2087c98
* Allow default desktop content settings and default geolocation settings to ↵markusheintz@chromium.org2010-12-203-0/+9
| | | | | | | | | | | be managed via policy. (Support for the Cocoa UI will be added via a separate CL) BUG=63190,63187, 63180 TEST=none Review URL: http://codereview.chromium.org/5398001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69707 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WorkerPoolMac, rename WorkerPoolLinux to WorkerPoolPosix and use that ↵thakis@chromium.org2010-12-182-8/+0
| | | | | | | | | | | | | | | | | on mac. We currently use WorkerPoolLinux on mac (as an attempt to fix the fork issue -- didn't help, but didn't hurt either), so this should be safe. This removes the last @interfaces from libbase. Also add worker_pool_posix_unittest.cc back to base_unittests BUG=44392,46929 TEST=Chrome still works. The PDF plugin prints no more warnings when it's loaded. Review URL: http://codereview.chromium.org/6055001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69652 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Support for Date object keys.hans@chromium.org2010-12-183-17/+28
| | | | | | | | | | | Depends on WebKit r74266. BUG=64060 TEST=browser_tests Review URL: http://codereview.chromium.org/5992002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69641 0039d316-1c4b-4281-b951-d872f2087c98
* Remove CrApplication dependency from basethakis@chromium.org2010-12-183-1/+133
| | | | | | | | | | | | | | | | | Add a @protocol CrAppProtocol that clients of base must implement in their NSApplication subclass, and let base depend only on this protocol. Let MessagePumpNSApplication::DoRun() no longer initialize NSApplication (fixes a TODO). Add a MockCrApplication that the simple unittests in base and app can use, move chrome_application to chrome/common. Test shell might run nested run loops, so I gave it a real but simplified CrAppProtocol implementation. BUG=62968,46929 TEST=Everything still works. The PDF plugin prints one fewer warning when loaded. Review URL: http://codereview.chromium.org/5950003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69615 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69592 - file_version_info was not finding Mac values correctly.dmaclach@chromium.org2010-12-185-6/+42
| | | | | | | | | | | | | | Changed file_version_info to find Mac values, and changed version_info to fail if values can't be found. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/5815001 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/6017003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69601 0039d316-1c4b-4281-b951-d872f2087c98
* file_version_info was not finding Mac values correctly.dmaclach@chromium.org2010-12-185-42/+6
| | | | | | | | | | | Changed file_version_info to find Mac values, and changed version_info to fail if values can't be found. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/5815001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69592 0039d316-1c4b-4281-b951-d872f2087c98
* Merge ViewHostMsg_AllocatePDFTransport with ↵thestig@chromium.org2010-12-171-8/+1
| | | | | | | | | | ViewHostMsg_AllocateSharedMemoryBuffer. BUG=none TEST=none Review URL: http://codereview.chromium.org/5961002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69589 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land 69416 - IndexedDB: Preparatory patch for using Date objects as keys.hans@chromium.org2010-12-172-0/+9
| | | | | | | | | | | | | | | | | | | | | | It was reverted in 69437 because it seemed to have broken SSLUITest.TestHTTPWithBrokenHTTPSResource SSLUITest.TestHTTPSExpiredCertAndProceed SSLUITest.TestCNInvalidStickiness SSLUITest.TestRefNavigation on Linux & Linux64. But those tests passed on the try servers, still pass on my machine, and have nothing to do with my patch (that I can imagine). Landing when the tree is calm to see how it goes. BUG=64060 TEST=none TBR=siggi@chromium.org Review URL: http://codereview.chromium.org/5983001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69526 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of notification_service.h.thestig@chromium.org2010-12-173-5/+6
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5875005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69507 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69490 - base/version: remove wstring versionsanjeevr@chromium.org2010-12-171-1/+2
| | | | | | | | | | | | | | And fix callers. BUG=23581 TEST=trybots Review URL: http://codereview.chromium.org/5848005 TBR=evan@chromium.org Review URL: http://codereview.chromium.org/5905006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69491 0039d316-1c4b-4281-b951-d872f2087c98
* base/version: remove wstring versionevan@chromium.org2010-12-171-2/+1
| | | | | | | | | | | And fix callers. BUG=23581 TEST=trybots Review URL: http://codereview.chromium.org/5848005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69490 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69416 - IndexedDB: Preparatory patch for using Date objects as keyssiggi@chromium.org2010-12-162-9/+0
| | | | | | | | | | | | | | | | | | | | | | This seems to have broken SSLUITest.TestHTTPWithBrokenHTTPSResource SSLUITest.TestHTTPSExpiredCertAndProceed SSLUITest.TestCNInvalidStickiness SSLUITest.TestRefNavigation on Linux & Linux64. We're going to add a new type to the WebIDBKey::Type enum on the WebKit side. The build will complain this isn't handled in switch statements, so add a temporary default: case for now. BUG=64060 TEST=none Review URL: http://codereview.chromium.org/5885004 TBR=hans@chromium.org Review URL: http://codereview.chromium.org/5918005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69437 0039d316-1c4b-4281-b951-d872f2087c98
* Change the "Disable outdated plug-ins" lab to block them instead.bauerb@chromium.org2010-12-163-5/+5
| | | | | | | | | | | | | This means that outdated plug-ins still show up in navigator.plugins, which gets rid of the misleading "Install Quicktime" messages. Screens: http://www.dropmocks.com/mNkqe BUG=47731 TEST=none Review URL: http://codereview.chromium.org/5917001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69435 0039d316-1c4b-4281-b951-d872f2087c98
* Installer cleanupamit@chromium.org2010-12-161-9/+6
| | | | | | | | | | | | | 1] Remove installer::version and use base::version in installer 2] Use file_util::FileEnumerator instead of calling FindFirstFile directly BUG=none TEST=covered by existing tests Review URL: http://codereview.chromium.org/5687004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69433 0039d316-1c4b-4281-b951-d872f2087c98
* Move the Pepper implementation from webkit/glue/plugins/pepper_* tobrettw@chromium.org2010-12-165-16/+20
| | | | | | | | | | | webkit/plugins/ppapi/*. This renamed the files and interface implementation classes from foo.cc/Foo to ppb_foo_impl/PPB_Foo_Impl to match the proxy ppb_foo_proxy/PPB_Foo_Proxy. This moves plugin_switches.* from webkit/glue/plugins to webkit/plugins. Review URL: http://codereview.chromium.org/5828003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69424 0039d316-1c4b-4281-b951-d872f2087c98
* Update buildbot sample zip with manifest change bumping version number.asargent@chromium.org2010-12-162-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=kurrik@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69417 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Preparatory patch for using Date objects as keyshans@chromium.org2010-12-162-0/+9
| | | | | | | | | | | | | We're going to add a new type to the WebIDBKey::Type enum on the WebKit side. The build will complain this isn't handled in switch statements, so add a temporary default: case for now. BUG=64060 TEST=none Review URL: http://codereview.chromium.org/5885004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69416 0039d316-1c4b-4281-b951-d872f2087c98
* Some small improvements for buildbot extensionasargent@chromium.org2010-12-166-10/+23
| | | | | | | | | | | | | BUG=none TEST=none Patch from bmcquade@google.com Original codereview: http://codereview.chromium.org/5707010/ Review URL: http://codereview.chromium.org/5953001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69415 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate HostReferralList and StartupDNSPrefetchList from local_state to user ↵mirandac@chromium.org2010-12-162-6/+26
| | | | | | | | | | | | | preferences, in preparation for multi-profile. BUG=66717 TEST=none. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69320 Review URL: http://codereview.chromium.org/5800004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69412 0039d316-1c4b-4281-b951-d872f2087c98
* Rest of the autofill work.lipalani@chromium.org2010-12-164-0/+11
| | | | | | | | | | | Includes 1. change processor. 2. Migrating code. 3. new datatype registration/enabling/disabling from the UI. (It is keyed off of autofill datatype). Review URL: http://codereview.chromium.org/5159001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69382 0039d316-1c4b-4281-b951-d872f2087c98
* Move GUID utils to src/chrome/common.sergeyu@chromium.org2010-12-155-0/+172
| | | | | | | | | BUG=None TEST=compiles,unittests Review URL: http://codereview.chromium.org/5849001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69347 0039d316-1c4b-4281-b951-d872f2087c98
* Create a ResourceMessageFilter to filter resource related IPCs. This gets ↵jam@chromium.org2010-12-152-31/+54
| | | | | | | | rid of the awkward ResourceDispatcherHost::Receiver interface and allows a bunch of cleanup. I've also generalized the filtering done in WorkerProcessHost and moved it to ChildProcessHost (since it's now used to add the ResourceMessageFilter). Review URL: http://codereview.chromium.org/5874002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69335 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69320 - Migrate HostReferralList and StartupDNSPrefetchList from ↵mirandac@chromium.org2010-12-152-26/+6
| | | | | | | | | | | | | | local_state to user preferences, in preparation for multi-profile. BUG=66717 TEST=none. Review URL: http://codereview.chromium.org/5800004 TBR=mirandac@chromium.org Review URL: http://codereview.chromium.org/5921003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69327 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate HostReferralList and StartupDNSPrefetchList from local_state to user ↵mirandac@chromium.org2010-12-152-6/+26
| | | | | | | | | | | preferences, in preparation for multi-profile. BUG=66717 TEST=none. Review URL: http://codereview.chromium.org/5800004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69320 0039d316-1c4b-4281-b951-d872f2087c98
* Add a preference to clear plugin data on browser shutdown.bauerb@chromium.org2010-12-152-0/+6
| | | | | | | | | BUG=58235 TEST=none Review URL: http://codereview.chromium.org/5579002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69315 0039d316-1c4b-4281-b951-d872f2087c98
* Make PepperFileMessageFilter be a BrowserMessageFilter.jam@chromium.org2010-12-156-73/+106
| | | | | | Review URL: http://codereview.chromium.org/5877002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69313 0039d316-1c4b-4281-b951-d872f2087c98
* Update pepper registry of internal plugins.abarth@chromium.org2010-12-152-0/+34
| | | | | | | | | | | | | | | | Added constants for NaCl. Register plugin (only if --enable-nacl) BUG= http://code.google.com/p/nativeclient/issues/detail?id=933 TEST=none Original patch by Noel Allen. Review URL: http://codereview.chromium.org/5848001/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69290 0039d316-1c4b-4281-b951-d872f2087c98
* Add path for NaCl pepper2 based plugin.abarth@chromium.org2010-12-152-0/+13
| | | | | | | | | | | | BUG= http://code.google.com/p/nativeclient/issues/detail?id=933 TEST=none Original patch by Noel Allen. Review URL: http://codereview.chromium.org/5740007/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69285 0039d316-1c4b-4281-b951-d872f2087c98
* Handle download url list and binary hash list in safe browsing. Addedlzheng@chromium.org2010-12-154-2/+7
| | | | | | | | | | a switch to enable this feature on safebrowsing service level. TEST=safe_browsing_database_unittest.cc,safe_browsing_test.cc BUG=60822 Review URL: http://codereview.chromium.org/5209003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69275 0039d316-1c4b-4281-b951-d872f2087c98
* Keep deinlining stuff.erg@google.com2010-12-154-391/+776
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5783004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69273 0039d316-1c4b-4281-b951-d872f2087c98
* Plumbing load progress notifications to the browser.jcivelli@chromium.org2010-12-151-0/+4
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/4694006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69272 0039d316-1c4b-4281-b951-d872f2087c98
* Add a preference to clear Flash LSO data in the Clear Browsing Data dialog.bauerb@chromium.org2010-12-152-0/+6
| | | | | | | | | | | The preference defaults to false, so without UI it should do nothing. BUG=58235 TEST=none Review URL: http://codereview.chromium.org/5278001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69268 0039d316-1c4b-4281-b951-d872f2087c98
* Sitch the about:gpu implementation from an about handler to dom_ui.nduca@chromium.org2010-12-152-0/+10
| | | | | | | | | | | | Generalize tabswitcherview slightly so it doesn't rely on div naming to obtain its styling. BUG=none TEST=none Review URL: http://codereview.chromium.org/5228004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69211 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing icon image to the bookmarks sample extension.tessamac@google.com2010-12-152-0/+0
| | | | | | | | | BUG=62832 TEST=Copied zip to my machine, unzipped, loaded upacked extension. Review URL: http://codereview.chromium.org/5675002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69210 0039d316-1c4b-4281-b951-d872f2087c98
* seccomp: remove build-time flagsevan@chromium.org2010-12-152-12/+4
| | | | | | | | | | | | | | | Adjusting seccomp through the .gyp file is error-prone and confusing. Instead, because all callers call SeccompSandboxEnabled(), if I want to enable it for some build configuration I can adjust just that function. This change removes all the build-time seccomp configuration and leaves it defaulted off. It should have no change on whether seccomp is enabled. Review URL: http://codereview.chromium.org/5844001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69208 0039d316-1c4b-4281-b951-d872f2087c98
* Enable default apps by default.aa@chromium.org2010-12-142-9/+0
| | | | | | | | | | | | | | | | | | | | Also, always show the apps section. We were only hiding it when there was zero elements when we were in our transitionary phase. To make this look less weird when there are actually zero elements, add the webstore element to the miniview and closed menus. BUG=64737 TEST=In a fresh profile, go to chrome://extensions/ -> developer mode, and click 'update now'. Go to NTP. Should see default apps. Remove all default apps. Apps section should remain. Collapse apps section by clicking heading. Should see webstore item in minimized view. Hide apps section by clicking 'x'. Should see webstore item in closed section menu on bottom of page. Review URL: http://codereview.chromium.org/5804005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69180 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ExtensionsService to ExtensionService.tfarina@chromium.org2010-12-144-6/+6
| | | | | | | | | BUG=61409 TEST=trybots Review URL: http://codereview.chromium.org/5730004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69117 0039d316-1c4b-4281-b951-d872f2087c98
* Make members of Singleton<T> private and only visible to the singleton type. ↵satish@chromium.org2010-12-142-8/+11
| | | | | | | | | | | | | | | This enforces that the Singleton<T> pattern can only be used within classes which want singleton-ness. As part of this CL I have also fixed up files which got missed in my previous CLs to use a GetInstance() method and use Singleton<T> from the source file. There are a small number of places where I have also switched to LazyInstance as that was more appropriate for types used in a single source file. BUG=65298 TEST=all existing tests should continue to pass. Review URL: http://codereview.chromium.org/5682008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69107 0039d316-1c4b-4281-b951-d872f2087c98
* Deinline even more destructors.erg@google.com2010-12-141-1/+1
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5794003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69084 0039d316-1c4b-4281-b951-d872f2087c98
* This adds some plumbing for propagating the status and error code of a ↵gspencer@chromium.org2010-12-143-8/+19
| | | | | | | | | | | | | | | | | | | | | renderer process that went away so that we can tell at the UI level what happened to the tab: did it crash, or was it killed by the OOM killer (or some other reason). This is in preparation for implementing a new UI for when a process is killed by the OOM on ChromeOS which handles it differently from a crash. Most of the changes are modifications of the argument list to include a status and error code for the exited process, but in addition the following was done: - Changed the name of DidProcessCrash to GetTerminationStatus. - Added TerminationStatus enum in process_util.h, so it can be used as the status returned by GetTerminationStatus. - Improved process_util_unittest to actually test for crashing and terminated processes on all platforms. - Added a new notification for renderers that were killed. - Added error code information to crash notification. - Added status and error code information to renderer IPC message for RenderViewGone. - Added a UMA histogram count for number of renderer kills. BUG=http://crosbug.com/8505 TEST=ran new unit test. Test passes on try servers. Review URL: http://codereview.chromium.org/5172009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69082 0039d316-1c4b-4281-b951-d872f2087c98
* Fix extension packer command-line code for Mac. Instead of blocking in a ↵andybons@chromium.org2010-12-131-0/+1
| | | | | | | | | | | | | janky way by running the message loop, I added an option to run the extension packer job synchronously. One thing to note as it pertains to the bug report is that the path must be fully qualified. ~/ for home directories doesn't work for me. BUG=65645 TEST=none Review URL: http://codereview.chromium.org/5703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69073 0039d316-1c4b-4281-b951-d872f2087c98
* fix bad mergejam@chromium.org2010-12-131-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69054 0039d316-1c4b-4281-b951-d872f2087c98
* Make IndexedDBDispatcherHost be a message filter and move its messages into ↵jam@chromium.org2010-12-137-804/+832
| | | | | | | | a separate file. Review URL: http://codereview.chromium.org/5680007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69050 0039d316-1c4b-4281-b951-d872f2087c98
* Make DOMStorageDispatcherHost be a message filter (and rename it ↵jam@chromium.org2010-12-137-198/+254
| | | | | | | | accordingly). It now derives from BrowserMessageFilter and hence gets message dispatching to different threads for free. Review URL: http://codereview.chromium.org/5722003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69049 0039d316-1c4b-4281-b951-d872f2087c98
* Even more virtual method deinlining.erg@google.com2010-12-134-4/+10
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5741001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69041 0039d316-1c4b-4281-b951-d872f2087c98
* Make DatabaseDispatcherHost be a message filter so that ↵jam@chromium.org2010-12-136-72/+101
| | | | | | | | ResourceMessageFilter doesn't have to know about it. Review URL: http://codereview.chromium.org/5757002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69031 0039d316-1c4b-4281-b951-d872f2087c98
* Update the links to the store to point at the new URL.aa@chromium.org2010-12-134-2/+4
| | | | | | | | | BUG=65385 TEST=hover over web store links in launcher -- should point to chrome.google.com/webstore, not /extensions. Links should still work. Click linked headings in chrome://extensions/, should go to extension detail page. Review URL: http://codereview.chromium.org/5700006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69011 0039d316-1c4b-4281-b951-d872f2087c98