summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.cc
Commit message (Collapse)AuthorAgeFilesLines
* Turn GPU accelerated features (WebGL, compositing, accelerated 2d canvas) ↵jamesr@chromium.org2010-12-031-1/+1
| | | | | | | | | | | | | off for background pages We don't support turning compositing on for a background page currently and it doesn't seem necessary. This disables all GPU-requiring features for background pages for now. When we have valid use cases we can re-enable features as needed. BUG=64512 TEST=load extension that uses 3d CSS in a background page and verify that there is no browser crash or GPU process created on startup Review URL: http://codereview.chromium.org/5369008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68130 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a new command line flag (--enable-accelerated-layers) for turning vangelis@chromium.org2010-12-021-2/+19
| | | | | | | | | | | | | on the accelerated compositor for 3D CSS, Video, Plugins and Animations. Also the compositor will now always be enabled for WebGL and accelerated 2D canvas content. In addition, added an about:flags entry for the flag using the same name and description as our old "enable accelerated compositing" entry had, however triggering the new flag. This CL must be checked in after the patch for https://bugs.webkit.org/show_bug.cgi?id=50301 lands. BUG=64589 Review URL: http://codereview.chromium.org/5421001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68064 0039d316-1c4b-4281-b951-d872f2087c98
* Expose WebKit frame flattening setting in WebPreferences.johnme@google.com2010-11-191-0/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5194003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66796 0039d316-1c4b-4281-b951-d872f2087c98
* Change default minimum font size to 0jamesr@chromium.org2010-11-171-1/+1
| | | | | | | | | | | | | Chromium side of http://trac.webkit.org/changeset/72141, needed to pass Acid3. Changes the default minimum font size from 1 to 0. BUG=none TEST=acid3 Review URL: http://codereview.chromium.org/4954002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66488 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Further parts of r61237 that should be harmless to chrome_frame.erg@google.com2010-10-131-0/+49
| | | | | | | | | BUG=none TEST=compiles everywhere Review URL: http://codereview.chromium.org/3748004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62473 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."erg@google.com2010-10-011-49/+0
| | | | | | | | | | | This reverts commit 27ea47d65cf8767f350113d5ad9e25170efde811 (r61237). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3609005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61240 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-011-0/+49
| | | | | | | | | | | (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebKitCaretBrowsingEnabled support totony@chromium.org2010-09-241-0/+1
| | | | | | | | | | | | overridePreferences in test_shell. This is the companion patch to http://trac.webkit.org/changeset/68191 , which adds this to DRT. This depends on a webkit DEPS roll. Review URL: http://codereview.chromium.org/3442014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60485 0039d316-1c4b-4281-b951-d872f2087c98
* Add test_shell support for enabling hyperlink auditingjaphet@chromium.org2010-09-241-0/+1
| | | | | | | | | | BUG=none TEST=http/tests/navigation/ping-* pass Review URL: http://codereview.chromium.org/3412029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60473 0039d316-1c4b-4281-b951-d872f2087c98
* Remove reference to obsolete web preference. The legacy parser no longerabarth@chromium.org2010-08-251-1/+0
| | | | | | | | exists so it can't be enabled. Review URL: http://codereview.chromium.org/3157038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57259 0039d316-1c4b-4281-b951-d872f2087c98
* WebGL web preferences do not disable WebGL if already enabled.apatrick@chromium.org2010-08-061-1/+2
| | | | | | | | | | | This means WebGL is enabled in the test shell. TEST=try, layout tests BUG=none Review URL: http://codereview.chromium.org/3047051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55313 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line switch to control accelerated 2d canvasjamesr@chromium.org2010-07-291-0/+3
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/2873074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54159 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce "--enable-memory-info" command-line flag to enable reportingmnaganov@chromium.org2010-07-191-0/+3
| | | | | | | | | | | | of JS heap size via "console.memory" (for now) and "webkitPerformance.memory" (having Web Timing enabled). BUG=43281 TEST=none Review URL: http://codereview.chromium.org/3017007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52886 0039d316-1c4b-4281-b951-d872f2087c98
* Fix files with svn:executable permissions.thestig@chromium.org2010-06-231-0/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50566 0039d316-1c4b-4281-b951-d872f2087c98
* Adding command line flag for enabling accelerated compositing.vangelis@chromium.org2010-06-021-0/+3
| | | | | | | | | | This CL cannot be checked in until the patch for: https://bugs.webkit.org/show_bug.cgi?id=39917 has landed. BUG=45373 Review URL: http://codereview.chromium.org/2330004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48754 0039d316-1c4b-4281-b951-d872f2087c98
* Adds --html5-parser flag to test_shell to test out the new HTML5 parsing codejamesr@chromium.org2010-06-011-0/+1
| | | | | | | | | | | This mirrors the same flag present in DumpRenderTree. TEST=none BUG=none Review URL: http://codereview.chromium.org/2477002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48661 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: inspector settings are now serialized into map, not a stringpfeldman@chromium.org2010-06-011-2/+4
| | | | | | | | | | WebKit roll 60462:60647 Original review: http://codereview.chromium.org/2422001 Review URL: http://codereview.chromium.org/2459002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48628 0039d316-1c4b-4281-b951-d872f2087c98
* Update Webkit 58626:58719. Make use of new setting for disabling clipboard ↵inferno@chromium.org2010-05-041-0/+1
| | | | | | | | | | | access, already added in webkit as part of fix - https://bugs.webkit.org/show_bug.cgi?id=27751. Enable the setting in Test framework. Also, provide a command-line switch for this setting. BUG=41654 TEST=None Review URL: http://codereview.chromium.org/1815005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46299 0039d316-1c4b-4281-b951-d872f2087c98
* Implement two missing methods on layoutTestController:mpcomplete@chromium.org2010-04-191-0/+1
| | | | | | | | | | | | - addUserStyleSheet - setAuthorAndUserStylesEnabled BUG=24197 BUG=21113 Review URL: http://codereview.chromium.org/1654007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44954 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r40855 with chromeos fix.jhawkins@chromium.org2010-03-071-0/+1
| | | | | | | | | | | webkit/glue: string_util.h -> utf_string_conversions.h fix. TBR=bradnelson BUG=none TEST=none Review URL: http://codereview.chromium.org/668242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40872 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 40855 - webkit/glue: string_util.h > utf_string_conversions.h fix.bradnelson@google.com2010-03-071-1/+0
| | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668229 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/669251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40856 0039d316-1c4b-4281-b951-d872f2087c98
* webkit/glue: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-071-0/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40855 0039d316-1c4b-4281-b951-d872f2087c98
* Replace a call to settings->setDatabasesEnabled [which is about to go away] withericu@google.com2010-03-041-1/+1
| | | | | | | | | | | | | | a call to WebRuntimeFeatures::enableDatabase. This is to prepare the way for WebKit changes in https://bugs.webkit.org/show_bug.cgi?id=35310. BUG=none TEST=none Review URL: http://codereview.chromium.org/661233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40594 0039d316-1c4b-4281-b951-d872f2087c98
* Remove usages of obsolete WebSettings::setGeolocation so it can be removed ↵joth@chromium.org2010-02-231-4/+0
| | | | | | | | | | | from webkit BUG=https://bugs.webkit.org/show_bug.cgi?id=35242 TEST=none Review URL: http://codereview.chromium.org/650148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39707 0039d316-1c4b-4281-b951-d872f2087c98
* Adding command line flag (--show-composited-render-layers) to enable the ↵vangelis@chromium.org2010-02-191-0/+4
| | | | | | | | | | | showDebugBorders setting in WebKit which is used for displaying a border around composited layers. BUG=35613 TEST=NONE Review URL: http://codereview.chromium.org/593099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39483 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium plumbing for new file:// security flag, including test_shell support.cevans@chromium.org2010-02-181-0/+1
| | | | | | | | | | | | | This change does not alter behaviour but will enable a WebKit test to be written. BUG=4197 TEST=WebKit test pending TBR=abarth Review URL: http://codereview.chromium.org/625009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39334 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 39287 - Chromium pieces to use the WebKit support for isolation ↵cevans@chromium.org2010-02-181-1/+0
| | | | | | | | | | | | | | | | | | file:// documents in their own unique domains. By default, we use this isolation for security. We provide a command line switch override for developers: allowfileaccessfromfiles BUG=4197 TEST=WebKit test pending Review URL: http://codereview.chromium.org/625001 TBR=abarth@chromium.org Review URL: http://codereview.chromium.org/625007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39304 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium pieces to use the WebKit support for isolation file:// documents incevans@chromium.org2010-02-171-0/+1
| | | | | | | | | | | | | their own unique domains. By default, we use this isolation for security. We provide a command line switch override for developers: --allow-file-access-from-files BUG=4197 TEST=WebKit test pending Review URL: http://codereview.chromium.org/625001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39287 0039d316-1c4b-4281-b951-d872f2087c98
* Add command line flag and associated prefs to allow run-time enable of ↵dglazkov@chromium.org2009-12-101-0/+4
| | | | | | | | | | | | | | geolocaiton features. Once this is landed we can enable GEOLOCATION in WebKit at build time, allowing proper tests to be written that utilize this flag. BUG=29182 TEST=Manually enabled GEOLOCATION in WebKit and passed the command line flag. Review URL: http://codereview.chromium.org/460020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34257 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb through site-specific quirks setting with a command line switch.dglazkov@chromium.org2009-11-251-0/+1
| | | | | | | | | | | | Quirks are enabled by default. R=darin BUG=19586 TEST=wikileaks.org should now have its sidebar in the proper place. Review URL: http://codereview.chromium.org/442010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33107 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-121-6/+6
| | | | | | | | | | | | This mega patch contains a few simple but tightly dependent changes: 1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org. 2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion. 3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp. 4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch. Review URL: http://codereview.chromium.org/387020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31749 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to the new way of enabling/disabling session/local storage. jorlow@chromium.org2009-11-051-1/+0
| | | | | | | | BUG=none TEST=|'localStorage' in window| should only be true iff --enable-local-storage is specified Review URL: http://codereview.chromium.org/335034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31082 0039d316-1c4b-4281-b951-d872f2087c98
* Change notification cmd line enabling to use the new RuntimeEnabledFeatures ↵johnnyg@chromium.org2009-10-311-2/+0
| | | | | | | | | | | code. BUG=25318 TEST=none Review URL: http://codereview.chromium.org/339093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30660 0039d316-1c4b-4281-b951-d872f2087c98
* Move various runtime enabled features into a WebRuntimeFeatures class.darin@chromium.org2009-10-301-1/+4
| | | | | | | | | | | | There are separate functions to set/test each feature. R=jorlow BUG=25286 TEST=none Review URL: http://codereview.chromium.org/343001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30564 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 29747 - Switch over to the new way of enabling/disabling ↵nsylvain@chromium.org2009-10-221-0/+1
| | | | | | | | | | | | | | | session/local storage. BUG=none TEST=|'localStorage' in window| should only be true iff enablelocalstorage is specified Review URL: http://codereview.chromium.org/293032 TBR=jorlow@chromium.org Review URL: http://codereview.chromium.org/315009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29754 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to the new way of enabling/disabling session/local storage.jorlow@chromium.org2009-10-221-1/+0
| | | | | | | | | | BUG=none TEST=|'localStorage' in window| should only be true iff --enable-local-storage is specified Review URL: http://codereview.chromium.org/293032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29747 0039d316-1c4b-4281-b951-d872f2087c98
* add enableWebSockets in WebKit APIukai@chromium.org2009-10-201-1/+0
| | | | | | | | | | | | and remove experimentalWebSocketsEnabled from WebPreferences/Settings. Patch for http://bugs.webkit.org/show_bug.cgi?id=29896 will remove Settings::experimentalWebSocketsEnabled(), so we need to remove it from WebPreferences too. This is because such configuration in Settings confuses other WebKit developers and such control is only required for chromium. Instead add WebKit::enableWebSockets() in this change to control WebSockets feature. Review URL: http://codereview.chromium.org/292012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29497 0039d316-1c4b-4281-b951-d872f2087c98
* Delete glue/webview{_delegate}.hdarin@chromium.org2009-10-191-1/+2
| | | | | | | | | | R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/293001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29390 0039d316-1c4b-4281-b951-d872f2087c98
* Implement --enable-web-sockets flag.ukai@chromium.org2009-10-061-0/+1
| | | | | | | | | BUG=12497 TEST=none Review URL: http://codereview.chromium.org/255075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28093 0039d316-1c4b-4281-b951-d872f2087c98
* Adds command line flag to enable desktop notifications.johnnyg@chromium.org2009-10-051-0/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/249057/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28031 0039d316-1c4b-4281-b951-d872f2087c98
* More WebView / WebViewDelegate cleanup.darin@chromium.org2009-10-031-1/+2
| | | | | | | | | | | | Moves a bunch of methods from glue to the WebKit API. R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/246079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27941 0039d316-1c4b-4281-b951-d872f2087c98
* Move various methods from glue/webview.h to api/public/WebView.h darin@chromium.org2009-10-011-1/+1
| | | | | | | | | | | | | | | | | | I'll re-order the methods in webview_impl.cc in a follow-up CL. I wanted to keep this one easy to review. SetBackForwardListSize is no longer necessary given that BackForwardListChromium.cpp doesn't care about its capacity. R=dglazkov BUG=10033 TEST=none Originally reviewed here: http://codereview.chromium.org/251051 Review URL: http://codereview.chromium.org/255042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27780 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 27705 - Move various methods from glue/webview.h to api/public/WebView.hmal@chromium.org2009-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | ** browser_tests started failing at this revision. See: http://build.chromium.org/buildbot/waterfall/builders/Chromium%20XP/builds/7697/steps/browser_tests/logs/stdio ** I'll reorder the methods in webview_impl.cc in a followup CL. I wanted to keep this one easy to review. SetBackForwardListSize is no longer necessary given that BackForwardListChromium.cpp doesn't care about its capacity. R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/251051 TBR=darin@chromium.org Review URL: http://codereview.chromium.org/246060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27711 0039d316-1c4b-4281-b951-d872f2087c98
* Move various methods from glue/webview.h to api/public/WebView.hdarin@chromium.org2009-10-011-1/+1
| | | | | | | | | | | | | | | | I'll re-order the methods in webview_impl.cc in a follow-up CL. I wanted to keep this one easy to review. SetBackForwardListSize is no longer necessary given that BackForwardListChromium.cpp doesn't care about its capacity. R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/251051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27705 0039d316-1c4b-4281-b951-d872f2087c98
* Added command line argument --enable-webgl to facilitate turning onkbr@google.com2009-09-301-0/+4
| | | | | | | | | | | | ENABLE_3D_CANVAS in development builds. Currently this argument also requires disabling the sandbox. BUG=http://crbug.com/21852 TEST=none (runs preexisting WebGL layout tests; more coming) Review URL: http://codereview.chromium.org/246042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27637 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up webkit/api/public/WebView.hdarin@chromium.org2009-09-301-1/+1
| | | | | | | | | | | | | | This change does not completely eliminate webkit/glue/webview.h. Instead, the old WebView extends from the new WebView temporarily as we complete the transition. R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/257001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27620 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebKitTabToLinksPreferenceKey for the test_shell.arv@chromium.org2009-09-171-0/+4
| | | | | | | | | | BUG=21267 TEST=Run layout tests Review URL: http://codereview.chromium.org/212004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26508 0039d316-1c4b-4281-b951-d872f2087c98
* Support running tests under LayoutTests/http/tests/local as local file, in ↵jianli@chromium.org2009-09-111-3/+5
| | | | | | | | | | | | | | | | order to mimic what run-webkit-tests does. Search "http/tests/local/" in http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/run-webkit-tests for what it does. This is needed by http/tests/local/resources/send-dragged-file.js. Turn on file URL universal access in the test_shell. Delete rebaseline results of those layout tests that pass due to this change. Also add a UI test to make sure it is not on for the browser. BUG=9275,12882 TEST=none Review URL: http://codereview.chromium.org/201048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25985 0039d316-1c4b-4281-b951-d872f2087c98
* Convert std::wstring encoding names to std::string in a bunch of files.tony@chromium.org2009-09-041-1/+1
| | | | | | | | | | | | | | | BUG=8647 (http://crbug.com/8647) TEST=run unit_tests.exe and ui_tests.exe Original patch by Thiago Farina <thiago.farina@gmail.com> at http://codereview.chromium.org/179057/show Some linux related fixes by me. Review URL: http://codereview.chromium.org/192017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25529 0039d316-1c4b-4281-b951-d872f2087c98
* Force databases and localstorage to be enabled extensions.aa@chromium.org2009-08-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | We were already doing this, this change modifies the mechanism. Before we were relying on the presence of the --enable-extensions flag, but as we are getting ready to remove that on dev, we needed something else. This forces local storage and database to be enabled on chrome-extension:// pages. Also, change the way database enabling works in general to be more like the way local storage works, just for consistency. Will remove old, unnecessary WebKit API in an upstream change. erikkay: extensions stuff dumi: database stuff jorlow: local storage stuff BUG=19511 Review URL: http://codereview.chromium.org/173306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24841 0039d316-1c4b-4281-b951-d872f2087c98