summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
Commit message (Collapse)AuthorAgeFilesLines
* 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
* When creating a child ggl context, flush commands in the parent context ↵vangelis@chromium.org2010-06-221-0/+4
| | | | | | | | | first before attempting to get a texture id to make sure that the id's stay consistent. Review URL: http://codereview.chromium.org/2846021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50501 0039d316-1c4b-4281-b951-d872f2087c98
* Include WebDevToolsMessageTransport.h in devtools_agent_filter.ccmnaganov@chromium.org2010-06-221-0/+1
| | | | | | | | | | | | This is to allow cleaning up WebDevToolsAgentClient.h (see https://bugs.webkit.org/show_bug.cgi?id=40914) TEST=none BUG=none Review URL: http://codereview.chromium.org/2846024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50455 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused static implementation of sendMessageToFrontendOnIOThread.mnaganov@chromium.org2010-06-221-6/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2852016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50451 0039d316-1c4b-4281-b951-d872f2087c98
* In pages rendered in ChromeFrame window open requests or link clicks with ↵ananta@chromium.org2010-06-221-0/+13
| | | | | | | | | | | | | | | | | | | | | target blank which target a different origin should initiate the navigation in the host browser. We achieve this by performing an origin check on the opener frame and the URL being opened. If the origins don't match we allow the host browser to handle this navigation. There is still one issue here as a popup window creation request is still initiated and sent out to the host browser which initiates a dummy attach external tab navigation. Subsequently while applying policy the OpenURL IPC is sent out to the host browser which initiates the navigation to the expected URL. This causes a dummy attach external tab entry to be created in the host browser's history which would have to be deleted. Fixes bug http://code.google.com/p/chromium/issues/detail?id=46667 Bug=46667 Test=Covered by new chrome frame unit test. Review URL: http://codereview.chromium.org/2855017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50416 0039d316-1c4b-4281-b951-d872f2087c98
* Address some visual problems with the omnibox extension API:mpcomplete@chromium.org2010-06-211-0/+13
| | | | | | | | | | | | - Remove some of the boilerplate strings. - Allow the description field to be fully customizable and stylable. BUG=46478 BUG=46479 Review URL: http://codereview.chromium.org/2849015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50411 0039d316-1c4b-4281-b951-d872f2087c98
* Enhance comment above RenderThread with how this should be factored instead. ↵brettw@chromium.org2010-06-212-5/+28
| | | | | | | | | | The old suggestion won't work so I updated this with my latest thinking. TEST=none BUG=none Review URL: http://codereview.chromium.org/2859010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50404 0039d316-1c4b-4281-b951-d872f2087c98
* A/B test for determining a value for unused socket timeout. Currently theziadh@chromium.org2010-06-211-0/+34
| | | | | | | | | | | | | | timeout defaults to 10 seconds. Having this value set too low won't allow us to take advantage of idle sockets. Setting it to too high could possibly result in more ERR_CONNECT_RESETs, requiring one RTT to receive the RST packet and possibly another RTT to re-establish the connection. r=jar Review URL: http://codereview.chromium.org/2827016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50364 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50333 - Only allow installation of extensions/apps with gallery ↵tkent@chromium.org2010-06-212-3/+4
| | | | | | | | | | | | | | | | update url via download from gallery Because of multiple failures of unit_tests and interactive_ui_tests. BUG=45542 TEST=NONE Review URL: http://codereview.chromium.org/2855009 TBR=rafaelw@chromium.org Review URL: http://codereview.chromium.org/2822021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50334 0039d316-1c4b-4281-b951-d872f2087c98
* Only allow installation of extensions/apps with gallery update url via ↵rafaelw@chromium.org2010-06-212-4/+3
| | | | | | | | | | | download from gallery BUG=45542 TEST=NONE Review URL: http://codereview.chromium.org/2855009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50333 0039d316-1c4b-4281-b951-d872f2087c98
* Re-commit r50321 after rollback.jeremy@chromium.org2010-06-202-7/+42
| | | | | | | | Mac: Infrastructure for serialization of OS fonts over IPC. Renderer & Browser bits to send and receive IPC message for OOP font loading. Review URL: http://codereview.chromium.org/2841019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50323 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Mac: Infrastructure for serialization of OS fonts over IPC."jeremy@chromium.org2010-06-202-42/+7
| | | | | | Review URL: http://codereview.chromium.org/2846018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50322 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Infrastructure for serialization of OS fonts over IPC.jeremy@chromium.org2010-06-202-7/+42
| | | | | | | | | | | Renderer & Browser bits to send and receive IPC message for OOP font loading. BUG=29729 TEST=All unit tests should pass. Review URL: http://codereview.chromium.org/2811013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50321 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove some unneeded WebKit headers.thestig@chromium.org2010-06-181-1/+1
| | | | | | | | BUG=46666 TEST=none Review URL: http://codereview.chromium.org/2830012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50264 0039d316-1c4b-4281-b951-d872f2087c98
* Make WebDevToolsAgentClient::sendMessageToFrontendOnIOThread virtual.mnaganov@chromium.org2010-06-181-0/+15
| | | | | | | | | | | This is part of a fix for 39302 WebKit issue. BUG=none TEST=none Review URL: http://codereview.chromium.org/2125023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50218 0039d316-1c4b-4281-b951-d872f2087c98
* Split part of about_handler into chrome/common to break the browser-renderer ↵thestig@chromium.org2010-06-183-35/+44
| | | | | | | | | | dependency. BUG=46666 TEST=none Review URL: http://codereview.chromium.org/2814012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50209 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete API handlers now that upstream changes to frame name ↵atwilson@chromium.org2010-06-172-15/+2
| | | | | | | | plumbing have been pushed. Review URL: http://codereview.chromium.org/2806001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50114 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the dependency from renderer on browser.thestig@chromium.org2010-06-172-5/+0
| | | | | | | | BUG=46666 TEST=none Review URL: http://codereview.chromium.org/2852012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50081 0039d316-1c4b-4281-b951-d872f2087c98
* Allow /Library/Fonts through the sandbox. Needed for internal plugin.jabdelmalek@google.com2010-06-171-1/+3
| | | | | | Review URL: http://codereview.chromium.org/2831012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50079 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build errorjam@chromium.org2010-06-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50067 0039d316-1c4b-4281-b951-d872f2087c98
* Internal plugin needs to be loaded in a different place for the Linux sandbox.jam@chromium.org2010-06-171-3/+6
| | | | | | Review URL: http://codereview.chromium.org/2817012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50066 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 48693 - Only inject content scripts into HTML documents. Previously ↵aa@chromium.org2010-06-161-15/+0
| | | | | | | | | | | | | | | we would inject into SVG and raw XML documents as well. Injecting into SVG could conceivably be a feature, but I expect it would count as a "bug" more often than that, so I'm starting conservative. BUG=39845 Review URL: http://codereview.chromium.org/2389004 TBR=aa@chromium.org Review URL: http://codereview.chromium.org/2799010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50052 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50050 - Revert r48693: This broke existing extensions that wanted to ↵aa@chromium.org2010-06-161-0/+15
| | | | | | | | | | | | | run script on XML pages. For more info, see: http://code.google.com/p/chromium/issues/detail?id=39845#c7 TBR=rafaelw@chromium.org TBR=aa@chromium.org Review URL: http://codereview.chromium.org/2812006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50051 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r48693: This broke existing extensions that wanted to run script on XMLaa@chromium.org2010-06-161-15/+0
| | | | | | | | pages. For more info, see: http://code.google.com/p/chromium/issues/detail?id=39845#c7 TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50050 0039d316-1c4b-4281-b951-d872f2087c98
* Allow POST requests made from an extension process to reuse the same process,mpcomplete@chromium.org2010-06-161-1/+2
| | | | | | | | | | even when navigating to an external URL. See bug for details. BUG=39025 Review URL: http://codereview.chromium.org/2800005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49993 0039d316-1c4b-4281-b951-d872f2087c98
* Add makeContextCurrent() to all gl functions.zmo@google.com2010-06-161-0/+2
| | | | | | Review URL: http://codereview.chromium.org/2846007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49966 0039d316-1c4b-4281-b951-d872f2087c98
* Working towards -Wextrathomasvl@chromium.org2010-06-161-0/+1
| | | | | | | | | | | | - Make loops use {} instead of a ';' to make it clear there is no body to the loop. - Remove checks of unsigned values for <0 - coordinates should be CGFloat, not NSUInteger. BUG=34160 TEST=none Review URL: http://codereview.chromium.org/2865003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49939 0039d316-1c4b-4281-b951-d872f2087c98
* C++ readability for hbono.hbono@chromium.org2010-06-163-113/+120
| | | | | | | The original CL: http://codereview.chromium.org/577020 Review URL: http://codereview.chromium.org/2449002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49918 0039d316-1c4b-4281-b951-d872f2087c98