summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Implement BiDi support and replace ID support for notifications.johnnyg@chromium.org2010-07-121-6/+19
| | | | | | | | | BUG=none TEST=layout tests Review URL: http://codereview.chromium.org/1917004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52090 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r52072. Pass notifications to the browser on access to the appcache ↵jochen@chromium.org2010-07-122-7/+14
| | | | | | | | | | | | main resource manifest. BUG=45230 TEST=browser_tests TBR=vandebo Review URL: http://codereview.chromium.org/2980001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52074 0039d316-1c4b-4281-b951-d872f2087c98
* Failed compile on Chromium builder dbgvandebo@chromium.org2010-07-122-14/+7
| | | | | | | | | | | | | | Revert 52072 - Pass notifications to the browser on access to the appcache main resource manifest. BUG=45230 TEST=browser_tests Review URL: http://codereview.chromium.org/2808046 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/2925008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52073 0039d316-1c4b-4281-b951-d872f2087c98
* Pass notifications to the browser on access to the appcache main resource ↵jochen@chromium.org2010-07-122-7/+14
| | | | | | | | | | | manifest. BUG=45230 TEST=browser_tests Review URL: http://codereview.chromium.org/2808046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52072 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of removing WebPlugin::supportsFind.jam@chromium.org2010-07-103-12/+10
| | | | | | Review URL: http://codereview.chromium.org/2898005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52040 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper v2 Font API browser implementation.jam@chromium.org2010-07-093-4/+18
| | | | | | Review URL: http://codereview.chromium.org/2956002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52009 0039d316-1c4b-4281-b951-d872f2087c98
* Add --allow-scripting-gallery command line switch to allow extensionssdoyon@chromium.org2010-07-093-7/+12
| | | | | | | | | | | | | | | and scripts to run on the Chrome Extensions Gallery site. There are security concerns in enabling this and so it remains off by default, but this is needed for automation testing of the gallery. Cleanup: Have UserScriptSlave::InjectScripts() return void instead of a bogus bool. TEST=Visit http://chrome.google.com/extensions, check that content scripts work when the command-line switch is given, and are not injected when the switch is not given. BUG=none Review URL: http://codereview.chromium.org/2912002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51977 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanup of the extensions context menu API. asargent@chromium.org2010-07-092-10/+4
| | | | | | | | | | | | | | | | | | This CL contains the following: -Use lower case names for enum values in the create/update properties (eg 'page' instead of 'PAGE') -Make the top-level API name plural (contextMenus instead of contextMenu) -Don't fire onclick handlers for a parent menu item when one of its children is clicked on. -Remove the enabledContexts property for now, to eventually be replaced with a way to programmatically enable/disable. There are a few more things in the bug that I'll be doing in subsequent CL's. BUG=48198 TEST=Extensions using the context menu API should work with the changes described above. Review URL: http://codereview.chromium.org/2887013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51970 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up Chromium code to follow message loop reentrancy fix in WebKit ↵apavlov@chromium.org2010-07-092-10/+2
| | | | | | | | | | | (https://bugs.webkit.org/show_bug.cgi?id=41697) BUG=36438 TEST=DevToolsSanityTest.TestMessageLoopReentrant Review URL: http://codereview.chromium.org/2965002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51949 0039d316-1c4b-4281-b951-d872f2087c98
* Add URL-based features for client-side phishing detection.bryner@chromium.org2010-07-096-0/+476
| | | | | | | | | | | | | | This change implements the URL-based features that we'll use for client-side phishing detection. Right now, the features are simply inserted into a map. Later changes will add content-based features, scoring, and hook up the code to run after page load is finished. BUG=none TEST=PhishingUrlFeatureExtractorTest, PhishingFeaturesTest Review URL: http://codereview.chromium.org/2843036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51922 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up .grds, step 1: Alphabetize.pkasting@chromium.org2010-07-081-5/+5
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51906 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a Chrome renderer crash which occurs on closing the print dialog right ↵ananta@chromium.org2010-07-081-4/+2
| | | | | | | | | | | | | | | after it was opened. This is because of attempting to calculate the printable area while the settings are invalid leading to a divide by zero crash. Fixes bug http://code.google.com/p/chromium/issues/detail?id=48493 Bug=48493 Review URL: http://codereview.chromium.org/2809053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51901 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile (add include of WebSize to webgles2context_impl.h)jamesr@chromium.org2010-07-082-1/+1
| | | | | | | | | | TBR=kbr TEST=compile BUG=none Review URL: http://codereview.chromium.org/2895003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51894 0039d316-1c4b-4281-b951-d872f2087c98
* Switch WebGLES2Context::resizeOffscreenContent to use a WebSize instead of ↵jamesr@chromium.org2010-07-082-3/+4
| | | | | | | | | | | int/int TEST=none BUG=none Review URL: http://codereview.chromium.org/2924006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51890 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of making RenderView not special case PluginDocument and making ↵jam@chromium.org2010-07-086-76/+54
| | | | | | | | the WebPlugin API more like WebView. Review URL: http://codereview.chromium.org/2827047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51886 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Flush cairo surface at end of CanvasPaintLinux.estade@chromium.org2010-07-081-0/+2
| | | | | | | | | | | I also added some cairo_surface_flush calls for good measure, mostly to match the GIMP patch, but I don't really have any way of testing whether these are necessary. BUG=47064 TEST=manual (see bug) - throbber, download icons, etc. should be fixed Review URL: http://codereview.chromium.org/2802034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51871 0039d316-1c4b-4281-b951-d872f2087c98
* Expose functions to resize and get the texture ID from offscreen GLES2 contextsjamesr@chromium.org2010-07-082-0/+11
| | | | | | | | | | Will be paired with a WebKit-side change to expose these on WebGLES2Context. It's safe to land this patch first, however, since it will just define functions that are not (yet) called. TEST=none BUG=none Review URL: http://codereview.chromium.org/2842045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51819 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of Pepper v2 scrollbar widget.jam@chromium.org2010-07-081-2/+2
| | | | | | Review URL: http://codereview.chromium.org/2884016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51818 0039d316-1c4b-4281-b951-d872f2087c98
* Implement new Chromium IPCs for copying/dragging.dcheng@chromium.org2010-07-071-0/+25
| | | | | | | | | | | A new ClipboardDispatcher interface has been added to handle the IPC calls. The new methods don't really belong on the existing Clipboard class, since that class deals with only copy and paste. On Windows and Mac, ClipboardDispatcher will share logic for copy/paste and drag/drop. GTK will have to use two separate code paths. BUG=31037 TEST=none Review URL: http://codereview.chromium.org/2842016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51790 0039d316-1c4b-4281-b951-d872f2087c98
* Autocomplete and AutoFill entries are shown combined in the suggestions popup.dhollowa@chromium.org2010-07-073-41/+52
| | | | | | | | | | | These changes merge popup menu suggestions for Autocomplete and AutoFill. Suggestions are collected from both sources and returned to the renderer as a single list. This combined list is given to WebKit to display in the suggestions popup. When the user selects an item in the popup the appropriate result gets filled in the fields. BUG=41328 TEST=AutoFillManagerTest.* Review URL: http://codereview.chromium.org/2878020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51736 0039d316-1c4b-4281-b951-d872f2087c98
* Move default_plugin from webkit/ to chrome/thakis@chromium.org2010-07-072-2/+1
| | | | | | | | | | | Second try, first try at http://codereview.chromium.org/2803035 . Also contains http://codereview.chromium.org/2838044 , changes to DEPS files (mostly cleanups), and a change to webkit/glue/plugins/webplugin_delegate_impl_win.cc . BUG= 48419 TEST=everything still builds Review URL: http://codereview.chromium.org/2813047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51692 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51681 - Move default_plugin out of webkit.thakis@chromium.org2010-07-071-1/+1
| | | | | | | | | | | BUG=48419 Review URL: http://codereview.chromium.org/2803035 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/2819043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51684 0039d316-1c4b-4281-b951-d872f2087c98
* Move default_plugin out of webkit.thakis@chromium.org2010-07-071-1/+1
| | | | | | | | BUG=48419 Review URL: http://codereview.chromium.org/2803035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51681 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51572 - Clean up .grds, step 1: Alphabetize.pkasting@chromium.org2010-07-021-5/+5
| | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2838041 TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/2864039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51575 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up .grds, step 1: Alphabetize.pkasting@chromium.org2010-07-021-5/+5
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2838041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51572 0039d316-1c4b-4281-b951-d872f2087c98
* Store blocked and accessed cookies in the tab contents.jochen@chromium.org2010-07-021-2/+6
| | | | | | | | | | | This will enable chrome to display all cookies used/blocked on the current site to the user instead of just the information that something was blocked. The cookies are collected in data structures suitable for displaying them using the cookies tree model. BUG=45230 TEST=none Review URL: http://codereview.chromium.org/2370001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51545 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared between runs.mlloyd@chromium.org2010-07-021-0/+5
| | | | | | | | | BUG=None. TEST=Unit tests pass. Review URL: http://codereview.chromium.org/2819037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51541 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for omnibox.onInputStarted and onInputCancelled.mpcomplete@chromium.org2010-07-021-18/+2
| | | | | | | | | | | | Also fix a bug where we'd keep an extension's old keyword even if it changed on upgrade/reload. BUG=46475 BUG=48091 Review URL: http://codereview.chromium.org/2807033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51540 0039d316-1c4b-4281-b951-d872f2087c98
* Fix style issues pointed in another change.hamaji@chromium.org2010-07-022-14/+14
| | | | | | | | | BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2841035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51508 0039d316-1c4b-4281-b951-d872f2087c98
* Implement limited paged media support for win.hamaji@chromium.org2010-07-022-5/+52
| | | | | | | | | BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2859040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51501 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a temporary switch --enable-glsl-translator which gman@chromium.org2010-07-021-1/+4
| | | | | | | | | | | | | | | turns on the OpenGL ES GLSL -> OpenGL GLSL translator in WebGL. This will be removed in a few weeks it becomes the default but we need it now for testing. TEST=hand tested BUG=none Review URL: http://codereview.chromium.org/2815008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51466 0039d316-1c4b-4281-b951-d872f2087c98
* Revert some changes I accidentally checked in in revision 50597. This was anbrettw@chromium.org2010-07-016-42/+1
| | | | | | | | | | | experiment to see how much time was spent doing background painting. This resulted in incorrect opacity for Pepper plugins repainting themselves. TEST=none BUG=none Review URL: http://codereview.chromium.org/2830034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51420 0039d316-1c4b-4281-b951-d872f2087c98
* Implement limited paged media support for mac.hamaji@chromium.org2010-07-013-5/+59
| | | | | | | | | BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2876020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51347 0039d316-1c4b-4281-b951-d872f2087c98