summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
Commit message (Collapse)AuthorAgeFilesLines
* refactoring decoder interfacejiesun@google.com2010-05-261-1/+1
| | | | | | | | | | 1. install permanent buffer exchange callback. 2. render provide buffer in read=>fillthisbuffer. 3. for ffmpeg path, the provided buffer is just dummy. it had no relation to decoded buffer. so as to keep the code almost same. Review URL: http://codereview.chromium.org/2101022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48328 0039d316-1c4b-4281-b951-d872f2087c98
* Get the internal plugin working on Mac.jabdelmalek@google.com2010-05-261-5/+2
| | | | | | Review URL: http://codereview.chromium.org/2271002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48296 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up calls like "gfx::Rect(0, 0, size().width(), size().height()".erg@chromium.org2010-05-263-8/+7
| | | | | | | | | | | | The caller can use the much shorter "gfx::Rect(size())", since gfx::Rect has a constructor that just takes a Size. BUG=none TEST=none Review URL: http://codereview.chromium.org/2204001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48283 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a regression where we send too many IME_CANCEL_COMPOSITIONtony@chromium.org2010-05-261-3/+5
| | | | | | | | | | | | | | events back to the browser. This isn't a problem on OSX because we clear the compositon before sending WebCompositionCommandDiscard (hbono even asked about this during the OSX review). BUG=45003 Review URL: http://codereview.chromium.org/2247003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48251 0039d316-1c4b-4281-b951-d872f2087c98
* Need to call makeOpaque on the platform device after drawing widgets on XP.jam@chromium.org2010-05-261-0/+12
| | | | | | Review URL: http://codereview.chromium.org/2191001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48234 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak introduced in r47972 ↵rafaelw@chromium.org2010-05-251-7/+10
| | | | | | | | | | | (http://codereview.chromium.org/2137012/show). TEST=none BUG=36301 Review URL: http://codereview.chromium.org/2214001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48212 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Invalidate the web content when we change system colors.erg@chromium.org2010-05-251-2/+2
| | | | | | | | | | BUG=none TEST=Change GTK+ theme while text is selected. The text selection colors should change. Review URL: http://codereview.chromium.org/2190001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48207 0039d316-1c4b-4281-b951-d872f2087c98
* TTF: Re-enable FormAutocompleteTest.AutoCompleteOffInputSubmit by marking it ↵jhawkins@chromium.org2010-05-251-2/+2
| | | | | | | | | | | | as failing. TBR=jcivelli BUG=36520 TEST=FormAutocompleteTest.AutoCompleteOffInputSubmit Review URL: http://codereview.chromium.org/2191002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48200 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill sending forms should include elements with autoComplete="off" ↵dhollowa@chromium.org2010-05-252-5/+94
| | | | | | | | | | | | | | | attributes. On these pages we were hitting the DCHECK_EQ in autofill_manager.cc:237 when filling these forms. This was due to the lack of <input> elements with autoComplete="off" attributes set when originally sending the form data with the RenderView::SendForms() call. This changes the renderer to add these elements when originally sent and processed by the AutoFillManager::FormsSeen() call. BUG=40700, 41702 TEST=Manual tests of pages in bug reports. Review URL: http://codereview.chromium.org/2135012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48174 0039d316-1c4b-4281-b951-d872f2087c98
* Remove previous print preview work in preparation for new work.viettrungluu@chromium.org2010-05-252-7/+1
| | | | | | | | | | | | | | | | | | | | The new work will take a very different approach (using a component extension, similar to the bookmark manager). This basically reverts the following commits: - http://src.chromium.org/viewvc/chrome?view=rev&revision=20595 (http://codereview.chromium.org/155067) - http://src.chromium.org/viewvc/chrome?view=rev&revision=19918 (http://codereview.chromium.org/155051) - http://src.chromium.org/viewvc/chrome?view=rev&revision=19906 (http://codereview.chromium.org/150207) BUG=173 TEST=everything still builds Review URL: http://codereview.chromium.org/2156003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48162 0039d316-1c4b-4281-b951-d872f2087c98
* Port some more RenderViewTests to Linux.estade@chromium.org2010-05-243-66/+58
| | | | | | | | | | | Focus on printing tests. The ones I didn't port may not be worth the effort if we are going to change Linux printing soon. BUG=none TEST=tests pass Review URL: http://codereview.chromium.org/2066016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48072 0039d316-1c4b-4281-b951-d872f2087c98
* Browser process scaffolding to support having appcache work in workers.michaeln@chromium.org2010-05-241-0/+2
| | | | | | | | | | | | | | | | * Associate a RequestContext with a WorkerProcessHost. This corresponds to themain request context of the profile for which the worker process is running. Also associate the context with each WorkerInstance which comes into existance priorto the WorkerProcessHost that will host the instance. * Give the WorkerProcessHost an AppCacheDispatcherHost. * Fix up some recently botched IPC plumbing for ViewHostMsg_CreateWorker_Params. BUG=39368 TEST=there are no worker unit tests Review URL: http://codereview.chromium.org/2010010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48064 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Fix renderer idle cpu usage regression.thakis@chromium.org2010-05-242-5/+13
| | | | | | | | | | | | | Since polling is required only for the preferred height and mac only needs preferred width, add a flag that specifies if the client is interested in width and/or height. This is a band-aid, the Real Fix is tracked in 44850. BUG=44494 TEST=Open chrome's task manager. Idle renderer processes should take close to 0 %cpu instead of ~1.5 before. Review URL: http://codereview.chromium.org/2145002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48056 0039d316-1c4b-4281-b951-d872f2087c98
* Add a SetCursor API to Pepper. I'll implement custom cursors once we ↵jam@chromium.org2010-05-242-1/+66
| | | | | | | | switched over to the new API. Review URL: http://codereview.chromium.org/2122018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48053 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use command line flags for enabling the internal pdf plugin. Instead, ↵jam@chromium.org2010-05-222-21/+22
| | | | | | | | disable it by default using the same mechanism that we use for about:plugins. Once we enable it by default, we just need to flip a boolean in the code and it'll be enabled for everyone. Review URL: http://codereview.chromium.org/2080016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47973 0039d316-1c4b-4281-b951-d872f2087c98
* Update extension functions to always pass a list of arguments, even when one ↵arv@chromium.org2010-05-213-55/+47
| | | | | | | | | | | argument was passed. BUG=36301 TEST=Updated tests and ran all the existing tests. Review URL: http://codereview.chromium.org/2137012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47972 0039d316-1c4b-4281-b951-d872f2087c98
* Windows accessibility improvements: 1. All WebKit roles are now passed to thedmazzoni@chromium.org2010-05-212-2/+29
| | | | | | | | | | | | | | | | | | browser and then converted to MSAA roles - this is both because the logic needs to be more complicated, and so we can support Mac accessibility, too. 2. The serializable object used to pass accessibility info from the renderer to the browser now uses a map for uncommon attributes, rather than having a bunch of fields that are almost always empty. 3. Handles the accSelect method with TAKE_FOCUS, allowing assistive technology to set focus to a particular control. 4. Implements several other IAccessible2 interfaces. BUG=25564 BUG=13291 TEST=None Review URL: http://codereview.chromium.org/2121004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47922 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB should use WebSecurityOrigins rather than passing origin stringsjorlow@chromium.org2010-05-212-7/+9
| | | | | | | | | | | The Chromium side of https://bugs.webkit.org/show_bug.cgi?id=39216 which (among other things) switches WebCore/WebKit to use SecurityOrigin/WebSecurityOrigins. I'm also switching it to use databaseIdentifiers (rather than just toString) since its semantics match HTML5's origins (and toStrings do not). BUG=none TEST=none Review URL: http://codereview.chromium.org/2097005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47907 0039d316-1c4b-4281-b951-d872f2087c98
* This change enables FieldTrial for SPDY. When --use-spdy=npn is used, field ↵lzheng@chromium.org2010-05-213-4/+39
| | | | | | | | | | | | | | | | | test won't be enabled. However, when that flag is missing, A/B test is added to browser_main.cc. Trial A: use npn and spdy. B: use npn but no spdy. C: do nothing. A and B are set to zero for now The histograms we collect are: 1. Page begin to finish time when spdy is enabled/disabled across all sites; 2. Page begin to finish time when spdy is used on sites that support spdy and when spdy is intentionally ignored. BUG=43997 TEST=Don't use --use-spdy=npn, manually change _npn_nospdy and _npn_withspdy percentile and go to spdy supported sites. Review URL: http://codereview.chromium.org/2036012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47896 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 of fix. Denies access to password manager for sandboxed iframes with ↵inferno@chromium.org2010-05-211-0/+5
| | | | | | | | | | | allow-same-origin not set. BUG=42980 TEST=None Review URL: http://codereview.chromium.org/2110008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47889 0039d316-1c4b-4281-b951-d872f2087c98
* Reland Mac: First steps for default pluginthakis@chromium.org2010-05-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG=17392 TEST=Go to http://www.adobe.com/shockwave/welcome/. The task manager should show that the default plugin is running, and the "Missing Plug-in" text should look slightly different than it did before. (this test depends on a small webkit patch) Requires commenting out if (objectContentType(url, mimeType) != ObjectContentNetscapePlugin) return 0; in WebKit/WebKit/chromium/src/FrameLoaderClientImpl.cpp's createPlugin() as well, else the default plugin won't load. <style type="text/css"> #glass { position: absolute; width: 128px; height: 128px; border: 1px solid rgba(0, 0, 0, 0.8); -webkit-border-radius: 64px; -webkit-transition-property: background-color, -webkit-box-shadow; -webkit-transition-duration: 0.25s, 0.25s; background-image: -webkit-gradient(radial, 50% 8%, 0, 50% -40%, 192, from(rgba(255, 255, 255, 0.4)), color-stop(50%, rgba(255, 255, 255, 0.07)), color-stop(51%, rgba(255, 255, 255, 0)), color-stop(52%, rgba(0, 0, 0, 0.2)), color-stop(70%, rgba(0, 0, 0, 0.1)), color-stop(99%, rgba(0, 0, 0, 0)), to(rgba(255, 255, 255, 0))); background-color: #335; -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5); color: white; font-family: Helvetica, Arial, sans-serif; font-size: 30px; font-weight: bold; line-height: 128px; text-align: center; text-shadow: 0px -1px 2px rgba(0, 0, 0, 0.5); } #glass:hover { background-color: #448; -webkit-box-shadow: 0px 0px 50px rgba(0, 0, 255, 0.5); } </style> <div id="glass">zomfg</div> Review URL: http://codereview.chromium.org/2075006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47849 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: enable another render view unit test.estade@chromium.org2010-05-201-9/+27
| | | | | | | | | | | | | | | We are only testing en-US (really, whatever keyboard layout the buildbot is using) because: // On Linux, the only way to test alternate keyboard layouts is to change // the keyboard layout of the whole screen. I'm worried about the side // effects this may have on the buildbots. BUG=none TEST=RenderViewTest.InsertCharacters Review URL: http://codereview.chromium.org/2130008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47848 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary changes for plugin.jam@chromium.org2010-05-201-12/+40
| | | | | | Review URL: http://codereview.chromium.org/2102012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47778 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill fill billing address when credit card settings specify a billing ↵dhollowa@chromium.org2010-05-191-80/+80
| | | | | | | | | | | | | | | | | | | address. Fixes address type matching in |AddressField::AddressTypeFromText| method. Also, extends |AutoFillManager::FillAutoFillFormData| method to fill associated billing address when filling a credit card that has billing information set in preferences. Adds new unit test AutoFillManagerTest.FillCreditCardFormWithBilling and fixes others. BUG=44227 TEST=AddressFieldTest.ParseOneLineAddress, \ AddressFieldTest.ParseOneLineAddressBilling, \ AddressFieldTest.ParseOneLineAddressShipping, \ AutoFillManagerTest.FillCreditCardForm, \ AutoFillManagerTest.FillCreditCardFormWithBilling, \ FormStructureTest.HeuristicsSample8, \ and manual test with everything2.html bug file. Review URL: http://codereview.chromium.org/2078016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47731 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 47726 (turned nacl_ui_tests red) - Mac: First steps for default pluginthakis@chromium.org2010-05-191-3/+1
| | | | | | | | | | | | | | | | | | | BUG=17392 TEST=Go to http://www.adobe.com/shockwave/welcome/. The task manager should show that the default plugin is running, and the "Missing Plugin" text should look slightly different than it did before. (this test depends on a small webkit patch) Requires commenting out if (objectContentType(url, mimeType) != ObjectContentNetscapePlugin) return 0; in WebKit/WebKit/chromium/src/FrameLoaderClientImpl.cpp's createPlugin() as well, else the default plugin won't load. Review URL: http://codereview.chromium.org/2075006 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/2132018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47730 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: First steps for default pluginthakis@chromium.org2010-05-191-1/+3
| | | | | | | | | | | | | | | | BUG=17392 TEST=Go to http://www.adobe.com/shockwave/welcome/. The task manager should show that the default plugin is running, and the "Missing Plug-in" text should look slightly different than it did before. (this test depends on a small webkit patch) Requires commenting out if (objectContentType(url, mimeType) != ObjectContentNetscapePlugin) return 0; in WebKit/WebKit/chromium/src/FrameLoaderClientImpl.cpp's createPlugin() as well, else the default plugin won't load. Review URL: http://codereview.chromium.org/2075006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47726 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] [TTF] Test marks maintenance CL:phajdan.jr@chromium.org2010-05-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The following tests are no longer flaky: BrowserTest.PageLanguageDetection (bug 42095) AppApiTest.AppProcess (bug 42497) ExtensionApiTest.Infobars (bug 40141) FindInPageControllerTest.FindMovesWhenObscuring (bug 41124) SessionRestoreUITest.TwoWindowsCloseOneRestoreOnlyOne (bug 39905) RenderViewTest.OnHandleKeyboardEvent (no bug) RenderViewTest.DidFailProvisionalLoadWithErrorForError (no bug) AutomatedUITestBase.CloseTab (bug 14774) AutomatedUITestBase.CloseBrowserWindow (bug 14774) PluginTest.FlashLayoutWhilePainting (bug 21538) HistoryTester.VerifyHistoryLength1 (bug 39785) HistoryTester.ConsiderRedirectAfterGestureAsUserInitiated (bug 39785) HistoryTester.ConsiderSlowRedirectAsUserInitiated (bug 39785) * The following tests are not flaky, but disabled due to hangs: BrowserAppRefocusTest.OpenTab (bug 44026) * The following tests are not flaky, but seem to fail consistently: ProcessSingletonLinuxTest.NotifyOtherProcessSuccess (bug 30953) ProcessSingletonLinuxTest.NotifyOtherProcessHostChanged (bug 30953) BrowserViewsAccessibilityTest.TestChromeWindowAccObj (bug 44486) BUG=42095, 44026, 42497, 40141, 41124, 30953, 39905, 14774, 21538, 39785, 44486 TEST=this touches a lot of tests Review URL: http://codereview.chromium.org/2128009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47633 0039d316-1c4b-4281-b951-d872f2087c98
* enable RenderViewTest.OnHandleKeyboardEvent on Linux.estade@chromium.org2010-05-191-39/+47
| | | | | | | | | | | Rearrange some existing automation code and write some new code. BUG=none TEST=runs Review URL: http://codereview.chromium.org/2083012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47624 0039d316-1c4b-4281-b951-d872f2087c98
* Add the new cookies API to Chrome Extensions, minus the eventcindylau@google.com2010-05-181-0/+1
| | | | | | | | | | | handler. BUG=38398 TEST=none Review URL: http://codereview.chromium.org/841006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47540 0039d316-1c4b-4281-b951-d872f2087c98
* Rename "mixed content" to "insecure content" in as many places as possible, ↵pkasting@chromium.org2010-05-181-1/+1
| | | | | | | | | | to standardize on a consistent naming scheme. BUG=none TEST=none Review URL: http://codereview.chromium.org/2069005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47531 0039d316-1c4b-4281-b951-d872f2087c98
* Pull latest ppapi for initial testing support, implement checks so the tests ↵brettw@chromium.org2010-05-181-1/+1
| | | | | | | | | | | | pass in Chrome. Mostly, this involves better error checking. The most substantial change is that I made TransportDIB able to return NULL on failure to make a PlatformCanvas, which we run into when makeing too large of a canvas from a plugin. I checked all the callers of this function to make sure they all handled the problem (many already did). TEST=pulls Pepper test BUG=-none Review URL: http://codereview.chromium.org/2101004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47526 0039d316-1c4b-4281-b951-d872f2087c98
* Wire sending/receiving cacheable metadata from the renderertonyg@chromium.org2010-05-182-0/+31
| | | | | | | | | | to the disk cache. BUG=32407 TEST=None Review URL: http://codereview.chromium.org/1698001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47522 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring in media::PipelineImpl and media::MediaFilter.scherkus@chromium.org2010-05-171-2/+1
| | | | | | | | | | | | | | | | A hack in media::PipelineImpl::BroadcastMessageTask() was previously required to remove the mime_type of the disabled renderer. Since the only use of media::PipelineImpl::BroadcastMessage() is to disable the audio renderer, refactor BroadcastMessage() to DisableAudioRenderer() and refactor media::MediaFilter::OnReceivedMessage() to OnAudioRendererDisabled(). Patch by boliu@google.com: http://codereview.chromium.org/2042014/show BUG=19384 TEST=media_unittests Review URL: http://codereview.chromium.org/2069006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47472 0039d316-1c4b-4281-b951-d872f2087c98
* Makes shader translation a runtime switch.gman@chromium.org2010-05-173-0/+22
| | | | | | | | | | | | | | For WebGL the shader translation is off. For Pepper and other processes it is on. This will be removed and the tranlator will always be on at some point in the future TEST=More conformance tests pass, manually ran WebGL demos in Chrome. BUG=none Review URL: http://codereview.chromium.org/2127001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47441 0039d316-1c4b-4281-b951-d872f2087c98
* Form AutoFill Phone number should be displayed as xxx-xxx-xxxxdhollowa@chromium.org2010-05-142-170/+507
| | | | | | | | | | | | | | | | | Modifies the AutoFill label inferencing logic to skip over <img> tags when deriving labels. It is common to use small images as spacers between elements. Also, extends the phone number heuristics to recognize numbers that are split into three fields of the form [xxx]-[yyy]-[zzzz] where xxx is the area code, yyy is the phone number prefix and zzz is the phone number suffix. Note: This change has a dependency on WebKit change: https://bugs.webkit.org/show_bug.cgi?id=38825. Will need to wait for that to land before committing this change. BUG=38218 TEST=FormManagerTest.LabelsInferredWithImageTags:FormStructureTest.ThreePartPhoneNumber:PhoneFieldTest.ThreePartPhoneNumber Review URL: http://codereview.chromium.org/1979008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47297 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IndexedDatabase::open up until re-entrance into WebKit. That (and thejorlow@chromium.org2010-05-1410-2/+275
| | | | | | | | | | | | | | | | | | | | | | rest of IndexedDB) will be done in subsequent patches. Included in this patch is a lot of other infrastructure for making IndexedDB work. Included is a conversion from the DOMStorageDispatcherHost into a dispatcher host for all APIs that have a backend in WebKit. I named it WebKitAPIDispatcherHost. Since it's in browser/in_process_webkit and it is for APIs that connect up to the WebKit API and it's used for APIs whose backend is implemented in WebKit I thought the name was decent and not _too_ confusing, but if you have better ideas, please let me know. This includes some code that you've already reviewed (darin), but a lot has changed so please take a look at all of it. TEST=Not much to test yet + behind a flag. BUG=none Review URL: http://codereview.chromium.org/1599009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47268 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for registering new-style pepper plugins on the command line.darin@chromium.org2010-05-144-7/+98
| | | | | | | | | | | | | | | | Command line looks like this: chrome.exe --register-pepper-plugins="c:\foo\bar.dll;application/x-bar" This causes the registered plugins to be loaded on startup before the sandbox is engaged. As a result, registered plugins can function within the sandbox. R=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/2104002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47239 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the problem that FileReader does not work on Mac/Linux. The fixjianli@chromium.org2010-05-141-6/+4
| | | | | | | | | | | is to pass the file handle with magic FileDescriptor over IPC for POSIX. BUG=none TEST=none Review URL: http://codereview.chromium.org/2123001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47227 0039d316-1c4b-4281-b951-d872f2087c98
* Stop the browser from scrolling the View contents when gpu accelerated ↵vangelis@chromium.org2010-05-141-2/+9
| | | | | | | | | | compositing is enabled. BUG=44044 Review URL: http://codereview.chromium.org/2053008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47224 0039d316-1c4b-4281-b951-d872f2087c98
* Do right-alignment of popups when WebKit indicates to do so.avi@chromium.org2010-05-131-0/+1
| | | | | | | | | BUG=http://crbug.com/23106 TEST=as in bug Review URL: http://codereview.chromium.org/1992006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47204 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a method to RendererWebKitClientImpl to create a GLES2Context.vangelis@chromium.org2010-05-132-0/+11
| | | | | | | BUG=43911 Review URL: http://codereview.chromium.org/2023008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47199 0039d316-1c4b-4281-b951-d872f2087c98
* Switch plugin backing store to local memory on non-Windows platformsstuartmorgan@chromium.org2010-05-132-20/+56
| | | | | | | | | | | TransportDIB has non-trivial overhead on the Mac, and the backing store is never shared with any other process, so it's better to use local memory. Windows is excluded because PlatformCanvas requires a DIB on Windows. BUG=42858 TEST=Windowless plugins should continue to draw. Review URL: http://codereview.chromium.org/1873001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47180 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill label scraping nested table contents.dhollowa@chromium.org2010-05-132-20/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Label scraping in forms is now extended to include text nested within formatting (and other) elements within the table. For example: <TR> <TD> <FONT> Last name: </FONT> </TD> <TD> <FONT> <INPUT type="text" id="lastname" value="Smith"/> </FONT> </TD> </TR> The "Last name:" text is now correctly scraped. BUG=38269 TEST=Manual testing of forms: \ http://www.mycontactform.com/samples/rental.php \ http://www.mycontactform.com/samples/real_estate.php \ http://www.mycontactform.com/samples/jobapp.php \ http://www.mycontactform.com/samples/employee_eval.php \ http://www.mycontactform.com/samples/customer_complaint.php \ Unit test: FormManagerTest.LabelsInferredFromTableCellNested. Review URL: http://codereview.chromium.org/2061008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47176 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Print Selection.viettrungluu@chromium.org2010-05-132-6/+5
| | | | | | | | | | | (And re-enable it on Windows; other platforms need more work.) BUG=22937,27621 TEST=Go to a suitable web page; select something; Ctrl-P to print; select "Selection" under "Page Range"; print; etc. Review URL: http://codereview.chromium.org/1992017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47157 0039d316-1c4b-4281-b951-d872f2087c98
* Add code to engage new Pepper API behind a preprocessor macro.darin@chromium.org2010-05-133-2/+22
| | | | | | | | | | R=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/1983009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47121 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure all stats are initialized when calculated Page Load Timesjar@chromium.org2010-05-121-8/+22
| | | | | | | | | | | | | Some timer values were not initialized before we called to dump histograms, and this was leading to bogus intervals in our stats, and at times, producing DCHECK() failures (for overly large values). BUG=43220 r=davemoore Review URL: http://codereview.chromium.org/2042007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47087 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ExtensionAPIClientTest.GetAllWindows as it flakily crashes.jhawkins@chromium.org2010-05-121-1/+2
| | | | | | | | | | TBR=mpcomplete BUG=22248 TEST=none Review URL: http://codereview.chromium.org/1999007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47072 0039d316-1c4b-4281-b951-d872f2087c98
* Add update and removeAll functions to extensions context menu APIasargent@chromium.org2010-05-121-10/+16
| | | | | | | | | | BUG=39505 TEST=Should be able to add a bunch of context menu items and then change or remove them using update and removeAll respectively. Review URL: http://codereview.chromium.org/1736028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47060 0039d316-1c4b-4281-b951-d872f2087c98
* Disallow display of multiple experimental.extension.popup(...) windows ericdingle@google.com2010-05-122-2/+3
| | | | | | | | | | | This is a duplicate of http://codereview.chromium.org/2027006 which was accidentally created in a read-only client. BUG=None TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/2003016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47052 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up old method signature of WebViewClient::createView.rafaelw@chromium.org2010-05-122-9/+0
| | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=38301 has landed in webkit. Remove old call signature. Review URL: http://codereview.chromium.org/1955002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47046 0039d316-1c4b-4281-b951-d872f2087c98