summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Build fix: provide dummy implementation of abstract method.varunjain@chromium.org2011-04-082-0/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6813051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80973 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled actual transfer size in chromiumvsevik@chromium.org2011-04-0815-98/+148
| | | | | | | | | BUG=40502 TEST=Open DevTools, open site having gzip/chunked encoding, ensure transfer size is correct. Review URL: http://codereview.chromium.org/6771043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80965 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate skia::PlatformCanvas, a subclass of SkCanvas. Skia provides ↵alokp@chromium.org2011-04-0810-49/+48
| | | | | | | | | | | | | | | | multiple types of SkCanvas classes that we would like to use. Unfortunately these classes are implemented as subclasses of SkCanvas. Subclassing SkCanvas in both Skia and Chromium makes it impossible to dynamically use any SkCanvas. There is also no reason for chromium to subclass SkCanvas. Most of the extra functionalities can be implemented by hanging meta-data from SkCanvas. We cannot eliminate skia::PlatformCanvas in one step due to WebKit's dependency on skia::PlatformCanvas. WebKit::WebCanvas is typedef as skia::PlatformDevice. It should be SkCanvas. So we need to do it in multiple steps: 1. Prepare Chromium tree for the change in WebKit::WebCanvas tyepdef. This basically means adding a couple of static_cast<skia::PlatformCanvas>(WebCanvas). 2. Change WebKit::WebCanvas typedef from skia::PlatformCanvas to SkCanvas 3. Eliminate skia::PlatformCanvas in chromium This CL accomplishes the first step on windows. WebKit BUG=https://bugs.webkit.org/show_bug.cgi?id=57563 Review URL: http://codereview.chromium.org/6783023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80955 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a couple of layout tests before V8 change is rolledyurys@chromium.org2011-04-081-0/+5
| | | | | | | | | | Two tests have custom expectations until V8 change fixing stack overflow reporting is rolled. TBR=antonm BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80929 0039d316-1c4b-4281-b951-d872f2087c98
* Expose scancodes to PP_InputEvent_Key events that are independent of the ↵wez@chromium.org2011-04-084-0/+158
| | | | | | | | | | | | | input language/layout in effect, i.e. that represent the physical key pressed, independent of its meaning in the current context. This will inherently rely on the nativeKeyCode field of Chrome's WebKeyboardEvents. BUG= TEST= Review URL: http://codereview.chromium.org/6691066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80918 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 83268:83274tkent@chromium.org2011-04-081-0/+4
| | | | | | | | | TBR=jianli, abarth TEST=none BUG=none Review URL: http://codereview.chromium.org/6810042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80917 0039d316-1c4b-4281-b951-d872f2087c98
* Remove identity from dragTargetDragEnter() call sites.noel.gordon@gmail.com2011-04-081-2/+2
| | | | | | | | | | | | Chromium patch to update call sites to use the new function signature added in https://bugs.webkit.org/show_bug.cgi?id=56875 BUG=77736 TEST=none Review URL: http://codereview.chromium.org/6772001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80907 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 83262:83268tkent@chromium.org2011-04-081-12/+0
| | | | | | | | | TBR=abarth,jianli TEST=none BUG=none Review URL: http://codereview.chromium.org/6811041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80906 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 83210:83262tkent@chromium.org2011-04-081-0/+8
| | | | | | | | | TBR=abarth,jianli BUG=none TEST=none Review URL: http://codereview.chromium.org/6810040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80903 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded v8 lockers from idb_bindings.cc.aa@chromium.org2011-04-081-3/+0
| | | | | | | | | | | | | | | | Since this code is pulled into webkit_unit_tests, it is making us need lockers there too, which stinks. I don't see any reason for these to exist. My speculation is that this code used to run in the browser process and was needed at that time. BUG= TEST= Review URL: http://codereview.chromium.org/6812038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80895 0039d316-1c4b-4281-b951-d872f2087c98
* Fix endianness issue in MockWebClipboardImpl PNG encoding.dcheng@chromium.org2011-04-081-1/+2
| | | | | | | | | | | Byte order on x86 Mac is BGRA as well, not RGBA. BUG=none TEST=Ran local layout tests which haven't been committed to WebKit yet. Review URL: http://codereview.chromium.org/6816040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80890 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang build error.dcheng@chromium.org2011-04-072-0/+9
| | | | | | | | | | | | The new WebImage member made clang consider MockWebClipboardImpl a complex class, so explicitly define a ctor/dtor in the .cc. BUG=none TEST=Compiles on clang. Review URL: http://codereview.chromium.org/6812034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80864 0039d316-1c4b-4281-b951-d872f2087c98
* Added PPB_BrokerTrusted interface and a basic Chrome implementation of it.ddorwin@chromium.org2011-04-079-4/+230
| | | | | | | | | | | The broker is not launched or connected yet. BUG=none TEST=none Review URL: http://codereview.chromium.org/6677178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80858 0039d316-1c4b-4281-b951-d872f2087c98
* Implement mock Clipboard::readImage() for WebKit layout tests.dcheng@chromium.org2011-04-072-4/+53
| | | | | | | | | BUG=75237 TEST=none Review URL: http://codereview.chromium.org/6691043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80852 0039d316-1c4b-4281-b951-d872f2087c98
* Make the windows_version.h functions threadsafe by using a singleton. Add ↵pkasting@chromium.org2011-04-072-11/+8
| | | | | | | | | | | | accessors to the singleton for more values that various code wants, then convert almost everyone using OSVERSIONINFO or SYSTEM_INFO structs to calling these accessors. Declare an AtExitManager in the out-of-process test runner since it didn't have one and that breaks singleton-using code in the test executable (as opposed to in chrome.dll). A few other minor cleanups along the way (binding of "*", shorter code, etc.). Because I ran into problems with it while modifying gcapi.cc, I cleaned up our usage of strsafe.h a bit, so that files that don't need it don't include it and files that do use STRSAFE_NO_DEPRECATE instead of a modified #include order. BUG=none TEST=none Review URL: http://codereview.chromium.org/6816027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80851 0039d316-1c4b-4281-b951-d872f2087c98
* Step 2 in refactoring NativeThemeWinrogerta@chromium.org2011-04-071-31/+31
| | | | | | | | | | | | | | Making the linux and chromeos native theme classes derive from the new base class added earlier. BUG=None TEST=None R=xiyuan@chromium.org Review URL: http://codereview.chromium.org/6803022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80850 0039d316-1c4b-4281-b951-d872f2087c98
* Temorary suppress two tests.antonm@chromium.org2011-04-071-0/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80839 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80833 - More filesystem cleanup: convert URL-encoded-as-FilePath to ↵ericu@google.com2011-04-0722-284/+418
| | | | | | | | | actual URL, wherepossible without WebKit API changes. The WebKit changes will happen in anotherCL.BUG=noneTEST=noneReview URL: http://codereview.chromium.org/6767010 TBR=ericu@google.com Review URL: http://codereview.chromium.org/6813025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80835 0039d316-1c4b-4281-b951-d872f2087c98
* More filesystem cleanup: convert URL-encoded-as-FilePath to actual URL, whereericu@google.com2011-04-0722-418/+284
| | | | | | | | | | | possible without WebKit API changes. The WebKit changes will happen in another CL. BUG=none TEST=none Review URL: http://codereview.chromium.org/6767010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80833 0039d316-1c4b-4281-b951-d872f2087c98
* Added and partially implemented entry points for PPB_GRAPHICS_3D.alokp@chromium.org2011-04-072-5/+83
| | | | | | Review URL: http://codereview.chromium.org/6814023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80830 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80819 due to failed testsmmenke@chromium.org2011-04-072-8/+11
| | | | | | | TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/6816024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80824 0039d316-1c4b-4281-b951-d872f2087c98
* Added a command-line flag to enable h/w accelerated rendering of content layers.alokp@chromium.org2011-04-072-0/+5
| | | | | | | R=tony@chromium.org,darin@chromium.org Review URL: http://codereview.chromium.org/6726005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80822 0039d316-1c4b-4281-b951-d872f2087c98
* Make the windows_version.h functions threadsafe by using a singleton. Add ↵pkasting@chromium.org2011-04-072-11/+8
| | | | | | | | | | | | accessors to the singleton for more values that various code wants, then convert almost everyone using OSVERSIONINFO or SYSTEM_INFO structs to calling these accessors. Declare an AtExitManager in the out-of-process test runner since it didn't have one and that breaks singleton-using code in the test executable (as opposed to in chrome.dll). A few other minor cleanups along the way (binding of "*", shorter code, etc.). Because I ran into problems with it while modifying gcapi.cc, I cleaned up our usage of strsafe.h a bit, so that files that don't need it don't include it and files that do use STRSAFE_NO_DEPRECATE instead of a modified #include order. BUG=none TEST=none Review URL: http://codereview.chromium.org/6713107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80819 0039d316-1c4b-4281-b951-d872f2087c98
* Leak the resource tracker and any resources still around at shutdown. Thebrettw@chromium.org2011-04-072-10/+24
| | | | | | | | | | reasoning is described in the comment above the global_tracker_ member. TEST=manual BUG=none Review URL: http://codereview.chromium.org/6804031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80782 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang build.pfeldman@chromium.org2011-04-073-3/+5
| | | | | | TBR=vsevik git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80774 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 83160:83167.pfeldman@chromium.org2011-04-0715-100/+24
| | | | | | TBR=tkent git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80766 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unittest for FileSystemOperation::Write().dmikurube@chromium.org2011-04-072-2/+253
| | | | | | | | | | BUG=none TEST=FileSystemOperationTest.TestWrite Review URL: http://codereview.chromium.org/6770004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80735 0039d316-1c4b-4281-b951-d872f2087c98
* P2P Transport implementation.sergeyu@chromium.org2011-04-061-10/+15
| | | | | | | | | TEST=Unittests. BUG=None Review URL: http://codereview.chromium.org/6791023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80717 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a few styles issues in skia::PlatformDevice. Made function names ↵alokp@chromium.org2011-04-061-9/+9
| | | | | | | | consistent. Added Begin/EndPlatformPaint on Mac. Review URL: http://codereview.chromium.org/6691067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80707 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed network data for data url resourcesvsevik@chromium.org2011-04-061-0/+1
| | | | | | | | | | | BUG=69810 TEST=Open DevTools, open site having data url resource, observe small time/latency values (e.g. 2ms). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80607 Review URL: http://codereview.chromium.org/6693095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80699 0039d316-1c4b-4281-b951-d872f2087c98
* Removed bytes_received from ResourceDevToolsInfo since it is only used in ↵vsevik@chromium.org2011-04-062-3/+1
| | | | | | | | | | | | | devtools_netlog_observer.cc and belongs there. Meanwhile renamed it to raw_data_length. BUG=40502 TEST=None Review URL: http://codereview.chromium.org/6804016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80697 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skiabsalomon@google.com2011-04-065-2/+146
| | | | | | | Setup pointers to cmd buffer GLES2 interface in Ganesh Review URL: http://codereview.chromium.org/6691042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80642 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing PPB_Graphics2D::Describebrettw@chromium.org2011-04-062-1/+3
| | | | | | | | | BUG= http://code.google.com/p/chromium/issues/detail?id=78074 TEST= ppapi/tests/test_case.html?testcase=Graphics2D Patch by Sang Ahn Original Review http://codereview.chromium.org/6728034/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80638 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fixed network data for data uri resources"vsevik@chromium.org2011-04-061-17/+15
| | | | | | TBR=pfeldman@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80621 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed network data for data url resourcesvsevik@chromium.org2011-04-061-15/+17
| | | | | | | | | BUG=69810 TEST=Open DevTools, open site having data url resource, observe small time/latency values (e.g. 2ms). Review URL: http://codereview.chromium.org/6693095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80607 0039d316-1c4b-4281-b951-d872f2087c98
* Update list of chromium webkit builders in canary-webkit-revisions.py.ojan@chromium.org2011-04-061-0/+11
| | | | | | | Submitted on behalf of kalman@chromium.org. http://codereview.chromium.org/6801003/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80582 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80567 - P2P Transport implementation.TEST=Unittests.BUG=NoneReview ↵sergeyu@chromium.org2011-04-061-15/+10
| | | | | | | | | URL: http://codereview.chromium.org/6791023 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/6799003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80571 0039d316-1c4b-4281-b951-d872f2087c98
* P2P Transport implementation.sergeyu@chromium.org2011-04-061-10/+15
| | | | | | | | | TEST=Unittests. BUG=None Review URL: http://codereview.chromium.org/6791023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80567 0039d316-1c4b-4281-b951-d872f2087c98
* rename getBitmapDC to beginPlatformPaint and add calls to endPlatformPaintvandebo@chromium.org2011-04-052-10/+7
| | | | | | | | | | | This takes a step toward unifying the platform device interface between Windows and Linux and helps to make VectorPlatformDeviceSkia have less ifdefs. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6677142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80474 0039d316-1c4b-4281-b951-d872f2087c98
* Implementing preload=metadata for videovrk@google.com2011-04-059-149/+229
| | | | | | | | | | | | | This patch implements the logic necessary to respect the preload attribute when it is set to MetaData. This also refactors the BufferedResourceLoader to determine its buffering techniques based on a DeferStrategy value. BUG=16482,76555 TEST=media/video-preload.html, test_shell_tests Review URL: http://codereview.chromium.org/6625059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80465 0039d316-1c4b-4281-b951-d872f2087c98
* Use lock-free lazy initialization for static histogram referencesjar@chromium.org2011-04-051-6/+4
| | | | | | | | | | | | | | | | Make all histogram macros thread safe, and fast by again using statics to achieve performance. ...at the cost of: Leak all histograms to avoid races at shutdown. Also included leak suppression for valgrind. r=rtenneti BUG=78207 Review URL: http://codereview.chromium.org/6780035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80412 0039d316-1c4b-4281-b951-d872f2087c98
* Rename some printing classes and minor cleanups.vandebo@chromium.org2011-04-041-5/+5
| | | | | | | | | | | | | | | | Rename: PdfPsMetafile -> PdfMetafileCairo PdfMetafile -> PdfMetafileCg (Mac) VectorPlatformDevice -> VectorPlatformDeviceEmf/Cairo (Windows/Linux varients) This is in preparation for VectorPlatformDeviceSkia. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6783036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80390 0039d316-1c4b-4281-b951-d872f2087c98
* Remove assertion when destroying a plugin that doesn't exist. The DidDestroybrettw@chromium.org2011-04-042-13/+20
| | | | | | | | | | | | function will always be called, so the proxy should always add it regardless of the initialization status. I also did some clarification of the Destroy path. BUG=78112 Review URL: http://codereview.chromium.org/6706025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80336 0039d316-1c4b-4281-b951-d872f2087c98
* Use ResourceBundle for NativeThemeLinux/Chromeos resource images.xiyuan@chromium.org2011-04-043-55/+14
| | | | | | | | | | | | | | | - Clean up gfx NativeThemeLinux/Chromeos code to use ResourceBundle. This should also fix valgrind failures in issue 77712 and 77721. - Remove no longer needed gfx_module and gfx_resource_provider files. - Update linux/chromeos test_shell and DumpRenderTree to use ResourceBundle as well. BUG=77712,77721 TEST=Build should pass and valgrind failure in issue 77712 and 77721 should be gone. Review URL: http://codereview.chromium.org/6773021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80319 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to WebDatabaseObserverImpl and SimpleDatabaseSystem required to have ↵michaeln@google.com2011-04-016-123/+377
| | | | | | | | | | a chance of working properly with v8 isolates. With isolates the database related interfaces will be called on multiple threads and the previous impl was not put together with that in mind. BUG=none TEST=existing tests pass (no way to test with isolates yet) Review URL: http://codereview.chromium.org/6677088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80218 0039d316-1c4b-4281-b951-d872f2087c98
* Fix deadlock during player shutdown when a Seek() and an Abort() are racing.fischman@chromium.org2011-04-011-13/+7
| | | | | | | | | BUG=74031 TEST=trybots, repro site from bug report, and a layouttest which I probably won't be able to submit since it requires a large (14MB) video file to repro, and webkit's bugzilla assplodes on patches over 10MB. Review URL: http://codereview.chromium.org/6690065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80163 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete entry from test_expectations.txtabarth@chromium.org2011-04-011-2/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80125 0039d316-1c4b-4281-b951-d872f2087c98
* Skip test in advance of rollabarth@chromium.org2011-04-011-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80122 0039d316-1c4b-4281-b951-d872f2087c98
* Update Silverlight v3 version metadata.cevans@chromium.org2011-03-311-14/+11
| | | | | | | BUG=78005 Review URL: http://codereview.chromium.org/6783010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80103 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetPluginURL to PPB_URLUtil_Devpiman@google.com2011-03-314-1/+26
| | | | | | | | | BUG=chromium-os:13693 TEST=http://www.ford.com/cars/taurus/ with pepper flash Review URL: http://codereview.chromium.org/6740013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80085 0039d316-1c4b-4281-b951-d872f2087c98