summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
Commit message (Collapse)AuthorAgeFilesLines
* Add click-to-load functionality for blocked plugins.bauerb@chromium.org2010-07-196-28/+237
| | | | | | | | | BUG=35316 TEST=Disable plugins, go to a site with a flash animation. You should see a placeholder for the flash animation. When you click on it, the animation should load. Review URL: http://codereview.chromium.org/2862031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52899 0039d316-1c4b-4281-b951-d872f2087c98
* Remove incorrect usages of USE_SYSTEM_SQLITE.tfarina@chromium.org2010-07-192-12/+1
| | | | | | | | | | | | | Currently we don't provide any support to the system sqlite. BUG=None TEST=trybots Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3049001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52879 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52872 - Remove the special hole that was opened for Native Clientrohitrao@chromium.org2010-07-191-0/+14
| | | | | | | | | | | | | in order for it to do bind() and connect(). BUG=http://code.google.com/p/chromium/issues/detail?id=26781 TEST=all tests pass, especially nacl_ui_tests Review URL: http://codereview.chromium.org/2881016 TBR=msneck@google.com Review URL: http://codereview.chromium.org/2842059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52878 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the special hole that was opened for Native Clientmsneck@google.com2010-07-181-14/+0
| | | | | | | | | | in order for it to do bind() and connect(). BUG=http://code.google.com/p/chromium/issues/detail?id=26781 TEST=all tests pass, especially nacl_ui_tests Review URL: http://codereview.chromium.org/2881016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52872 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to limit when context menu items appear with url patterns.asargent@chromium.org2010-07-181-1/+1
| | | | | | | | | BUG=408198 TEST=Extensions context menu API should work with changes described. Review URL: http://codereview.chromium.org/2811049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52867 0039d316-1c4b-4281-b951-d872f2087c98
* The autocomplete popup is now closed when no suggestions are available.jcivelli@chromium.org2010-07-181-36/+40
| | | | | | | | | | | | BUG=49012 TEST=See bug. Original review: http://codereview.chromium.org/2819051 Review URL: http://codereview.chromium.org/3040007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52844 0039d316-1c4b-4281-b951-d872f2087c98
* Move context menu module out of experimental.aa@chromium.org2010-07-173-7/+6
| | | | | | | | BUG=48725,39508 Review URL: http://codereview.chromium.org/2840038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52784 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IsSearchProviderInstalled and a test for it.levin@chromium.org2010-07-174-34/+223
| | | | | | | | | | | | | It is currently off by default and one must pass in a flag (--enable-search-provider-api-v2) to use it. Api details are in the bug. BUG=38475 TEST=ui_tests --gtest_filter=SearchProviderTest.TestIsSearchProviderInstalled Review URL: http://codereview.chromium.org/2823042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52778 0039d316-1c4b-4281-b951-d872f2087c98
* Separate the PasswordManagerDelegate out of PasswordManager.erg@chromium.org2010-07-165-20/+24
| | | | | | | | | | | | | | | Previously, anyone who included tab_contents.h would bring in a bunch of implementation details of the password manager from webkit_glue. This breaks the delegate interface out of the rest of password manager system and makes FillData not an inner-class so anyone can forward declare FillData instead of having to include the header to meet a delegate interface. BUG=none TEST=none Review URL: http://codereview.chromium.org/2877022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52726 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Use unique IDs to identify the profile or credit card to fill.jhawkins@chromium.org2010-07-163-24/+26
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3019001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52699 0039d316-1c4b-4281-b951-d872f2087c98
* Unexperimentalify the cookies API.aa@chromium.org2010-07-161-1/+1
| | | | | | | | BUG=41663,48726 Review URL: http://codereview.chromium.org/2982008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52623 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug where deleting an autofill/autocomplete entry didn't updatesky@chromium.org2010-07-161-0/+6
| | | | | | | | | | | | internal state correctly. BUG=48886 TEST=delete an entry from the autofill/autocomplete popup then chose 'AutoFill Options' or 'Clear form' and make sure it works. Review URL: http://codereview.chromium.org/3015004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52591 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r52581. The change seems OK, but it had the wrongaa@chromium.org2010-07-161-1/+1
| | | | | | | | | description and bug association. Will re-land with correct information. TBR=thakis@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52585 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebCore's built in support for user styles instead of theaa@chromium.org2010-07-161-10/+45
| | | | | | | | | | | | | | | | hack we were doing before. This has a side-effect of fixing a bunch of content-interaction bugs because we will be using real user-level styles (in the CSS sense) rather than content-level styles. BUG=29995 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52581 Review URL: http://codereview.chromium.org/2932007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52584 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebCore's built in support for user styles instead of theaa@chromium.org2010-07-161-1/+1
| | | | | | | | | | | | | | hack we were doing before. This has a side-effect of fixing a bunch of content-interaction bugs because we will be using real user-level styles (in the CSS sense) rather than content-level styles. BUG=29995 Review URL: http://codereview.chromium.org/2932007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52581 0039d316-1c4b-4281-b951-d872f2087c98
* Load Pepper v2 internal pdf plugin.jam@chromium.org2010-07-161-18/+6
| | | | | | Review URL: http://codereview.chromium.org/2891016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52575 0039d316-1c4b-4281-b951-d872f2087c98
* Added accessor for permissions map. NaCl needs this in order to look uperikkay@chromium.org2010-07-152-18/+51
| | | | | | | | | | | a nacl permission. BUG=45881 TEST=None Review URL: http://codereview.chromium.org/2941011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52566 0039d316-1c4b-4281-b951-d872f2087c98
* Audio pause and seek betterhclam@chromium.org2010-07-152-55/+25
| | | | | | | | | | | | | BUG=39885 Pause for audio is now in effect in less than 200ms. Seek for audio is also much better as we play also very short amount after seek. Review URL: http://codereview.chromium.org/2931014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52560 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the password autofill.jcivelli@chromium.org2010-07-151-0/+2
| | | | | | | | | | | | My previous 1st refactor step of the password autofill broke the feature by removing the call to fill the form. BUG=49173 TEST=See bug. Review URL: http://codereview.chromium.org/2812053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52543 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Add a CHECK to try to track down a crasher.jhawkins@chromium.org2010-07-151-0/+2
| | | | | | | | | BUG=48857 TEST=none Review URL: http://codereview.chromium.org/3017003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52536 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a race where WebGL would attempt to use the GpuChannel before it was in ↵apatrick@chromium.org2010-07-156-20/+11
| | | | | | | | | | | | | the CONNECTED state. I modified things so that GpuChannelHost goes into the CONNECTED state as soon as the SyncChannel is created. This is safe because any IPC messages that are send are just queued up in the named pipe. TEST=try BUG=none Review URL: http://codereview.chromium.org/2959016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52534 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for printing of Pepper v2 plugins.sanjeevr@chromium.org2010-07-151-1/+1
| | | | | | | | | BUG=None TEST=Test printing with Chrome PDF Pepper v2 plugin. Review URL: http://codereview.chromium.org/2819047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52520 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix null dereference in ↵mattm@chromium.org2010-07-151-3/+3
| | | | | | | | | | | | WebPluginDelegatePepper::Device3DInitializeContext error case. CID=8366 BUG=none TEST=none Review URL: http://codereview.chromium.org/2802035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52519 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix missing const on ↵mattm@chromium.org2010-07-152-4/+4
| | | | | | | | | | | | WebPluginDelegatePepper::Device3DCreateContext override arg. CID=8540 BUG=none TEST=none Review URL: http://codereview.chromium.org/2881014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52517 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix missing const on RendererWebIDBIndexImpl and ↵mattm@chromium.org2010-07-154-14/+14
| | | | | | | | | | | | RendererWebIDBDatabaseImpl methods. CID=9390,9389,9388,10844,10845,10846,10847 TEST=none BUG=none Review URL: http://codereview.chromium.org/2891023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52516 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt four at landing the "histogram.h removed from message_loop.h" patch.erg@chromium.org2010-07-151-0/+1
| | | | | | | | | | | | | | Previously committed as r52349 and r52336. Related commits: r52367, r52364 and r52343. Rerunning trybots due to previous trybot breakage. TEST=none BUG=none Review URL: http://codereview.chromium.org/2965015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52496 0039d316-1c4b-4281-b951-d872f2087c98
* Only setup the contextMenus listener if we're actually using contextMenus.asargent@chromium.org2010-07-151-8/+15
| | | | | | | | | | | | Erik ran into a problem related to this while working on some changes to permissions handling for event listening. BUG=none TEST=Context Menus API onclick callbacks should work normally. Review URL: http://codereview.chromium.org/2963012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52431 0039d316-1c4b-4281-b951-d872f2087c98
* media: refactoring video_render_base to recycle buffersjiesun@google.com2010-07-141-0/+3
| | | | | | | | | | | | | | To make recycle work, we had to define the usage scope of current frame. otherwise we are introducing tearing because we will begin to decode into the buffer before it is done by the renderer/painter/compositor. current mechanism depends on hold reference of a copied picture. we had no that luxury if we do not copy output buffers. we had to compromise by 1. in pause() ( which is not the sense of pipeline->pause(), which is implemented by set playrate = 0 ) in filter->pause() ( or in the future flush() ), which is part of seeking ( and in the future, part of stop() too) , we had to return all the buffers to owner. we had no current buffer to display. we use NULL as current frame in this case. 2. remove black frame from render base, this is only valid for system memory based video frame, even that should we use color fill instead of color conversion and scale. 3. pause and stop has to wait for pending read (actually flush) and pending paint. 4. we only advance frame when there are two or more frames in ready queue. Review URL: http://codereview.chromium.org/2836038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52398 0039d316-1c4b-4281-b951-d872f2087c98
* More cleanup of extensions context menu API.asargent@chromium.org2010-07-141-12/+46
| | | | | | | | | | | | | | | | | | | This changes the contextMenus.create method to synchronously return an id instead of aysynchronously in the callback. This meant moving the generating of id's from a globally unique integer in C++ code to an extension-unique integer in javascript. The C++ unique id thus becomes a pair of <extension_id,int>. Also a couple of small drive-by cleanups while I was in some of the files. BUG=48198 TEST=The context menu API should work normally, given the changes described above. Review URL: http://codereview.chromium.org/2911007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52384 0039d316-1c4b-4281-b951-d872f2087c98
* Revert everything related to the relanding.erg@chromium.org2010-07-141-1/+0
| | | | | | Review URL: http://codereview.chromium.org/2982009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52367 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome.experimental.omnibox.styleUrl for highlighting text as an URL.mpcomplete@chromium.org2010-07-141-0/+4
| | | | | | | | | | | Update the chrome code search sample extension to have some fancier highlighting. TEST=none Review URL: http://codereview.chromium.org/2944012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52358 0039d316-1c4b-4281-b951-d872f2087c98
* Take out temporary code now that WebKit plugin change is rolled.jam@chromium.org2010-07-141-6/+0
| | | | | | Review URL: http://codereview.chromium.org/2934018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52355 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r52336.erg@chromium.org2010-07-141-0/+1
| | | | | | | | | | | | | | (I accidentally committed a previous version of the patch (the fixed version was in codereview since I had switched to my mac to address this exact compile failure.) BUG=none TEST=none TBR=evan Review URL: http://codereview.chromium.org/2937010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52349 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52336 - More header cleanup:erg@chromium.org2010-07-141-1/+0
| | | | | | | | | | | | | | | | - Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/2969006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52343 0039d316-1c4b-4281-b951-d872f2087c98
* First step in moving the password autocomplete code from the WebKit APIjcivelli@google.com2010-07-145-1/+889
| | | | | | | | | | | | | | | | | | | | | | to the Chromium code. This is currently behind a #define that will be defined in the WebKit API when the change is finished on that side. PasswordAutocompleteManager replaces webpasswordautocompletelistener_impl.cc, it is responsible for trigering password autocomplete The unit-tests in webpasswordautocompletelistener_unittest.cc have been ported to password_autocomplete_manager_unittest.cc. They are now test shell unit-tests so we don't have to use a wrapper around WebElements. BUG=None TEST=The new code is not yet enabled. Test that the password autocomplete still works as expected. Review URL: http://codereview.chromium.org/2827030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52342 0039d316-1c4b-4281-b951-d872f2087c98
* More header cleanup:erg@chromium.org2010-07-141-0/+1
| | | | | | | | | | | | | - Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52336 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize was_alternate_protocol_available_.lzheng@chromium.org2010-07-141-1/+2
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/2968010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52333 0039d316-1c4b-4281-b951-d872f2087c98
* The Chrome half of implementing get/put/remove for object stores ↵jorlow@chromium.org2010-07-145-34/+145
| | | | | | | | | | | (https://bugs.webkit.org/show_bug.cgi?id=41250). TEST=none BUG=none Review URL: http://codereview.chromium.org/2830030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52313 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Make Chrome work correctly in the case of AquaConnect OS X Terminal server.jeremy@chromium.org2010-07-141-0/+3
| | | | | | | | | | | Allow access to the /System/Library/ColorSync on all system version since it's apparently causing the renderer to display all colors as black when run from AquaConnect OS X terminal server, and there doesn't seem to be any point in blocking it. BUG=46648 TEST=Web pages should render the same. Review URL: http://codereview.chromium.org/2991002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52312 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up browser_resources.grd:pkasting@chromium.org2010-07-131-2/+2
| | | | | | | | | | | | | | * Flatten HTML where possible * Move resources only referenced by files in browser/resources/ into there (and out of the theme dir) * Remove duplicate/unreferenced resources * Remove IDs for resources that are inlined due to flattening * Remove IDR_CHAT_MANAGER_MANIFEST but leave the files on disk (they will be moving elsewhere some time soon) BUG=none TEST=none Review URL: http://codereview.chromium.org/2897015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52239 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame back forward navigations at times would mess up the navigation ↵ananta@chromium.org2010-07-131-2/+4
| | | | | | | | | | | | | | | | | | history if the back and the current page both were rendered in ChromeFrame. This was because the back operation would incorrectly navigate twice. Once via IE history navigation and the other navigation would originate within the renderer and would execute as a new navigation in IE. Fix is to not report backforward navigations as top level navigations to the external host. Fixes bug http://code.google.com/p/chromium/issues/detail?id=44403 Bug=44403 Test=Covered by ChromeFrame test Review URL: http://codereview.chromium.org/2982003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52235 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52161 -Accidental checkin. Load Pepper v2 internal pdf plugin.jam@chromium.org2010-07-131-6/+10
| | | | | | | | | | Also need to uncomment pepper_plugin_registry.cc Review URL: http://codereview.chromium.org/2804037 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/2968007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52165 0039d316-1c4b-4281-b951-d872f2087c98
* Load Pepper v2 internal pdf plugin.jam@chromium.org2010-07-131-10/+6
| | | | | | | Also need to uncomment pepper_plugin_registry.cc Review URL: http://codereview.chromium.org/2804037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52161 0039d316-1c4b-4281-b951-d872f2087c98
* Asynchronously launches the GPU process.apatrick@chromium.org2010-07-121-0/+8
| | | | | | | | | | | | | | | - First renderer process sends IPC to browser process causing it to prelaunch the GPU process. - IPC channel is subsequently established. - If EstablishAsyncChannelSync is not called during this period, it will not block. - Future renderer processes simply asynchronously establish the IPC channel. - This also causes the GPU process to be relaunched if it crashed. TEST=try, observed that GPU process launches even for pages without 3D content BUG=none Review URL: http://codereview.chromium.org/2952005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52152 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up renderer_resources.grd:pkasting@chromium.org2010-07-122-2/+1
| | | | | | | | | | | * Always mark HTML/CSS as "flattenhtml" unless not possible * Remove unused resource BUG=none TEST=none Review URL: http://codereview.chromium.org/2896005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52147 0039d316-1c4b-4281-b951-d872f2087c98
* Rename a header and some methods to make way for subsequent audio recording ↵satish@chromium.org2010-07-121-1/+1
| | | | | | | | | | | | | additions. Renaming audio_output.h to audio_io.h as future patches will add audio recording code to this file. Also renamed a couple of methods to make it clear that these are for audio playback/output and similar methods will be added for audio capture/recording soon. BUG=none TEST=no change in functionality. Review URL: http://codereview.chromium.org/2962006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52125 0039d316-1c4b-4281-b951-d872f2087c98
* Move idle from experimental.levin@chromium.org2010-07-121-1/+1
| | | | | | | | | TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.Idle BUG=None Review URL: http://codereview.chromium.org/2930001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52121 0039d316-1c4b-4281-b951-d872f2087c98
* Don't offer to translate pages if the page says so byjcivelli@google.com2010-07-122-2/+25
| | | | | | | | | | | using the magic Google meta-tag. BUG=48606 TEST=See bug. Review URL: http://codereview.chromium.org/2960001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52097 0039d316-1c4b-4281-b951-d872f2087c98
* Header cleanup: SkBitmap and other unnecessary includes.erg@chromium.org2010-07-124-2/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2891008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52093 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Use setSuggestedValue() instead of setPlaceholder() when previewingjhawkins@chromium.org2010-07-122-14/+14
| | | | | | | | | | | | forms. This protects the user's data from javascript that can read placeholder values. BUG=48233 TEST=FormManagerTest.PreviewForm Review URL: http://codereview.chromium.org/2845041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52091 0039d316-1c4b-4281-b951-d872f2087c98