summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
Commit message (Collapse)AuthorAgeFilesLines
* 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
* DevTools: Migrate to new WebView initialization (pass devtools client directly).pfeldman@chromium.org2010-06-242-4/+2
| | | | | | Review URL: http://codereview.chromium.org/2864020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50726 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for vector printing for Pepper v1 plugins for Windows. Mac and ↵sanjeevr@chromium.org2010-06-242-0/+88
| | | | | | | | | | | Linux to follow. BUG=None. TEST=Test printing from Chrome PDF plugin on Windows. Review URL: http://codereview.chromium.org/2863019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50699 0039d316-1c4b-4281-b951-d872f2087c98
* Canvas refactoring part 2.ben@chromium.org2010-06-231-2/+2
| | | | | | | | | | | | - Rename Canvas to CanvasSkia. - Create a subclass Canvas that inherits from CanvasSkia for compatibility. BUG=none TEST=none Review URL: http://codereview.chromium.org/2862025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50664 0039d316-1c4b-4281-b951-d872f2087c98
* Convert WebPluginInfo from wstring to string16stuartmorgan@chromium.org2010-06-231-3/+3
| | | | | | | | | BUG=None TEST=No behavioral change; plugins should continue to work. Review URL: http://codereview.chromium.org/2866014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50650 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored ggl::SwapBuffers to take the GGL context as an argument. apatrick@chromium.org2010-06-234-5/+4
| | | | | | | | | | | | | | It was using the context made current with ggl::MakeCurrent before. The new design is more consistent with other SwapBuffers implementations. Already reviewed in a previous CL: http://codereview.chromium.org/2802007/show TEST=try BUG=none TBR=vangelis@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50649 0039d316-1c4b-4281-b951-d872f2087c98
* Improve input method support.suzhe@chromium.org2010-06-235-214/+146
| | | | | | | | | | | | | | | This CL fixes following issues: BUG=23219 IME should be disabled in password box. BUG=41876 Chinese IME is still active when current focus is not a text input control BUG=44529 Clause segmentation information of composition text is not honored when using CJK input methods. BUG=46326 Clicking during a composition cancels it TEST=See individual bug report. This CL is blocked on webkit bug: https://bugs.webkit.org/show_bug.cgi?id=40608 Review URL: http://codereview.chromium.org/2824015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50622 0039d316-1c4b-4281-b951-d872f2087c98
* Replace wstring with string16 in history. The only time wstring is used now ↵brettw@chromium.org2010-06-236-1/+42
| | | | | | | | | | | | in history is for bookmark-related stuff (the bookmarks system is still wstring-based). The substantial change here is in RTL to make a string16 variant of the functions and in changing the WordIterator to use string16 (this cleaned up some weird utf-32 code). TEST=none BUG=none Review URL: http://codereview.chromium.org/2808017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50597 0039d316-1c4b-4281-b951-d872f2087c98
* Reland - Only allow installation of extensions/apps with gallery update url ↵rafaelw@chromium.org2010-06-232-4/+3
| | | | | | | | | | | | | | via download from gallery original review here: http://codereview.chromium.org/2855009 BUG=45542 TEST=NONE TBR=aa Review URL: http://codereview.chromium.org/2872013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50571 0039d316-1c4b-4281-b951-d872f2087c98
* Fix files with svn:executable permissions.thestig@chromium.org2010-06-234-0/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50566 0039d316-1c4b-4281-b951-d872f2087c98
* code cleanup for media code for video renerers.jiesun@google.com2010-06-231-13/+3
| | | | | | | | | add more generic surface format and surface type signalling from video decoder to video renderer. if we want to allocate buffer in renderer, we had to know these kind of information. remove redundant ParseMediaFormat and duplicated width,height, egl_image_supports in derived class of VideoRenderBase. Review URL: http://codereview.chromium.org/2829009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50558 0039d316-1c4b-4281-b951-d872f2087c98
* Allow WebGLES2 contexts to be initialized with a parent context for the purposesvangelis@chromium.org2010-06-222-1/+24
| | | | | | | | of sharing resources. BUG=47205 Review URL: http://codereview.chromium.org/2844015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50526 0039d316-1c4b-4281-b951-d872f2087c98