summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkit_glue.h
Commit message (Collapse)AuthorAgeFilesLines
* Expose WebCore log channels on the chrome command linegavinp@chromium.org2011-02-161-2/+2
| | | | | | | | | | | | | | Add --webcore-log-channels=Loading,ResourceLoading to your chrome command line to get WebKit debugging joy. See third_party/WebKit/Source/WebCore/platform/Logging.cpp for a list of log levels. BUG=none TEST=none Review URL: http://codereview.chromium.org/6528016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75117 0039d316-1c4b-4281-b951-d872f2087c98
* Update benchmarking clearCache routine to be able to preserve sslhostinfo:mbelshe@chromium.org2011-02-151-1/+3
| | | | | | | | | | | | | | | | | | | related entries. * The clearCache() API is part of the benchmarking extension. * Modified clearCache() to take an argument so that we can selectively clear SSL information or not. * The actual clear data call used to just call DoomAllEntries. It still does that for clearing everything. If preserving the ssl host entries, however, it will enumerate the cache. Ran into cache invalidation upon calling doom, which makes the clear inefficient, but functional. BUG=none TEST=none Review URL: http://codereview.chromium.org/6529012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75027 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some more DRT features from test_shell.tony@chromium.org2011-02-071-3/+0
| | | | | | | | | Specifically, remove the ability to run tests from the command line and remove a bunch of methods that dump state. Review URL: http://codereview.chromium.org/6334096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74012 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-171-2/+2
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71586 0039d316-1c4b-4281-b951-d872f2087c98
* Move clipboard from app/ to ui/baseben@chromium.org2011-01-101-10/+11
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6135006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70938 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land earlier patch that moves the NPAPI implementation from ↵brettw@chromium.org2010-12-211-2/+8
| | | | | | webkit/glue/plugins to webkit/plugins/npapi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69808 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi"chase@chromium.org2010-12-211-8/+2
| | | | | | | | | | | | Manually reverting r69755, which broke the tree. BUG=none TEST=none TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/5998002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 69755 - Move the NPAPI files from webkit/glue/plugins to ↵chase@chromium.org2010-12-201-2/+8
| | | | | | | | | | | | | | | webkit/plugins/npapi" Manually reverting r69766, which was itself a failed revert of r69755. BUG=none TEST=none TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/5996003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69768 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69755 - Move the NPAPI files from webkit/glue/plugins to ↵brettw@chromium.org2010-12-201-8/+2
| | | | | | | | | | | | | | | webkit/plugins/npapi and put them in the webkit::npapi namespace. BUG=none TEST=none Review URL: http://codereview.chromium.org/6012002 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/5961004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69766 0039d316-1c4b-4281-b951-d872f2087c98
* Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and putbrettw@chromium.org2010-12-201-2/+8
| | | | | | | | | | them in the webkit::npapi namespace. BUG=none TEST=none Review URL: http://codereview.chromium.org/6012002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69755 0039d316-1c4b-4281-b951-d872f2087c98
* Add a webkit_glue API for lanching NaCl's sel_ldr. NaCl will call this API viaabarth@chromium.org2010-12-171-1/+7
| | | | | | | | Pepper. This API is based on an existing piece of code used by NaCl's NPAPI plugin, which will be removed once we get the Pepper plugin off the ground. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69567 0039d316-1c4b-4281-b951-d872f2087c98
* View source uses scroll position of original page.pfeldman@chromium.org2010-12-161-0/+4
| | | | | | | | BUG=67094 Review URL: http://codereview.chromium.org/5914004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69446 0039d316-1c4b-4281-b951-d872f2087c98
* webkit: use string16 in webkit_glue.hevan@chromium.org2010-12-141-5/+4
| | | | | | | | | | And a few places that it touches. BUG=23581 Review URL: http://codereview.chromium.org/5729005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69147 0039d316-1c4b-4281-b951-d872f2087c98
* glue: use string16 in place of wstring for Unicode textevan@chromium.org2010-12-031-3/+3
| | | | | | | | | BUG=23581 TEST=compiles Review URL: http://codereview.chromium.org/5591004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68208 0039d316-1c4b-4281-b951-d872f2087c98
* Removed Media Cache Enabled Flagatwilson@chromium.org2010-11-041-6/+1
| | | | | | | | | | | Removed methods for querying and enabling media cache as the cache has been stable enough we shouldn't have to worry about checking anymore. BUG=None. TEST=No specific test as this flag hasn't been used. Review URL: http://codereview.chromium.org/4266001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65077 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA stats for saving/printing PDFs (the printing will be done through ↵jam@chromium.org2010-10-301-0/+3
| | | | | | | | | the private Pepper API). BUG=61142 Review URL: http://codereview.chromium.org/4158013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64528 0039d316-1c4b-4281-b951-d872f2087c98
* Yet another try at submitting http://codereview.chromium.org/3397030/show.ericu@google.com2010-09-301-0/+6
| | | | | | | | | | | This hopefully fixes the linux x64 failure, which appears to be a disagreement between int64 and long long. BUG=none TEST=none Review URL: http://codereview.chromium.org/3601001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61020 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60981 - Resubmitting http://codereview.chromium.org/3397030 with the ↵ericu@google.com2010-09-291-6/+0
| | | | | | | | | | | | | | needed one-line deletion. Tested, reproed the breakage, verified the fix. BUG=none TEST=none TBR=ericu@google.com Review URL: http://codereview.chromium.org/3567006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60982 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmitting http://codereview.chromium.org/3397030 with the needed one-line ↵ericu@google.com2010-09-291-0/+6
| | | | | | | | | | | deletion. Tested, reproed the breakage, verified the fix. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60981 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60964 - This adds WebFileWriterImpl, which implements WebFileWriter ↵sky@chromium.org2010-09-291-6/+0
| | | | | | | | | | | | | | and AsyncFileWriterClient. BUG=none TEST=none Review URL: http://codereview.chromium.org/3397030 TBR=ericu@google.com Review URL: http://codereview.chromium.org/3590002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60966 0039d316-1c4b-4281-b951-d872f2087c98
* This adds WebFileWriterImpl, which implements WebFileWriter and ↵ericu@google.com2010-09-291-0/+6
| | | | | | | | | | | AsyncFileWriterClient. BUG=none TEST=none Review URL: http://codereview.chromium.org/3397030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60964 0039d316-1c4b-4281-b951-d872f2087c98
* Enable/Disable Spdy in benchmarking.lzheng@chromium.org2010-08-191-0/+3
| | | | | | | | Test=none Bug=52624 Review URL: http://codereview.chromium.org/3169022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56704 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring-ness from some more locale variables.evan@chromium.org2010-08-041-1/+1
| | | | | | Review URL: http://codereview.chromium.org/3043055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54945 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some wstrings used in ui_test.cc.evan@chromium.org2010-07-301-1/+1
| | | | | | | | | This removes all switch-related wstring APIs from ui_test.cc, and fixes all the callers. Review URL: http://codereview.chromium.org/3066026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54392 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper v2 Font API browser implementation.jam@chromium.org2010-07-091-0/+20
| | | | | | Review URL: http://codereview.chromium.org/2956002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52009 0039d316-1c4b-4281-b951-d872f2087c98
* Implement new Chromium IPCs for copying/dragging.dcheng@chromium.org2010-07-071-1/+15
| | | | | | | | | | | 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
* Show a warning message if the cache might not be cleared between runs.mlloyd@chromium.org2010-07-021-0/+3
| | | | | | | | | 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
* Revert 51042 - Show a warning message if the cache might not be cleared ↵sky@chromium.org2010-06-281-3/+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/+3
| | | | | | Review URL: http://codereview.chromium.org/2834025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51042 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
* Actually clear the disk cache, and keep it enabled, between benchmark runs.mlloyd@chromium.org2010-06-051-0/+3
| | | | | | | | | | | | | Fixes a small TODO in the benchmarking extension. Keep the disk cache turned on during benchmarking, and doom all entries between benchmark runs, rather than disabling it entirely. BUG=none TEST=All tests pass. Review URL: http://codereview.chromium.org/669115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48994 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor FileVersionInfo into an interface with platform implementations.tony@chromium.org2010-04-141-0/+3
| | | | | | | | | | | | | This allows us to move the chrome specific version informaton used by Linux into src/chrome. Add a GetChromeVersionInfo() for Linux in src/chrome/app/ and make sure to use this in src/chrome. In src/webkit/glue, add a new glue method for getting the product version. When compiling chrome, use an implementation in src/chrome/renderer (which uses GetChromeVersionInfo()) and a stub implementation for test_shell. Review URL: http://codereview.chromium.org/1560027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44435 0039d316-1c4b-4281-b951-d872f2087c98
* Implement layoutTestController.numberOfPages.hamaji@chromium.org2010-02-171-0/+5
| | | | | | | | | BUG=35215 TEST=layout tests Review URL: http://codereview.chromium.org/594054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39199 0039d316-1c4b-4281-b951-d872f2087c98
* Add pageNumberForElementById for chromium.hamaji@chromium.org2010-02-061-0/+6
| | | | | | | | | | | | The WebKit side change was done in https://bugs.webkit.org/show_bug.cgi?id=34471 BUG=34219 TEST=layout tests Review URL: http://codereview.chromium.org/574002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38298 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CloseIdleConnections -> CloseCurrentConnections.mbelshe@chromium.org2010-01-141-2/+2
| | | | | | | | | | | | | | | | | This method is (and was) just for debugging; while it was closing idle connections, that was not aggressive enough; the benchmark needs to close all connections, not just the idle ones. To ensure connections are abandoned, create a new pool; leaving the old pool to languish as any pending sockets die. BUG=none TEST=none Review URL: http://codereview.chromium.org/549031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36208 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-121-1/+1
| | | | | | | | | | | | 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
* Chrome changes to extract the code from V8Proxy that special-casesdarin@chromium.org2009-11-031-8/+0
| | | | | | | | | | | | | | | | | | | | | when scripts are allowed despite user preferences disabling them. Adds more accessors and comments to WebSecurityOrigin. Removes no longer necessary webkit_glue functions. Removes no longer necessary TemporaryGlue.h file. R=abarth BUG=none TEST=browser features like the new tab page and history view should still work when passing --disable-javascript to chrome. similarly, file and ftp directory listings should remain functional when that command line flag is specified. Review URL: http://codereview.chromium.org/351013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30797 0039d316-1c4b-4281-b951-d872f2087c98
* Add layoutTestController.counterValueForElementByIdhamaji@chromium.org2009-10-301-0/+6
| | | | | | | | | | | | | | Now we can test CSS counters with dumpAsText(). The corresponding upstream bug: https://bugs.webkit.org/show_bug.cgi?id=30555 BUG=none TEST=none Review URL: http://codereview.chromium.org/338056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30554 0039d316-1c4b-4281-b951-d872f2087c98
* Delete glue/webview{_delegate}.hdarin@chromium.org2009-10-191-2/+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
* Move the clipboard stuff out of base and into app/clipboard. I renamedbrettw@chromium.org2009-10-031-1/+1
| | | | | | | | | | | clipboard_util to clipboard_util_win since it's Windows-only. This patch makes test_shell depend on app as well. There should be no logic change. TEST=none BUG=none Review URL: http://codereview.chromium.org/260003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27937 0039d316-1c4b-4281-b951-d872f2087c98
* Enable <video> using cachehclam@chromium.org2009-09-301-0/+5
| | | | | | | | | | | | Retrying the following two patches: http://codereview.chromium.org/253001/show http://codereview.chromium.org/248012/show TBR=scherkus Review URL: http://codereview.chromium.org/242073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27632 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r27589 that broke the treehclam@chromium.org2009-09-301-5/+0
| | | | | | | | TBR=scherkus Review URL: http://codereview.chromium.org/246043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27590 0039d316-1c4b-4281-b951-d872f2087c98
* <video> use cache if --enable-byte-range-support is presenthclam@chromium.org2009-09-301-0/+5
| | | | | | | | | | | BUG=16013 TEST=Playing a video should still work with the flag in incognito mode or not. Allow <video> to use cache if running with experimental byte range support. Review URL: http://codereview.chromium.org/253001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27589 0039d316-1c4b-4281-b951-d872f2087c98
* Allow <audio> to work in extensionhclam@chromium.org2009-09-211-0/+4
| | | | | | | | | | | | | | | | | | BUG=22152 TEST=use <audio> extension with relative paths We used to exclude file:// for checks for valid HTTP response but since chrome extension resources use chrome-extension:// as scheme response from such scheme require valid HTTP response. This change changes the logic to limit the check for valid HTTP response only for http:// and https:// schemes. This impose a strong assumption that file://, ftp:// and new protocols need to know how to handle range requests or at least know how to fail. Review URL: http://codereview.chromium.org/216022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26746 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms for tab count, RenderProcessHost count, and the number ofbrettw@chromium.org2009-09-211-0/+5
| | | | | | | | | | glyph "pages" in memory per load (to check memory consumption). BUG=none TEST=none Review URL: http://codereview.chromium.org/195104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26688 0039d316-1c4b-4281-b951-d872f2087c98
* Move StringPiece into the base namespace. It is collidingtony@chromium.org2009-09-101-2/+5
| | | | | | | | | | with the StringPiece class in icu4.2, which is a problem when trying to use the system version of icu. Review URL: http://codereview.chromium.org/193072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25920 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webkit deps 48155:48185 and remove a couple of passing tests from ↵japhet@chromium.org2009-09-081-4/+5
| | | | | | | | | | | | | | | test_expectations.txt. Also, merge in http://codereview.chromium.org/174367 (original author: vandebo@chromium.org), which is the downstream half of r48168. BUG=4360 BUG=21228 BUG=18792 TEST=none TBR=eroman git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25669 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor DOM storage to be more object oriented. All the ↵jorlow@chromium.org2009-09-081-0/+2
| | | | | | | | | | | | | DOMStorageDispatcher hosts (which are each owned by one ResourceMessageFilter) for the same profile share a WebKit context, and each one of those contexts owns a DOMStorageContext. The DOMStorageContext owns storage namespace objects which own storage area objects which wrap their WebKit counterparts. Not only is this cleaner code wise and more efficient (we're not duplicating WebStorageNamespaces and Areas for each DOMStorageDispatcherHost) but this is necessary for events and locking. TEST=none BUG=none Review URL: http://codereview.chromium.org/192003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25609 0039d316-1c4b-4281-b951-d872f2087c98
* Uses FilePath instead of std::wstring in webkit_glue::GetApplicationDirectory.avi@google.com2009-08-271-2/+2
| | | | | | | | | | | | Patch by tfarina. BUG=None TEST=None Review URL: http://codereview.chromium.org/173304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24565 0039d316-1c4b-4281-b951-d872f2087c98
* Change WebCanvas to be a CGContext on Mac.darin@chromium.org2009-08-191-1/+9
| | | | | | | | | | | | This change removes the code that previously existed to render HTML5 video on Mac. That code was already broken (video doesn't work at all on tip-of-tree), and so instead of trying to translate broken code, I just removed it. Andrew approved this. R=amanda,scherkus BUG=none TEST=none Review URL: http://codereview.chromium.org/174022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23742 0039d316-1c4b-4281-b951-d872f2087c98