summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Bugfixes for recent PluginGroup refactoring.jkummerow@chromium.org2010-12-216-33/+78
| | | | | | | | | BUG=66505 TEST=test_shell_tests: PluginGroupTest.*; manual: check that issues reported and screenshotted in bug 66505 no longer occur Review URL: http://codereview.chromium.org/5918003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69813 0039d316-1c4b-4281-b951-d872f2087c98
* Modify inclusion to use system icu headers when -Duse_system_icu=1phajdan.jr@chromium.org2010-12-211-1/+1
| | | | | | | | | | | | | | | | | | | The gyp definition should take care of the default case -Duse_system_icu=0 by prepending third_party/icu/public/i18n to the inclusion search path. See downstream gentoo bug report: http://bugs.gentoo.org/show_bug.cgi?id=348944 Contributed by Mike Gilbert <floppymaster@gmail.com>. BUG=none TEST=Remove third_party/icu/public/i18n/unicode/usearch.h and build with -Duse_system_icu=1. Review URL: http://codereview.chromium.org/6078001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69811 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land earlier patch that moves the NPAPI implementation from ↵brettw@chromium.org2010-12-21150-1900/+1651
| | | | | | webkit/glue/plugins to webkit/plugins/npapi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69808 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 74383:74387.tonyg@chromium.org2010-12-211-0/+4
| | | | | | | | | | BUG=None TEST=None TBR=yurys Review URL: http://codereview.chromium.org/6059005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69805 0039d316-1c4b-4281-b951-d872f2087c98
* A build fix for the "WebKit Mac (valgrind)" bot.hbono@chromium.org2010-12-211-2/+2
| | | | | | | | | | | This change just moves the CallbackRunInfo class (used from CallbackShutdownTest) out of the anonymous namespace. I'm not sure why this build break only happens on this bot, though. TBR=viettrungluu BUG=none TEST=fix build on the "WebKit Mac (valgrind)" bot Review URL: http://codereview.chromium.org/6000004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69803 0039d316-1c4b-4281-b951-d872f2087c98
* (Re-landing http://codereview.chromium.org/5991003 after Chromium OSkbr@chromium.org2010-12-211-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | build fix to browser_render_process_host.cc) Added group policy for disabling all client-side 3D APIs in Chromium (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/6045003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69791 0039d316-1c4b-4281-b951-d872f2087c98
* Add base:: prefix to the calls to StringAppendV.tfarina@chromium.org2010-12-211-1/+2
| | | | | | | | | BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6055003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69785 0039d316-1c4b-4281-b951-d872f2087c98
* Properly cancel PPAPI callbacks.viettrungluu@chromium.org2010-12-2116-28/+678
| | | | | | | | | | | This sets up infrastructure to properly cancel PPAPI callbacks (which have particular semantics), and converts a couple things to use them. BUG= TEST=test_shell_tests and PPAPI tests Review URL: http://codereview.chromium.org/5562008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69773 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi"chase@chromium.org2010-12-21142-1653/+1365
| | | | | | | | | | | | Manually reverting r69755, which broke the tree. BUG=none TEST=none TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/5998002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Erase the old NPAPI Pepper (Pepper 1) test plugin."chase@chromium.org2010-12-219-0/+535
| | | | | | | | | | | | | | Manually reverting r69762, which broke the tree. This replays r69765, except also adds npapi_pepper_test_plugin back. BUG=none TEST=none TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/6078002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69770 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 69762 - Erase the old NPAPI Pepper (Pepper 1) test plugin."chase@chromium.org2010-12-201-70/+0
| | | | | | | | | | | | | Manually reverting r69765, which was itself a failed revert of r69762. BUG=none TEST=none TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/6028004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69769 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 69755 - Move the NPAPI files from webkit/glue/plugins to ↵chase@chromium.org2010-12-2064-415/+697
| | | | | | | | | | | | | | | webkit/plugins/npapi" Manually reverting r69766, which was itself a failed revert of r69755. BUG=none TEST=none TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/5996003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69768 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69755 - Move the NPAPI files from webkit/glue/plugins to ↵brettw@chromium.org2010-12-2064-697/+415
| | | | | | | | | | | | | | | webkit/plugins/npapi and put them in the webkit::npapi namespace. BUG=none TEST=none Review URL: http://codereview.chromium.org/6012002 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/5961004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69766 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69762 - Erase the old NPAPI Pepper (Pepper 1) test plugin. I broke ↵brettw@chromium.org2010-12-201-0/+70
| | | | | | | | | | | | | | | the compile with my previous migration and it's not worth fixing. TEST=none BUG=none Review URL: http://codereview.chromium.org/5968003 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/6070004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69765 0039d316-1c4b-4281-b951-d872f2087c98
* Erase the old NPAPI Pepper (Pepper 1) test plugin. I broke the compile withbrettw@chromium.org2010-12-209-535/+0
| | | | | | | | | | my previous migration and it's not worth fixing. TEST=none BUG=none Review URL: http://codereview.chromium.org/5968003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69762 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69753 - Added group policy for disabling all client-side 3D APIs in ↵chase@chromium.org2010-12-201-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Chromium (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 TBR=kbr@chromium.org Review URL: http://codereview.chromium.org/6027004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69759 0039d316-1c4b-4281-b951-d872f2087c98
* Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and putbrettw@chromium.org2010-12-20142-1365/+1653
| | | | | | | | | | 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-201-4/+7
| | | | | | | | | | | | | | | | | | | | | (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
* Rename ATTR_LINK_TARGET to ATTR_URL and assign it within ↵ctguil@chromium.org2010-12-202-1/+3
| | | | | | | | webaccessibility.BUG=noneTEST=none Review URL: http://codereview.chromium.org/5698002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69751 0039d316-1c4b-4281-b951-d872f2087c98
* Add pepper::URLRequestInfo unit tests to test_shell_testsbbudge@google.com2010-12-202-1/+250
| | | | | | | | BUG=NONE TESTS=this Review URL: http://codereview.chromium.org/5909004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69736 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce local overrides on my way to figuring out what's uppkasting@chromium.org2010-12-201-2/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5994003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69724 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a failing test.thakis@chromium.org2010-12-191-0/+1
| | | | | | TBR=tonyg@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69666 0039d316-1c4b-4281-b951-d872f2087c98
* Try to get webkit tests green by letting DRT load CrApplication early.thakis@chromium.org2010-12-194-0/+39
| | | | | | | | | | | | This mirrors the change I made to test_shell in r69615 BUG=46929 TEST=webkit tests on waterfall are green TBR=tony^work Review URL: http://codereview.chromium.org/5987003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69664 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebKitTools->Tools.tonyg@chromium.org2010-12-1812-20/+16
| | | | | | | | | | BUG=None TEST=None TBR=yurys Review URL: http://codereview.chromium.org/6015002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69627 0039d316-1c4b-4281-b951-d872f2087c98
* Remove CrApplication dependency from basethakis@chromium.org2010-12-181-3/+25
| | | | | | | | | | | | | | | | | 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
* Restrict HTTP headers by checking in URLRequestInfo::SetProperty.bbudge@google.com2010-12-171-15/+47
| | | | | | | | BUG=47354 TEST=none Review URL: http://codereview.chromium.org/5138010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69590 0039d316-1c4b-4281-b951-d872f2087c98
* By zero, I mean falseabarth@chromium.org2010-12-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69585 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix Arm buildabarth@chromium.org2010-12-171-0/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69584 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed PPB_NaClUtil to PPB_NaCl as requested by brettw.abarth@chromium.org2010-12-175-32/+32
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69580 0039d316-1c4b-4281-b951-d872f2087c98
* Add LaunchSelLdr and UrandomFD to PPAPIabarth@chromium.org2010-12-171-1/+15
| | | | | | | | | LaunchSelLdr just calls through to the webkit_glue backend, which calls through a bunch more layers of abstraction for us. UrandomFD returns the file descriptor of /dev/urandom (on Posix), which NaCl uses for some purpose by can't get directly because of the sandbox. Review URL: http://codereview.chromium.org/6023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69578 0039d316-1c4b-4281-b951-d872f2087c98
* Add stub PPAPI for launching NaCl's sel_ldr process.abarth@chromium.org2010-12-174-0/+57
| | | | | | | | | | | | | | | | | | | | | | | In ArcticSea, we're going to load the NaCl plugin in the render process. The NaCl plugin needs to create a sel_ldr process to host the NEXE, but when the plugin lives inside the render process, the plugin is sandboxed, so it can't create a process. This API instructs the browser to launch a sel_ldr process and wire up a bunch of IMC channels between the plugin and the new process. In reality, the sel_ldr process is just chrome.exe run with a command line flag that causes it to call NaClMain instead of BrowserMain or RendererMain. Previously, NaCl accomplished this task by smuggling a function pointer (cast as an int) from render_process_impl to the NPAPI NaCl plugin. Rather than use the same approach again, we're creating a legit way for the PPAPI plugin to ask the browser to spawn the sel_ldr process. In BalticSea, we'll likely run the NaCl plugin out-of-process (e.g., in a PPAPI process). In that case, the plugin can just host the NEXE internally, and we'll be able to remove this interface. Review URL: http://codereview.chromium.org/5897004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69568 0039d316-1c4b-4281-b951-d872f2087c98
* Add a webkit_glue API for lanching NaCl's sel_ldr. NaCl will call this API viaabarth@chromium.org2010-12-172-1/+12
| | | | | | | | Pepper. This API is based on an existing piece of code used by NaCl's NPAPI plugin, which will be removed once we get the Pepper plugin off the ground. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69567 0039d316-1c4b-4281-b951-d872f2087c98
* moving mocks into webkit/mocks/annacc@chromium.org2010-12-177-17/+17
| | | | | | | | | | | The number of mock_... files in webkit/glue is piling up and it makes more sense for them to live in a brand new mocks/ directory. BUG=None. TEST=Compiles. Review URL: http://codereview.chromium.org/5878006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69562 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit to r74255yurys@chromium.org2010-12-171-2/+0
| | | | | | | | | | BUG=None TEST=None TBR=tonyg Review URL: http://codereview.chromium.org/6003001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69543 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily add custom expectations for extensions-headers.htmlyurys@chromium.org2010-12-171-1/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/5999001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69542 0039d316-1c4b-4281-b951-d872f2087c98
* Remove temporary test expectation for fast/regex/pcre-test-1.html,ricow@chromium.org2010-12-171-2/+0
| | | | | | | | this has been upstreamed to webkit. Review URL: http://codereview.chromium.org/5980002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69527 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69511 - Make Graphics3D::SwapBuffers take a completion callbackpiman@google.com2010-12-173-48/+9
| | | | | | | | | | | | BUG=none TEST=with pepper flash, rate control works Review URL: http://codereview.chromium.org/5944001 TBR=piman@google.com Review URL: http://codereview.chromium.org/5835007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69512 0039d316-1c4b-4281-b951-d872f2087c98
* Make Graphics3D::SwapBuffers take a completion callbackpiman@google.com2010-12-173-9/+48
| | | | | | | | | BUG=none TEST=with pepper flash, rate control works Review URL: http://codereview.chromium.org/5944001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69511 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69490 - base/version: remove wstring versionsanjeevr@chromium.org2010-12-171-2/+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/+2
| | | | | | | | | | | 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
* WebKit roll 74194:74213jianli@chromium.org2010-12-171-14/+0
| | | | | | | | | TBR=yurys BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69489 0039d316-1c4b-4281-b951-d872f2087c98
* Almost done deinlining virtual methods.erg@google.com2010-12-165-6/+35
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5841002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69470 0039d316-1c4b-4281-b951-d872f2087c98
* (Committing on behalf of Chris Rogers -- original CL ↵kbr@google.com2010-12-165-0/+112
| | | | | | | | | | | | | | | http://codereview.chromium.org/5550006/ ) Implement WebKitClientImpl::loadAudioResource() to decode in-memory audio file data for use by WebKit. Most of the interesting low-level code is being added in the media directory. BUG=NONE TEST=NONE (tested locally with web audio API loading files of format .wav .aif .mp3 .m4a 16bit 24bit In the longer term, WebKit layout tests will comprehensively exercise this code) Review URL: http://codereview.chromium.org/5880002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69458 0039d316-1c4b-4281-b951-d872f2087c98
* Update latest secure version for Quicktime (7.6.9 for windows only) and ↵panayiotis@google.com2010-12-161-6/+7
| | | | | | | | | | | RealPlayer (12.0.1.609) BUG=67106 TEST=unit_tests Review URL: http://codereview.chromium.org/5906003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69456 0039d316-1c4b-4281-b951-d872f2087c98
* View source uses scroll position of original page.pfeldman@chromium.org2010-12-162-7/+35
| | | | | | | | BUG=67094 Review URL: http://codereview.chromium.org/5914004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69446 0039d316-1c4b-4281-b951-d872f2087c98
* Separate BufferedDataSource and BufferedResourceLoader into two files.annacc@chromium.org2010-12-1616-1570/+1345
| | | | | | | | | | | | | | | It's time to finally separate the huge monster files buffered_data_source.[h/cc] into two. ericroman: There are some variables and short methods that both BufferedDataSource and BufferedResourceLoader rely on and that I have moved to src/net/http/http_util.h. Could you please verify that this is an ok place to put them? Also, appcache issues have been resolved (and approved by michaeln) so I've removed those comments. BUG=None. TEST=Compiles. Review URL: http://codereview.chromium.org/5756004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69429 0039d316-1c4b-4281-b951-d872f2087c98
* Move the Pepper implementation from webkit/glue/plugins/pepper_* tobrettw@chromium.org2010-12-1699-2628/+3097
| | | | | | | | | | | 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
* Cache certificate verification results in memory.wtc@google.com2010-12-161-3/+6
| | | | | | | | | R=agl BUG=63357 TEST=none Review URL: http://codereview.chromium.org/5386001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69414 0039d316-1c4b-4281-b951-d872f2087c98
* Add some local test_expectations.txt overrides for media tests due to r69490.scherkus@chromium.org2010-12-161-0/+7
| | | | | | | BUG=42895,61260 TEST=webkit bots go green git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69411 0039d316-1c4b-4281-b951-d872f2087c98
* Add audio/wav and audio/x-wav to TestShellWebMimeRegistryImpl.scherkus@chromium.org2010-12-161-1/+6
| | | | | | | | | | | We were unintentionally failing media/media-can-play-wav-audio.html and media/media-document-audio-size.html. BUG=42895,61260 TEST=media layout tests Review URL: http://codereview.chromium.org/5899003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69409 0039d316-1c4b-4281-b951-d872f2087c98