summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add the concept of browse extent.aa@chromium.org2010-07-013-7/+28
| | | | | | | | BUG=46636 Review URL: http://codereview.chromium.org/2862034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51327 0039d316-1c4b-4281-b951-d872f2087c98
* **Reapply change that caused build break in chromeos/arm**rogerta@google.com2010-07-011-0/+1
| | | | | | | | | | | Add support for RLZ chrome extension api. BUG=None TEST=See unit tests as part of this CL. Review URL: http://codereview.chromium.org/2864024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51326 0039d316-1c4b-4281-b951-d872f2087c98
* Parent the GL context used by WebGL to the GL context attached to the ↵vangelis@chromium.org2010-06-302-11/+22
| | | | | | | | | | | WebView (and used by the compositor) if gpu compositing is enabled. BUG=47870 TEST=none Review URL: http://codereview.chromium.org/2838031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51302 0039d316-1c4b-4281-b951-d872f2087c98
* Add a wildcard scheme and a special 'all_urls' pattern to URLPattern.mpcomplete@chromium.org2010-06-302-6/+17
| | | | | | | | BUG=47179 Review URL: http://codereview.chromium.org/2884008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51295 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for language detection on the server side.jcivelli@chromium.org2010-06-301-1/+4
| | | | | | | | | | | | | | | | | Relanding: http://codereview.chromium.org/2860037 The CLD can sometimes fail to detect the language of a page, in which case the translate server might be able to. This CL ensures the browser deals with the server side language detection properly. Also added a new factory method to create error translate infobar delegates that does not assert when the language code is incorrect. Also changed the enums in TranslateInfoBarDelegate2 to use the constant name style, as it is the preferred naming for enums according to the style guide. BUG=40857 TEST=Visit http://www.saanconf.org/saanday.htm, use the context menu to translate the page. You should get an error mentioning the page is already in English. Review URL: http://codereview.chromium.org/2854032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51288 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51263 (breaks the Linux views build)jcivelli@chromium.org2010-06-301-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | Adds support for language detection on the server side. The CLD can sometimes fail to detect the language of a page, in which case the translate server might be able to. This CL ensures the browser deals with the server side language detection properly. Also added a new factory method to create error translate infobar delegates that does not assert when the language code is incorrect. Also changed the enums in TranslateInfoBarDelegate2 to use the constant name style, as it is the preferred naming for enums according to the style guide. Original review: http://codereview.chromium.org/2859013/show BUG=40857 TEST=Visit http://www.saanconf.org/saanday.htm, use the context menu to translate the page. You should get an error mentioning the page is already in English. Review URL: http://codereview.chromium.org/2860037 TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/2873035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51265 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for language detection on the server side.jcivelli@chromium.org2010-06-301-1/+4
| | | | | | | | | | | | | | | | | | | | The CLD can sometimes fail to detect the language of a page, in which case the translate server might be able to. This CL ensures the browser deals with the server side language detection properly. Also added a new factory method to create error translate infobar delegates that does not assert when the language code is incorrect. Also changed the enums in TranslateInfoBarDelegate2 to use the constant name style, as it is the preferred naming for enums according to the style guide. Original review: http://codereview.chromium.org/2859013/show BUG=40857 TEST=Visit http://www.saanconf.org/saanday.htm, use the context menu to translate the page. You should get an error mentioning the page is already in English. Review URL: http://codereview.chromium.org/2860037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51263 0039d316-1c4b-4281-b951-d872f2087c98
* Require renegotiation info from a whitelist of servers.agl@chromium.org2010-06-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | The renegotiation extension was introduced into TLS in [1], to address the attack described in [2]. In order to fully protect ourselves, clients need to require support from servers. However, these things take a long time to roll out. As an initial measure, we start to require the extension from a whitelist of servers that we known to support the extension. We are then protected from prefix attacks against these servers. Over time, if the list grows we might want to share it with Mozilla, but we'll start simple. [1] http://tools.ietf.org/html/rfc5746 [2] http://www.educatedguesswork.org/2009/11/understanding_the_tls_renegoti.html http://codereview.chromium.org/2045006/show TEST=Setup a dummy TLS server without renegotiation extension support (Hardy) will do and force mail.google.com to it using /etc/hosts. Navigate to https://mail.google.com and check for ERR_SSL_UNSAFE_NEGOTIATION. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51258 0039d316-1c4b-4281-b951-d872f2087c98
* Move GetPageSizeAndMarginsInPoints from linux code to generic code.hamaji@chromium.org2010-06-303-66/+126
| | | | | | | | | | | It seems we can use this function in other environments. BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2807029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51227 0039d316-1c4b-4281-b951-d872f2087c98
* Implement getAttachedShaders for WebGL.zmo@google.com2010-06-302-0/+8
| | | | | | Review URL: http://codereview.chromium.org/2805047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51206 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill fills only clicked field when form was filled prior.dhollowa@chromium.org2010-06-303-0/+70
| | | | | | | | | | | | These changes make it so that individual fields are filled with the value selected from the input element popup menu. AutoFill profile data is not queried in this case. BUG=44618, 47917 TEST=RenderViewTest.SendForms, RenderViewTest.FillFormElement Review URL: http://codereview.chromium.org/2808036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51200 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for vector printing for Pepper v1 plugins for Linux.sanjeevr@chromium.org2010-06-292-9/+55
| | | | | | | | | BUG=None TEST=Test printing from Chrome PDF plugin on Linux. Review URL: http://codereview.chromium.org/2807027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51181 0039d316-1c4b-4281-b951-d872f2087c98
* Allow quering Pepper plugin for selected text for the context menu. Also ↵jam@chromium.org2010-06-292-2/+35
| | | | | | | | take out the ability to access the clipboard since it's not exposed to HTML for security reasons. Review URL: http://codereview.chromium.org/2841028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51159 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for allowing a parent GGL context to be destroyed before all ↵apatrick@chromium.org2010-06-291-6/+7
| | | | | | | | | | | | of its children. I made the parent_ pointer a WeakPtr. It is correct to not free the offscreen texture ID if the parent is destroyed first. It is freed as part of the parent's destruction. TEST=trybot BUG=47594 Review URL: http://codereview.chromium.org/2882004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51139 0039d316-1c4b-4281-b951-d872f2087c98
* Implement limited paged media support for linux.hamaji@chromium.org2010-06-291-13/+101
| | | | | | | | | BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2847025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51104 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a build failure caused by the patch of ↵suzhe@chromium.org2010-06-281-1/+0
| | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=41244 BUG=none TEST=none Review URL: http://codereview.chromium.org/2860033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51063 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a new signature for ↵vangelis@chromium.org2010-06-282-0/+28
| | | | | | | | | | | WebGraphicsContext3DCommandBufferImpl::initialize() in preparation for an upstream change to WebGraphicsContext3D. The proper implementatation of the new initializer will be added once the upstream changes have landed. Also adding getPlatformTextureId() and prepareTexture() which will soon be defined in WebGraphicsContext3D. Review URL: http://codereview.chromium.org/2864021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51051 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51042 - Show a warning message if the cache might not be cleared ↵sky@chromium.org2010-06-281-5/+0
| | | | | | | | | | | correctly between runs. Review URL: http://codereview.chromium.org/2834025 TBR=mlloyd@chromium.org Review URL: http://codereview.chromium.org/2856018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51046 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared correctly between runs.mlloyd@chromium.org2010-06-281-0/+5
| | | | | | Review URL: http://codereview.chromium.org/2834025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51042 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for vector printing of Pepper v1 plugins on the Mac.sanjeevr@chromium.org2010-06-281-4/+17
| | | | | | | | | BUG=None. TEST=Test printing from Chrome PDF plugin on the Mac. Review URL: http://codereview.chromium.org/2808029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51008 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50977 - Add support for RLZ chrome extension api.sky@chromium.org2010-06-281-1/+0
| | | | | | | | | | | | BUG=NONE TEST=See unit tests as part of this CL. Review URL: http://codereview.chromium.org/2804010 TBR=rogerta@google.com Review URL: http://codereview.chromium.org/2835022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50979 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for RLZ chrome extension api.rogerta@google.com2010-06-281-0/+1
| | | | | | | | | BUG=NONE TEST=See unit tests as part of this CL. Review URL: http://codereview.chromium.org/2804010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50977 0039d316-1c4b-4281-b951-d872f2087c98
* Create constant variables kPointsPerInch and kPixelsPerInch and conversion ↵hamaji@chromium.org2010-06-283-11/+10
| | | | | | | | | | | functions. BUG=47277 TEST=units_unittest.cc Review URL: http://codereview.chromium.org/2877001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50968 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Dns prefetching files to Predictor filesjar@chromium.org2010-06-279-17/+18
| | | | | | | | | | | | We are now doing more than DNS pre-resolution, and want to do TCP/IP pre-warming. This change uses the updated class names etc., and tries to use Predictor as the common element in most names. r=mbelshe Review URL: http://codereview.chromium.org/2866026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50951 0039d316-1c4b-4281-b951-d872f2087c98
* Add field trial stats for alternate_protocol. The histogram we collected are: lzheng@chromium.org2010-06-263-1/+70
| | | | | | | | | | | | | | | | | | | | | http stats when alternate protocol is available but npn was not negotiated ( which means not usng spdy), and when alternate is available AND spdy is used. Noticable changes: 1. In http_network_transaction.cc, changed the logic that always parse response from server for alternate protocol and remember that in HttpAlternateProtocols strucuture. We need to remember this to collect stats for servers with alternate protocol support but used http for. 2. In spdy_stream.cc, get rid of the response copy from spdy_stream. This copy overwrites some early status in response set in http_network_transaction. TEST=http_network_transaction_unittest.cc BUG=46689 Review URL: http://codereview.chromium.org/2808010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50927 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: GRD strings cleanup.jhawkins@chromium.org2010-06-251-1/+1
| | | | | | | | | BUG=47422 TEST=none Review URL: http://codereview.chromium.org/2852025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50879 0039d316-1c4b-4281-b951-d872f2087c98
* Fix two webgl crashes.pathorn@chromium.org2010-06-251-3/+3
| | | | | | | | | | | | Uninitialized variable in getProgramInfoLog and friends. Fix crash in GLES2DecoderImpl if resizing the <canvas> when parent_ is null. BUG=44590 TEST=64-bit chrome on Linux is able to run the o3d-webgl samples. Review URL: http://codereview.chromium.org/2819025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50861 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: migrate to new WebView constructor.pfeldman@chromium.org2010-06-252-4/+2
| | | | | | Review URL: http://codereview.chromium.org/2814033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50839 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in Lei's fix from http://codereview.chromium.org/2827024: Don't ↵jam@chromium.org2010-06-251-7/+9
| | | | | | | | | | crash if the pdf plugin couldn't be loaded. BUG=47362 TBR=thestig Review URL: http://codereview.chromium.org/2852026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50814 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r50807aa@chromium.org2010-06-251-0/+0
| | | | | | TBR=arv@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50811 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize WebKit for unit_tests process. Before it was getting initialized ↵aa@chromium.org2010-06-251-0/+0
| | | | | | | | by one of the tests, but it is needed by more than one of them. Review URL: http://codereview.chromium.org/2853007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50807 0039d316-1c4b-4281-b951-d872f2087c98
* AppCache: Output some information to the javascript console.michaeln@chromium.org2010-06-252-4/+22
| | | | | | | | BUG=13685 TEST=manual Review URL: http://codereview.chromium.org/2805030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50796 0039d316-1c4b-4281-b951-d872f2087c98
* Change classes and functions for DNS Prefetching to Predictor*jar@chromium.org2010-06-255-33/+33
| | | | | | | | | | | | | | | The DNS prefetching system has been extended to handle TCP/IP preconnection. As a result, class names and function names will be migrated to variations on Predictor* and Predict* to better indicate functionality. This change is only meant to include name changes, comment updates, and no semantic changes. r=mbelshe Review URL: http://codereview.chromium.org/2813031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50792 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Don't show labels in the suggestions popup when the user is editing ajhawkins@chromium.org2010-06-241-1/+2
| | | | | | | | | | | field in an auto-filled form. BUG=47437 TEST=AutoFillManagerTest.GetFieldSuggestionsFormIsAutoFilled Review URL: http://codereview.chromium.org/2861025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50782 0039d316-1c4b-4281-b951-d872f2087c98
* 1. remove initial rendering lag time for egl image decoding pathwjia@google.com2010-06-242-5/+9
| | | | | | | | | | | 2. put all GLES operations in one thread BUG=none TEST=dev platform and desktop Review URL: http://codereview.chromium.org/2836019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50749 0039d316-1c4b-4281-b951-d872f2087c98
* Require user opt-in before allowing content script injection on file URLs.mpcomplete@chromium.org2010-06-241-0/+3
| | | | | | | | BUG=47180 Review URL: http://codereview.chromium.org/2809034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50737 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50726 "DevTools: Migrate to new WebView initialization (pass devtools ↵pfeldman@chromium.org2010-06-242-2/+4
| | | | | | | | client directly)." Review URL: http://codereview.chromium.org/2871023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50727 0039d316-1c4b-4281-b951-d872f2087c98