summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* GTTF: Make test_shell_tests use base/test_suite.hphajdan.jr@chromium.org2010-10-192-53/+60
| | | | | | | | | | | | | This allows us to share more code, and also makes FLAKY_ and FAILS_ prefixes work in test_shell_tests. BUG=none TEST=test_shell_tests Review URL: http://codereview.chromium.org/3843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63025 0039d316-1c4b-4281-b951-d872f2087c98
* Test Shell: implement hasSpellingMarker() to make tests pass.morrita@chromium.org2010-10-192-0/+11
| | | | | | | | | BUG=59645 TEST=editing/spelling/design-mode-spellcheck-off.html Review URL: http://codereview.chromium.org/3814018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63017 0039d316-1c4b-4281-b951-d872f2087c98
* WebFileWriterBase unit testsmichaeln@chromium.org2010-10-193-5/+429
| | | | | | | | | | BUG=none TEST=webfilewriter_base_unittest.cc Review URL: http://codereview.chromium.org/3806009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63007 0039d316-1c4b-4281-b951-d872f2087c98
* Support sync file io for pepper, to support LSOspiman@chromium.org2010-10-195-8/+303
| | | | | | | | | BUG=chromium-os:7492 TEST=run pepper flash (with LSO support) on http://www.bestflashanimationsite.com/tutorials/4/ , check that it properly stores the objects. Review URL: http://codereview.chromium.org/3800010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63003 0039d316-1c4b-4281-b951-d872f2087c98
* Convert LOG(INFO) to VLOG(1) - webkit/.pkasting@chromium.org2010-10-197-35/+33
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3822006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63001 0039d316-1c4b-4281-b951-d872f2087c98
* Expose the loading string through the private api.jam@chromium.org2010-10-182-1/+7
| | | | | | Review URL: http://codereview.chromium.org/3862001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62972 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Monster ctor patch after changing heuristics in clang plugin.erg@google.com2010-10-1811-14/+42
| | | | | | | | | | | (Only 916k this time off Debug Linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3814013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62967 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_nsdisable_screen_update from base to app/macbrettw@chromium.org2010-10-181-6/+7
| | | | | | | | | | | Move scoped_aedesc from base to base/mac Use namespace and proper Google-style class naming. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3828009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62904 0039d316-1c4b-4281-b951-d872f2087c98
* Move BaseDropTarget and BaseDragSource from base to app/win. Remove the ↵brettw@chromium.org2010-10-173-33/+33
| | | | | | | | | | "Base" class name prefix and put in the app::win namespace. TEST=none BUG=none Review URL: http://codereview.chromium.org/3822007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62900 0039d316-1c4b-4281-b951-d872f2087c98
* Move pe_image and registry from base to base/win and use the namespace. It ↵brettw@chromium.org2010-10-172-9/+11
| | | | | | | | | | | | removes windows_message_list which isn't used. This keeps a stub for registry in the old location until we can update that. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3836005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62888 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_cftyperef from base to base/mac, use the new namespace, and name itbrettw@chromium.org2010-10-174-21/+23
| | | | | | | | | | properly (scoped_cftyperef -> ScopedCFTypeRef). TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3855001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62887 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IME for Mac plugins using the Cocoa event model on 10.6stuartmorgan@chromium.org2010-10-153-10/+49
| | | | | | | | | | | | | Based on the implementation of Gecko's Cocoa event model IME handling on 64-bit, but modified to fit Chrome's cross-process event handling. Because NSTextInputContext is 10.6+, 10.5 will need a cempletely different implementation. BUG=30905 TEST=Plugins implementing the updated NPAPI Cocoa IME spec should handle IME on 10.6. Review URL: http://codereview.chromium.org/3808001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62820 0039d316-1c4b-4281-b951-d872f2087c98
* Linux Plugins: Add a debugging statement to help track down bug 59317.thestig@chromium.org2010-10-151-0/+2
| | | | | | | | BUG=59317 TEST=none Review URL: http://codereview.chromium.org/3754008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62783 0039d316-1c4b-4281-b951-d872f2087c98
* Implement cancelling a pepper request.jam@chromium.org2010-10-153-8/+15
| | | | | | Review URL: http://codereview.chromium.org/3828005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62757 0039d316-1c4b-4281-b951-d872f2087c98
* Hide the FileSystem directory under 'unpredictable' location (part 2)kinuko@chromium.org2010-10-154-141/+495
| | | | | | | | | BUG=58361 TEST=FileSystemPathManager.* Review URL: http://codereview.chromium.org/3724001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62698 0039d316-1c4b-4281-b951-d872f2087c98
* Move windows version-related stuff out of base/win_util and into ↵brettw@chromium.org2010-10-152-4/+4
| | | | | | | | | | | | | | base/win/windows_version. Many files now only need to include this instead of all of win_util. Remove a bunch of unused code from base/win_util. There was a surprising amount. Replace the AppUserModel property key with the one from the SDK now that we use the Win7 SDK. Move GetLogonSessionOnlyDACL from win_util to ipc since it's only used in that one place. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62694 0039d316-1c4b-4281-b951-d872f2087c98
* Rename FileUtilProxy::Create to EnsureFileExistskinuko@chromium.org2010-10-152-26/+19
| | | | | | | | | | | | | | | | | | per follow-up discussion on http://codereview.chromium.org/3717001/show Rename FileUtilProxy::Create to EnsureFileExists to make it clear that it doesn't open the file (or doesn't leave a file handle opened). Also fixes CreatePlatformFile to set |created| correctly when PLATFORM_FILE_CREATE flag is given (I think this is the correct behavior). BUG=none TEST=FileSystemOperationTest.* Review URL: http://codereview.chromium.org/3743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62683 0039d316-1c4b-4281-b951-d872f2087c98
* Move iat_patch from base to app/win. Remove the functions from the header sincebrettw@chromium.org2010-10-141-4/+4
| | | | | | | | | | | | they aren't used, and just make them local to the .cc file. Rename the .cc file to iat_patch_function to match the class definition. Put it in the app::win namespace to match the directories. Update callers. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3743006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62678 0039d316-1c4b-4281-b951-d872f2087c98
* Made deriving from Pepper Resource class easier.neb@chromium.org2010-10-141-69/+38
| | | | | | | | | BUG=none TEST=ppapi_tests Review URL: http://codereview.chromium.org/3732002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62673 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: More ctor/dtor cleanup.erg@google.com2010-10-148-25/+88
| | | | | | | | | | | (3.5 megs off debug linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3806005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62654 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ResourceFetcherTests.ResourceFetcherDownload and ResourceFetcherDidFail ↵phajdan.jr@chromium.org2010-10-141-2/+4
| | | | | | | | | | | | | as FLAKY TBR=darin BUG=51622 TEST=test_shell_tests Review URL: http://codereview.chromium.org/3800004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62522 0039d316-1c4b-4281-b951-d872f2087c98
* Move Stats, histograms, and field trial into a metrics subdirectory of base andbrettw@chromium.org2010-10-1416-43/+43
| | | | | | | | | put them in the base namespace. TEST=it compiles BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
* SKIP http/tests/media/video-play-stall-seek.html on Google Chrome/Win.mal@chromium.org2010-10-141-0/+7
| | | | | | | | | | | | | | | This test hangs test_shell on Google Chrome builds. The process cannot be killed and the slave exits without running subsequent test steps. This is preventing us from running tests on official builders. BUG= http://bugs.chromium.org/54465 TEST= Google Chrome test builds from trunk get past webkit_tests. http://goto/chrome-builders?builder=official%20release%20tests Review URL: http://codereview.chromium.org/3809002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62507 0039d316-1c4b-4281-b951-d872f2087c98
* Add a pp_resource include to the two private interfaces, which depend on this.brettw@chromium.org2010-10-142-0/+2
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3769003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62496 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build warnings about bool conversion.brettw@chromium.org2010-10-141-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62493 0039d316-1c4b-4281-b951-d872f2087c98
* Update the audio interface implementation to use the latest Pepper.brettw@chromium.org2010-10-142-30/+60
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3801001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62491 0039d316-1c4b-4281-b951-d872f2087c98
* Add an option ProxyService::Create() to disable use of proxy auto-config.eroman@chromium.org2010-10-141-2/+2
| | | | | | | BUG=40797 Review URL: http://codereview.chromium.org/3646004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62487 0039d316-1c4b-4281-b951-d872f2087c98
* SimpleFileWriter for test_shell and DRT.michaeln@chromium.org2010-10-1411-1/+469
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/3683004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62486 0039d316-1c4b-4281-b951-d872f2087c98
* Add deletable file refs to Blobsmichaeln@chromium.org2010-10-144-51/+84
| | | | | | | | | BUG=52486 TEST=manual Review URL: http://codereview.chromium.org/3582002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62485 0039d316-1c4b-4281-b951-d872f2087c98
* base: Move SplitString functions into the base namespace and update the callers.tfarina@chromium.org2010-10-146-16/+18
| | | | | | | | | BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3750001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62483 0039d316-1c4b-4281-b951-d872f2087c98
* Use CommandUpdater for disabling commands that were disabled by plugins.jam@chromium.org2010-10-133-7/+8
| | | | | | Review URL: http://codereview.chromium.org/3742002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62475 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Further parts of r61237 that should be harmless to chrome_frame.erg@google.com2010-10-136-74/+103
| | | | | | | | | BUG=none TEST=compiles everywhere Review URL: http://codereview.chromium.org/3748004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62473 0039d316-1c4b-4281-b951-d872f2087c98
* [media] inject VDC to decoder.jiesun@google.com2010-10-131-1/+1
| | | | | | | | | | | | | | | | | which VDC to be used should be determined by something outside instead of inside video decoder. 1. whether hardware composition is used( probably always true). 2. whether hardware composition is disabled.(if not, why we keep the skbitmap path). 3. whether a opengl or a opengles VDC is needed, probably only apply to player_x11. 4. the video decoder context are sharing a lot of states with "painter/compositor" (e.g. graphic context). and if we create VDC inside decoder, and there is no current code path to inject this to Renderer, there are also complication of the factories and creating orders. even we add that path, it maybe too late for renderer. while we need to refactor ipc_video_decoder later. BUG=None TEST=Bots Review URL: http://codereview.chromium.org/3534015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62443 0039d316-1c4b-4281-b951-d872f2087c98
* Switch FileSystemOperation::Write back to using FileUtilProxy::CreateOrOpen, ↵ericu@google.com2010-10-131-1/+1
| | | | | | | | | | | which returns a file handle, instead of FileUtilProxy::Create, which doesn't. BUG=59073 TEST=tests are currently disabled until the TestShell implementation goes in, but you can try WebKit/LayoutTests/fast/filesystem/file-writer-gc-blob.html in Chromium with --enable-file-system. Review URL: http://codereview.chromium.org/3758002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62436 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Fix more ctor/dtors found by clang plugin.erg@google.com2010-10-132-1/+3
| | | | | | | | | | | (1.2 megs off of Debug Linux .a files) BUG=none TEST=compiles everywhere Review URL: http://codereview.chromium.org/3743001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62420 0039d316-1c4b-4281-b951-d872f2087c98
* Add Webkit test expectation until Webkit is rolled past r69652apavlov@chromium.org2010-10-131-0/+3
| | | | | | TBR=japhet git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62412 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded using directives. This will fix Canary build break caused by ↵jianli@chromium.org2010-10-121-1/+0
| | | | | | | | | | | | | | removing unneeded files in WebKit API. BUG=none TEST=none TBR=darin Review URL: http://codereview.chromium.org/3727004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62349 0039d316-1c4b-4281-b951-d872f2087c98
* Add a private pepper API for the pdf plugin to disable copy/print etc. This ↵jam@chromium.org2010-10-123-1/+15
| | | | | | | | | is needed because pdf documents might disallow copying/printing and it's confusing to have an enabled menu item which does nothing. BUG=47364 Review URL: http://codereview.chromium.org/3692007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62345 0039d316-1c4b-4281-b951-d872f2087c98
* Compile webkit gpu code in an upstream build too.tony@chromium.org2010-10-121-1/+1
| | | | | | | | | | | | | I had originally disabled this when setting up the upstream webkit.org build. At the time we didn't compile any of src/gpu, but now we do, so it's safe to enable this. If we don't compile this, shared library (.so) builds in a webkit only tree fail to link because of missing symbols. Review URL: http://codereview.chromium.org/3722002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62330 0039d316-1c4b-4281-b951-d872f2087c98
* Fix reference to WebThemeEngine.h on windows.tony@chromium.org2010-10-121-1/+1
| | | | | | | | | | We're moving the file upstream. TBR=davemoore Review URL: http://codereview.chromium.org/3718003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62304 0039d316-1c4b-4281-b951-d872f2087c98
* Re-add test_expectations detected by ajwong@ and removed during the Webkit ↵apavlov@chromium.org2010-10-121-0/+2
| | | | | | | | roll to r69577 (pass on canaries) TBR=japhet@ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62290 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit roll 69511:69577apavlov@chromium.org2010-10-121-2/+0
| | | | | | | | | BUG=none TEST=green bots Review URL: http://codereview.chromium.org/3701009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62281 0039d316-1c4b-4281-b951-d872f2087c98
* Take out bogus DCHECKgspencer@chromium.org2010-10-121-1/+0
| | | | | | | | | | | This DCHECK is valid only within the browser itself -- it doesn't work for tests, etc, which have different default plugins. BUG=none TEST=ran test_shell_tests and test_shell TBR=piman@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62267 0039d316-1c4b-4281-b951-d872f2087c98
* This makes it so we only add the default plugin if it's enabled.gspencer@chromium.org2010-10-121-2/+3
| | | | | | | | | BUG=none TEST=ran test_shell_tests on linux Review URL: http://codereview.chromium.org/3707005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62265 0039d316-1c4b-4281-b951-d872f2087c98
* This changes GetPluginInfo so that we can request a list of plugins that ↵gspencer@chromium.org2010-10-124-98/+115
| | | | | | | | | | | | | match the criterion (mime type/url) instead of just the first one that matches. This is in preparation for implementing a way for us to switch which flash plugin we select based on a whitelist of domains. BUG=http://crosbug.com/7403 TEST=ran chrome unit_tests, ran chromeos version of chrome, passed trybots. Review URL: http://codereview.chromium.org/3530017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62261 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor out path-related methods from file_system_host_context into a ↵kinuko@chromium.org2010-10-125-0/+495
| | | | | | | | | | | | | | | | separated module. No functionality changes; code relocation/cleanup only. This change is necessary to improve test coverage for another coming change (hide the FileSystem's root directory under 'unpredictrable' location). BUG=none TEST=FileSystemPathManager.* Review URL: http://codereview.chromium.org/3703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62259 0039d316-1c4b-4281-b951-d872f2087c98
* FileWriter: Defend against being deleted in the FileWriterDelegate ↵michaeln@chromium.org2010-10-121-4/+5
| | | | | | | | | | | completion callback. BUG=none TEST=none Review URL: http://codereview.chromium.org/3690003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62231 0039d316-1c4b-4281-b951-d872f2087c98
* Remove GetSelectedText from Instance interface.jam@chromium.org2010-10-122-15/+33
| | | | | | | BUG=57492 Review URL: http://codereview.chromium.org/3673005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62218 0039d316-1c4b-4281-b951-d872f2087c98
* Add private pepper API to keep the throbber spinning while PDFs are loading.jam@chromium.org2010-10-123-1/+31
| | | | | | | BUG=58795 Review URL: http://codereview.chromium.org/3685003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62217 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure we close the file_handle when we create (but not open) a new filekinuko@chromium.org2010-10-111-2/+2
| | | | | | | | | | | | 1. Add FileUtilProxy::Create that does not leave a file_handle opened. 2. Update the file_util_operation to use FileUtilProxy::Create instead of FileUtilProxy::CreateOrOpen so that no other tasks get queued in before we close the handle. BUG=58424,58473 TEST=fast/filesystem/ Review URL: http://codereview.chromium.org/3717001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62192 0039d316-1c4b-4281-b951-d872f2087c98