summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Don't load plugins on the UI thread for pref and group policy disabling.jam@chromium.org2010-10-026-10/+953
| | | | | | | BUG=57425 Review URL: http://codereview.chromium.org/3584007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61271 0039d316-1c4b-4281-b951-d872f2087c98
* When handling a redirect, set the downloadToFile attribute of the newRequest ↵michaeln@chromium.org2010-10-021-0/+1
| | | | | | | | | | that is given to the client. Review URL: http://codereview.chromium.org/3606004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61262 0039d316-1c4b-4281-b951-d872f2087c98
* Export webkit and v8 direct_dependent_settings for targets that depend on ↵victorw@chromium.org2010-10-011-0/+4
| | | | | | | | | | | | | glue for chromium multi-dll build. This should fix the multi-dll build break from http://trac.webkit.org/changeset/68869 R=darin, jam BUG=none TEST=multi-dll builda ok Review URL: http://codereview.chromium.org/3610003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61251 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of ZOOM_LEVEL_IS_DOUBLE code since WebKit is rolled.jam@chromium.org2010-10-012-11/+1
| | | | | | Review URL: http://codereview.chromium.org/3575009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61244 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."erg@google.com2010-10-014-63/+49
| | | | | | | | | | | This reverts commit 27ea47d65cf8767f350113d5ad9e25170efde811 (r61237). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3609005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61240 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-014-49/+63
| | | | | | | | | | | (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
* Clang: make DCHECK_EQ(string16, string16) work.thakis@chromium.org2010-10-014-2/+42
| | | | | | | | | | | | | | | | | | | The problem is that string16 is a typedef for a std::basic_string with a custom base::char_traits, hence ADL looks for operator<< only in std and base, not in the global namespace. Since adding stuff to the global namespace isn't permitted, move the operator to namespace base instead. Also give WebString an explicit operator<< because clang can't figure out that it can use WebString's |operator string16| to print WebStrings. string16 is just wstring on windows, and gtest has special code to make printing wstrings to non-wide ostreams work already, so nothing is required on windows. Fix a few other minor issues. Based on a patch by hans@chromium.org BUG=57294 TEST=still compiles with gcc, fewer build errors in tests with clang Review URL: http://codereview.chromium.org/3515003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61218 0039d316-1c4b-4281-b951-d872f2087c98
* Make the selection start and end attributes of an html input controldmazzoni@chromium.org2010-10-012-2/+23
| | | | | | | | | | | | accessible, implement IAccessibleText methods to retrieve this info, and post a notification when the cursor moves within a text field. BUG=none TEST=Added new test to renderer_accessibility_browsertest Review URL: http://codereview.chromium.org/3389037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61216 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the invalidating Core Animation plugin drawing model on 10.5stuartmorgan@chromium.org2010-10-016-51/+78
| | | | | | | | | | | This also adds a layer of abstraction between the concept of the accelerated surface, and our cross-process implementation (which is something we needed to fix in general, but was necessary here to avoid bleeding TransportDIB references into code that's not supposed to know about process separation). There's no in-process implementation since we don't support in-process plugins on the Mac, but the abstraction is now there if we want to add one in the future. BUG=32012 TEST=Plugins using invalidating Core Animation model should run on 10.5 Review URL: http://codereview.chromium.org/3449023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61199 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of consolidating zoom code for pepper plugins (i.e. pdf) and the ↵jam@chromium.org2010-10-016-11/+69
| | | | | | | | rest of Chrome. Allows plugins to have different zoom ranges, and also to update zoom on its own. Review URL: http://codereview.chromium.org/3419023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61153 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux/Mac build on WebKit canaries. WebKit::WebFileInfo is notdumi@chromium.org2010-09-301-1/+0
| | | | | | | | | | | | | used by glue_serialize_unittest.cc. BUG=none TEST=test_shell_tests compiles TBR=hclam Review URL: http://codereview.chromium.org/3515004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61109 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Move ctors/dtors into implementation files. Adds ctors/dtors to ↵erg@google.com2010-09-306-33/+41
| | | | | | | | | | | | | | non-POD structs. Cuts ~2MB off our .a files (Debug, Linux). Also added the "virtual" keyword on a whole bunch of virtual dtors that were missing it. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3522004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61100 0039d316-1c4b-4281-b951-d872f2087c98
* Disable checking group policy for plugins on startup since we shouldn't load ↵jam@chromium.org2010-09-302-0/+15
| | | | | | | | | the plugins on the UI/IO thread. Add a way for PluginList to indirectly ensure it doesn't load the plugins on the wrong thread. BUG=57425 Review URL: http://codereview.chromium.org/3599004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61096 0039d316-1c4b-4281-b951-d872f2087c98
* Autofill popup should close with un-matched namesdhollowa@chromium.org2010-09-302-5/+13
| | | | | | | | | | | Fixes a problem with password autocomplete where the popup was not being dismissed in cases where the value of the text field was non-empty but no longer matching a saved name/password combination. This change detects this case and dismisses the popup. BUG=57213 TEST=Manual test as per bug. Review URL: http://codereview.chromium.org/3551008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61081 0039d316-1c4b-4281-b951-d872f2087c98
* Move disabling outdated plugins to labs and update UI to Glen's mocks.bauerb@chromium.org2010-09-302-3/+27
| | | | | | | | | BUG=47731 TEST=Disabling outdated plugins should show up in about:labs Review URL: http://codereview.chromium.org/3386033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61055 0039d316-1c4b-4281-b951-d872f2087c98
* Yet another try at submitting http://codereview.chromium.org/3397030/show.ericu@google.com2010-09-302-0/+26
| | | | | | | | | | | This hopefully fixes the linux x64 failure, which appears to be a disagreement between int64 and long long. BUG=none TEST=none Review URL: http://codereview.chromium.org/3601001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61020 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60981 - Resubmitting http://codereview.chromium.org/3397030 with the ↵ericu@google.com2010-09-292-26/+0
| | | | | | | | | | | | | | needed one-line deletion. Tested, reproed the breakage, verified the fix. BUG=none TEST=none TBR=ericu@google.com Review URL: http://codereview.chromium.org/3567006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60982 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmitting http://codereview.chromium.org/3397030 with the needed one-line ↵ericu@google.com2010-09-292-0/+26
| | | | | | | | | | | deletion. Tested, reproed the breakage, verified the fix. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60981 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60964 - This adds WebFileWriterImpl, which implements WebFileWriter ↵sky@chromium.org2010-09-292-26/+0
| | | | | | | | | | | | | | and AsyncFileWriterClient. BUG=none TEST=none Review URL: http://codereview.chromium.org/3397030 TBR=ericu@google.com Review URL: http://codereview.chromium.org/3590002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60966 0039d316-1c4b-4281-b951-d872f2087c98
* This adds WebFileWriterImpl, which implements WebFileWriter and ↵ericu@google.com2010-09-292-0/+26
| | | | | | | | | | | AsyncFileWriterClient. BUG=none TEST=none Review URL: http://codereview.chromium.org/3397030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60964 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land 60850 Implement PPB_ImageDataTrusted on the Chrome side. This justbrettw@chromium.org2010-09-293-0/+29
| | | | | | | | connects the call to the existing backend implementation. Review URL: http://codereview.chromium.org/3473021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60908 0039d316-1c4b-4281-b951-d872f2087c98
* webkit: Append base:: in the StringPrintf calls.tfarina@chromium.org2010-09-298-24/+34
| | | | | | | | | | | (Note: This is a TODO in string_util.h) BUG=None TEST=None Review URL: http://codereview.chromium.org/3404027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60885 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Moves code to the headers.erg@google.com2010-09-286-4/+22
| | | | | | | | | | | | | One of the big things is starting to move/declare ctors/dtors that derive from RefCounted<> to/in the implementation file. (Saves 4 megabytes from libglue.a alone. 1 meg off libbrowser.a. Hundred of kilobyte savings in a large number of .a files; only libmedia.a grew and it's only 100k.) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3452030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60863 0039d316-1c4b-4281-b951-d872f2087c98
* Flesh out URLLoader's download_to_file function.michaeln@chromium.org2010-09-281-2/+5
| | | | | | | | | | | | | | | | | | * 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,56752 Review URL: http://codereview.chromium.org/3396029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60862 0039d316-1c4b-4281-b951-d872f2087c98
* Access texture in a WebVideoFramehclam@chromium.org2010-09-282-0/+7
| | | | | | | | | | | Provide getters for accessing textures in a WebVideoFrame BUG=53714 TEST=None Review URL: http://codereview.chromium.org/3472020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60852 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60850 (broke build) - Implement PPB_ImageDataTrusted on the Chrome ↵willchan@chromium.org2010-09-283-29/+0
| | | | | | | | | | | | side. This just connects the call to the existing backend implementation. Review URL: http://codereview.chromium.org/3473021 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3522002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60851 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PPB_ImageDataTrusted on the Chrome side. This just connects the callbrettw@chromium.org2010-09-283-0/+29
| | | | | | | to the existing backend implementation. Review URL: http://codereview.chromium.org/3473021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60850 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper's FileSystem implementation.dumi@chromium.org2010-09-276-12/+277
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3394017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60729 0039d316-1c4b-4281-b951-d872f2087c98
* Support additional webkit accessibility notifications and states. ctguil@chromium.org2010-09-252-1/+26
| | | | | | | | | | | | | | | | 1. Update WebAccessibility::ConvertState to function similarly to WebCore's AccessibleBase::get_accState. 2. Use WebKit's load complete notification to send the renderer's tree to the browser. We enable accessibility on the renderer now instead of requesting a tree. 3. Use WebKit's focused ui element notification to send renderer focus events to the browser. BUG=13291 BUG=38106 TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationActiveDescendantChanged TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationFocusChanged Review URL: http://codereview.chromium.org/3380017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60569 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce console DLOG(INFO) spam in plugin_listisherman@chromium.org2010-09-241-7/+0
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3493009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60531 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebKitCaretBrowsingEnabled support totony@chromium.org2010-09-242-0/+3
| | | | | | | | | | | | overridePreferences in test_shell. This is the companion patch to http://trac.webkit.org/changeset/68191 , which adds this to DRT. This depends on a webkit DEPS roll. Review URL: http://codereview.chromium.org/3442014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60485 0039d316-1c4b-4281-b951-d872f2087c98
* Add test_shell support for enabling hyperlink auditingjaphet@chromium.org2010-09-242-0/+3
| | | | | | | | | | BUG=none TEST=http/tests/navigation/ping-* pass Review URL: http://codereview.chromium.org/3412029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60473 0039d316-1c4b-4281-b951-d872f2087c98
* Update the spinner and mic button images to the latest from UX team.satish@chromium.org2010-09-243-0/+0
| | | | | | | | | BUG=53598 TEST=none Review URL: http://codereview.chromium.org/3444019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60464 0039d316-1c4b-4281-b951-d872f2087c98
* Add some optimizations to plugin painting.brettw@chromium.org2010-09-2411-3/+156
| | | | | | | | | | | | | | | | | | The simplest one is to disable blending when the plugin is opaque. The more complicated one is to bypass webkit painting the background of plugins when we know the plugin to be always on top and also opaque. The always on top flag is currently set by a new "Private2" API. Bypassing WebKit makes animations faster. This is a re-land of the previous patch with a trivial compilation fix. This also adds a clip rect to the GetBitmap... function so we can properly handle plugins in nested iframes with proper clipping. BUG=none TEST=none Original review URL: http://codereview.chromium.org/3421030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60426 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60378 (trying to track down http://crbug.com/56752 )- Flesh out ↵thakis@chromium.org2010-09-241-5/+2
| | | | | | | | | | | | | | | | | | | | | | | 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-246-1/+7
| | | | | | | | | | | 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
* Fix pepper char conversion infinite loop.jam@chromium.org2010-09-231-0/+1
| | | | | | Review URL: http://codereview.chromium.org/3384022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60383 0039d316-1c4b-4281-b951-d872f2087c98
* Flesh out URLLoader's download_to_file function.michaeln@chromium.org2010-09-231-2/+5
| | | | | | | | | | | | | | | | | | * 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
* FBTF: Move virtual methods to implementation files.erg@google.com2010-09-231-0/+1
| | | | | | | | | | | Remove logging.h and other headers where possible. BUG=none TEST=none Review URL: http://codereview.chromium.org/3461019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60369 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Pepper plugin focus notifications.brettw@chromium.org2010-09-233-6/+42
| | | | | | | | | | This hooks up both webkit focus and content area focus like we do for NPAPI plugins. BUG=56671 TEST=none Review URL: http://codereview.chromium.org/3493011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60361 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Update the spinner and mic button images to the latest from UX team."maruel@chromium.org2010-09-233-0/+0
| | | | | | | | | | | | This reverts commit 60328. Please update the image expectations. TBR=satish TEST=none BUG=none Review URL: http://codereview.chromium.org/3381021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60333 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add some optimizations to plugin painting."maruel@chromium.org2010-09-2311-149/+3
| | | | | | | | | | | | This reverts commit 60329. TBR=brettw BUG= TEST= Review URL: http://codereview.chromium.org/3442013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60331 0039d316-1c4b-4281-b951-d872f2087c98
* Add some optimizations to plugin painting.brettw@chromium.org2010-09-2311-3/+149
| | | | | | | | | | | | | | | The simplest one is to disable blending when the plugin is opaque. The more complicated one is to bypass webkit painting the background of plugins when we know the plugin to be always on top and also opaque. The always on top flag is currently set by a new "Private2" API. Bypassing WebKit makes animations faster. BUG=none TEST=none Review URL: http://codereview.chromium.org/3421030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60329 0039d316-1c4b-4281-b951-d872f2087c98
* Update the spinner and mic button images to the latest from UX team.satish@chromium.org2010-09-233-0/+0
| | | | | | | | | BUG=53598 TEST=none Review URL: http://codereview.chromium.org/3444019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60328 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Fix getting the trusted URL loader interface.interfaceviettrungluu@chromium.org2010-09-232-1/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3437018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60324 0039d316-1c4b-4281-b951-d872f2087c98
* Implement GetDefaultCharSet for Pepper and pull the corresponding PPAPI change.brettw@chromium.org2010-09-232-4/+18
| | | | | | | | BUG=52865 TEST=none Review URL: http://codereview.chromium.org/3432021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60292 0039d316-1c4b-4281-b951-d872f2087c98
* Store lower case tag names within web accessibility.ctguil@chromium.org2010-09-231-1/+5
| | | | | | | | | | | | This is similar to the behavior of firefox. BUG=none TEST=browser_tests:RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree TEST=interactive_ui_tests:AccessibilityWinBrowserTest.* Review URL: http://codereview.chromium.org/3435019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60259 0039d316-1c4b-4281-b951-d872f2087c98
* Pull latest PPAPI. Change key handling to support the new API.brettw@chromium.org2010-09-239-131/+204
| | | | | | | | TEST=PPAPI UI tests BUG=none Review URL: http://codereview.chromium.org/3386019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60258 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a problem that text prefs are not hooked up with CrosSettings.xiyuan@chromium.org2010-09-221-2/+2
| | | | | | | | | | | And bump up CppVariant::ToStringVector limit from 100 to 60000 so that we can pass more arguments through chrome.send. BUG=chromium-os:6827 TEST=Verify proxy setting values entered are sent to CrosSettingsProviderProxy. Review URL: http://codereview.chromium.org/3386009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60184 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using WebInputElement::inputType().tkent@chromium.org2010-09-221-2/+2
| | | | | | | | | | | | WebInputElement::inputType is deprecated because HTMLInputElement::inputType is deprecated. We should stop using it and use is<Type>() functions. BUG=webkit.org/b/45872 TEST=none; no functional changes. Review URL: http://codereview.chromium.org/3421023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60132 0039d316-1c4b-4281-b951-d872f2087c98