summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webclipboard_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Only write the image when writeImage is called. We don't write thetony@chromium.org2009-09-291-5/+2
| | | | | | | | | | | | | | | | other formats because when pasting, we want to make sure the image has priority. This method appears to only be called from the image context menu and when viewing an image only in a tab and using copy (ctrl+c or from the page menu). In both of these cases, if the user wants the URL, they can use the context menu "copy image url" to get the URL. BUG=21593 Review URL: http://codereview.chromium.org/254006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27439 0039d316-1c4b-4281-b951-d872f2087c98
* This is an implementation of the bridge method for copying arbitrary ↵apavlov@chromium.org2009-09-251-0/+5
| | | | | | | | | | plaintext onto a clipboard in Chromium. The method is declared upstream, in a patch associated with https://bugs.webkit.org/show_bug.cgi?id=29634 Review URL: http://codereview.chromium.org/211052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27176 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webkit deps 48155:48185 and remove a couple of passing tests from ↵japhet@chromium.org2009-09-081-9/+41
| | | | | | | | | | | | | | | 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
* Port WebImage to CG and rework the Skia version so that WebImage just has adarin@google.com2009-07-031-3/+14
| | | | | | | | | | | | | | | | SkBitmap member (avoiding a level of indirection). This CL makes it so that Mac Chrome will now write bitmap data to the clipboard when requested by WebKit. I also simplified the ImageDecoder class that lives in glue. BUG=15648 TEST=none R=dglazkov Review URL: http://codereview.chromium.org/155010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19898 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebKit API to src/webkit/api.darin@chromium.org2009-05-101-3/+3
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/113186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15739 0039d316-1c4b-4281-b951-d872f2087c98
* Enable running webkit tests in parallel and make it useojan@google.com2009-03-301-4/+6
| | | | | | | | | | | | | | | | | | | | the number of cpus as the default number of test_shells to spawn. This involved ignoring focus/blur messages and mocking out the clipboard. The test_shell window still sometimes seems to get focus, so there's still a bit more work to do, but the tests seem to all pass. We still default to 1 test_shell at a time. Once I get this committed, I'll try multiple. I just don't want to have to rollback this whole thing. Review URL: http://codereview.chromium.org/56040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12821 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: write images to clipboard.estade@chromium.org2009-03-251-1/+1
| | | | | | | | Writing a bitmap to the clipboard is a rather slow operation, as it involves piping it over IPC and then converting it to a PNG. Review URL: http://codereview.chromium.org/42592 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12482 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome-side of moving webkit/glue/cache_manager.{h,cc} to the WebKit API layer.darin@chromium.org2009-03-191-4/+3
| | | | | | | | | | | | | | This also includes a change to not have third_party/WebKit/WebKit/chromium/public in the global include path. Most of the code changes pertain to this. I also took this opportunity to do some renaming: browser/cache_manager_host -> browser/renderer_host/web_cache_manager R=brettw Review URL: http://codereview.chromium.org/42194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12085 0039d316-1c4b-4281-b951-d872f2087c98
* Update clipboard classes to use string16 and FilePath instead of wstring.estade@chromium.org2009-03-041-13/+14
| | | | | | | | | | Update callers as well. This patch builds on a patch by mark.a.lindner@gmail.com which can be found at http://codereview.chromium.org/28294 Review URL: http://codereview.chromium.org/27370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10860 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup in webkit/glue:darin@chromium.org2009-03-021-6/+6
| | | | | | | | | | | | | | | - created dom_operations_private.h for things that mention WebCore types that are only needed within webkit/glue. - moved contents of webkit_glue.h to the right locations. - moved FilePath::StringType <-> WebString conversion out of glue_util into webkit_glue since it is part of the public API. - minimized includes in webkit_glue.h R=dglazkov Review URL: http://codereview.chromium.org/27351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10747 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary config.h files now that the Glue Xcode target no longer usesdarin@chromium.org2009-02-271-4/+0
| | | | | | | | | | WebCorePrefix.h. R=mark Review URL: http://codereview.chromium.org/27245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10596 0039d316-1c4b-4281-b951-d872f2087c98
* This should really not be necessary, but for some reason the Mac builddarin@chromium.org2009-02-261-0/+4
| | | | | | | | | | complains without it. TBR=mark Review URL: http://codereview.chromium.org/27188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10427 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium changes to use new WebKit, WebKitClient, and WebClipboard interfaces.darin@chromium.org2009-02-261-0/+134
A new WebKitClientImpl class is added to webkit/glue that consumers can use to help implement WebKitClient. In the future, consumers will likely subclass WebKitClientImpl. For now, that is not necessary. Since a WebImage may not hold a SkBitmap, I needed to modify ScopedClipboardWriterGlue to not deal in SkBitmaps. So, I just added a WriteBitmapFromPixels method in place of the WriteBitmap method. That method is actually named the same as the one from the base class, which is perhaps kind of nice since the purpose of ScopedClipboardWriterGlue is to override the default way of sending an image to the clipboard! R=dglazkov Review URL: http://codereview.chromium.org/28119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10416 0039d316-1c4b-4281-b951-d872f2087c98