summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Rename various text zoom related stuff to be more generic, since we now canbrettw@google.com2008-10-143-28/+40
| | | | | | | | | | optionally zoom the page. I added an easy way in render_view to toggle between text zoom and full page zoom, and allowed the embedder to specify this in the glue layer. This allows me to fix the text zoom layout test, which specifically asks that the text be zoomed. Review URL: http://codereview.chromium.org/7320 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3377 0039d316-1c4b-4281-b951-d872f2087c98
* Convert CaptureImage to a single method with lots of ifdefs.tc@google.com2008-10-141-36/+9
| | | | | | | | | | Original patch from icefox (Torchmobile) in http://codereview.chromium.org/7244 . Review URL: http://codereview.chromium.org/7150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3376 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where if we converted a std::string into a WebCore::String,brettw@google.com2008-10-142-6/+17
| | | | | | | | | the encoding will be incorrect. We assume std::string is UTF-8, but WebCore assume it's Latin-1 when you use the 8-bit constructor. Review URL: http://codereview.chromium.org/7266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3375 0039d316-1c4b-4281-b951-d872f2087c98
* Start compiling webview_impl.cc.erg@google.com2008-10-141-1/+1
| | | | | | | | | We include HistoryItem.h as a hack because otherwise we use third_party/WebKit/.../HistoryItem.h, which includes their CachedPage.h instead of our forked copy. This is not a long term solution. (crbug.com/3425) Review URL: http://codereview.chromium.org/7326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3370 0039d316-1c4b-4281-b951-d872f2087c98
* get webframe_impl.cc to compile on linuxtc@google.com2008-10-143-19/+36
| | | | | | | | | Includes changes from http://codereview.chromium.org/7244 by icefox (Torchmobile Inc.) Review URL: http://codereview.chromium.org/7319 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3366 0039d316-1c4b-4281-b951-d872f2087c98
* Fix spelling.erg@google.com2008-10-141-1/+7
| | | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/7316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3361 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "wrap HMODULE with ifdefs for right now to compile on linux"erg@google.com2008-10-141-7/+1
| | | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/7146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3360 0039d316-1c4b-4281-b951-d872f2087c98
* Make zomm do full page zoom instead of just text zoom.brettw@google.com2008-10-141-3/+3
| | | | | | Review URL: http://codereview.chromium.org/7314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3359 0039d316-1c4b-4281-b951-d872f2087c98
* wrap HMODULE with ifdefs for right now to compile on linuxerg@google.com2008-10-141-1/+7
| | | | | | | | Review URL: http://codereview.chromium.org/6412 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3358 0039d316-1c4b-4281-b951-d872f2087c98
* Fix one of icefox's patchs which broke under windows by adding the header ↵erg@google.com2008-10-141-6/+10
| | | | | | | | | | | which defines all our OS_* defines. http://codereview.chromium.org/7270 Review URL: http://codereview.chromium.org/7312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3353 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Wrap cursor calls with windows ifdef as cursor support only works on ↵erg@google.com2008-10-141-9/+6
| | | | | | | | | | | windows right now" TBR=tony Review URL: http://codereview.chromium.org/7141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3350 0039d316-1c4b-4281-b951-d872f2087c98
* Wrap cursor calls with windows ifdef as cursor support only works on windows ↵erg@google.com2008-10-141-6/+9
| | | | | | | | | | | | | right now Fix order of initialisation warning. Add DragData #ifelse for Linux Review URL: http://codereview.chromium.org/7270 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3349 0039d316-1c4b-4281-b951-d872f2087c98
* Replace pragma with MSVC macroserg@google.com2008-10-143-5/+8
| | | | | | | | Review URL: http://codereview.chromium.org/6212 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3345 0039d316-1c4b-4281-b951-d872f2087c98
* build more glue on linuxtc@google.com2008-10-142-5/+8
| | | | | | | Review URL: http://codereview.chromium.org/7286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3332 0039d316-1c4b-4281-b951-d872f2087c98
* GCC 4.3 fixestc@google.com2008-10-135-7/+0
| | | | | | | | | | | | | webkit/glue/resource_fetcher.h:29: error: declaration 'struct WebCore::ResourceHandle' does not declare anything Patch from Seo Sanghyeon <sanxiyn@gmail.com> http://codereview.chromium.org/7094 Review URL: http://codereview.chromium.org/7273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3303 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes a regression introduced by my fix for ↵ananta@chromium.org2008-10-131-1/+1
| | | | | | | | | | | | | | | http://code.google.com/p/chromium/issues/detail?id=2846 (Revision 3262). The one to one mapping between mime types and supported extensions, which enables us to look up a plugin based on a URL extension regressed as a result of the above change. R=jam Review URL: http://codereview.chromium.org/7272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3300 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused variable (warnings are compile errors)erg@google.com2008-10-131-3/+2
| | | | | | | | Review URL: http://codereview.chromium.org/6417 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3291 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes http://code.google.com/p/chromium/issues/detail?id=2846, which is ↵ananta@chromium.org2008-10-103-6/+29
| | | | | | | | | | | | | an issue with bloomberg.com not detecting the windows media player plugin. The site reads the list of plugins off the Navigator object and runs through the list of plugins comparing each with the desired plugin name (Windows Media). This fails in Chrome as the Activex shim is registered by default as the handler for media player, with the name as activex-shim. The fix is to split up the Activex shim registration into two, one handling the application/x-oleobject|application/oleobject mime types, and the other handling the windows media player types. R=jam Bug=2846 Review URL: http://codereview.chromium.org/7234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3262 0039d316-1c4b-4281-b951-d872f2087c98
* Implement CaptureImage on the Macamanda@chromium.org2008-10-101-1/+17
| | | | | | Review URL: http://codereview.chromium.org/7237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3233 0039d316-1c4b-4281-b951-d872f2087c98
* Add a support to NPN_PostUrl[Notify] using filesjoshia@google.com2008-10-101-34/+82
| | | | | | | | | | | | | | | | | | | | | Post data to be uploaded from a file. This can be handled in two ways. 1. Read entire file and send the contents as if it was a post data specified in the argument 2. Send just the file details and read them in the browser at the time of sending the request. Approach 2 is more efficient but complicated. Approach 1 has a major drawback of sending potentially large data over two IPC hops. In a way 'large data over IPC' problem exists as it is in case of plugin giving the data directly instead of in a file. Currently we are going with the approach 1 to get the feature working. We can optimize this later with approach 2. BUG=629 Review URL: http://codereview.chromium.org/6548 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3226 0039d316-1c4b-4281-b951-d872f2087c98
* Add stacking_order_iterator.cc to the SCons build.sgk@google.com2008-10-101-0/+1
| | | | | | Review URL: http://codereview.chromium.org/7083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3218 0039d316-1c4b-4281-b951-d872f2087c98
* Get more of glue/ compiling.erg@google.com2008-10-102-23/+21
| | | | | | | Review URL: http://codereview.chromium.org/7043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3161 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused variable (warnings are errors)erg@google.com2008-10-092-2/+1
| | | | | | | | Review URL: http://codereview.chromium.org/6214 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3149 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ScrollView::inWindow by plumbing through RenderWidget::is_hidden ↵jam@chromium.org2008-10-095-0/+18
| | | | | | | | | | to improve performance when a tab is in the background. BUG=2525 Review URL: http://codereview.chromium.org/6503 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3147 0039d316-1c4b-4281-b951-d872f2087c98
* Add stub constructors to compile on Linux and remove warning for switch ↵erg@google.com2008-10-092-2/+9
| | | | | | | | | | cases not handled in the code Review URL: http://codereview.chromium.org/6426 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3146 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build (Icefox's patch used WebKit ifdefs instead of Chromium ones).erg@google.com2008-10-091-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/7034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3139 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build (Icefox's patch used WebKit ifdefs instead of Chromium ones).erg@google.com2008-10-092-5/+5
| | | | | | | Review URL: http://codereview.chromium.org/7034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3138 0039d316-1c4b-4281-b951-d872f2087c98
* Patch by Thatcher Ulrich <tulrich@google.com>.ojan@google.com2008-10-099-33/+342
| | | | | | | | | | | | | | | Implement "iframe shim" behavior for windowed plugins. In FF and IE on windows, iframes are implemented as native HWNDs. This has the side effect that iframes display on top of windowed plugins. This side effect has long been known as a workaround for allowing HTML elements to appear above plugin content. BUG=1788 Review URL: http://codereview.chromium.org/7032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3137 0039d316-1c4b-4281-b951-d872f2087c98
* Wrap Windows functions with ifdef so they are only compiled on windowserg@google.com2008-10-093-5/+10
| | | | | | | | Review URL: http://codereview.chromium.org/6213 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3132 0039d316-1c4b-4281-b951-d872f2087c98
* Keep the order of variables the sameerg@google.com2008-10-091-15/+14
| | | | | | | | Review URL: http://codereview.chromium.org/6219 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3128 0039d316-1c4b-4281-b951-d872f2087c98
* Look for Adobe Acrobat as well.jam@chromium.org2008-10-091-4/+8
| | | | | | | | BUG=1583 Review URL: http://codereview.chromium.org/6293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3124 0039d316-1c4b-4281-b951-d872f2087c98
* Fix videos stopping playing. Only send an invalidate to the renderer if ↵jam@chromium.org2008-10-091-0/+1
| | | | | | | | | it's within the clipping region, otherwise we'll wait forever for a did paint message that doesn't come. BUG=115 Review URL: http://codereview.chromium.org/6257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3123 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge hits the SCons build, the sequel:sgk@google.com2008-10-091-0/+1
| | | | | | | | | | | | | | | | | * Un-revert r3063 (basic file list updates). * Un-revert r3079 (os-win32 subdirectory). * Add icu.lib to the npapi_test_plugin.dll link. * Add libpng.lib to the port.lib link. * Updates for recently un-forked files. * Incorporate Linux fixes from phajdan.jr (many thanks): * Add libxml/linux/include to relevant CPPPATH lists. * Use -Wno-error to suppress warnings-as-errors. * Re-order lines in ExceptionContext. * Remove unused WebCore::SharedBuffer declaration in SkiaUtils.h. * Spelling fix: V8CSSSTyleDeclaration.h => V8CSSStyleDeclaration.h Review URL: http://codereview.chromium.org/7024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3118 0039d316-1c4b-4281-b951-d872f2087c98
* Linux build fix: wchar_t is different on different platforms, use the char16 ↵erg@google.com2008-10-093-5/+5
| | | | | | | | | | that is defined and is the same on windows and unix Review URL: http://codereview.chromium.org/6425 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3116 0039d316-1c4b-4281-b951-d872f2087c98
* KJS::Lock constructor now takes a bool. Fix 1 build error!ojan@google.com2008-10-091-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3111 0039d316-1c4b-4281-b951-d872f2087c98
* Compile fix on Linuxerg@google.com2008-10-092-6/+8
| | | | | | | | | | | | | GURL constructor takes std::string or UTF16String not std::wstring Remove the windows function _wtoi and use the cross platform function StringToInt from string_util.h for converting the string to an int Review URL: http://codereview.chromium.org/5202 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3109 0039d316-1c4b-4281-b951-d872f2087c98
* Porting changes in webkit/glue/plugins/testevanm@google.com2008-10-093-29/+40
| | | | | | | | | | | | | Not too much, 2 files actually, but still something. Please test this on Windows. BUG=1949 Review URL: http://codereview.chromium.org/4249 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3083 0039d316-1c4b-4281-b951-d872f2087c98
* remove unneeded webkit_glue:: and wrap windows functions in ifdefserg@google.com2008-10-082-11/+13
| | | | | | | | Review URL: http://codereview.chromium.org/6413 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3065 0039d316-1c4b-4281-b951-d872f2087c98
* Remove include to file that does not exist and sign comparison compiler warning.erg@google.com2008-10-082-3/+2
| | | | | | | | Review URL: http://codereview.chromium.org/6218 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3049 0039d316-1c4b-4281-b951-d872f2087c98
* Comparison between signed and unsignederg@google.com2008-10-082-2/+2
| | | | | | | | Review URL: http://codereview.chromium.org/6411 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3046 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused static functionerg@google.com2008-10-082-13/+2
| | | | | | | | Review URL: http://codereview.chromium.org/6216 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3044 0039d316-1c4b-4281-b951-d872f2087c98
* base/logging.h defines LOG when webkit is about to so undef iterg@google.com2008-10-082-2/+3
| | | | | | | | Review URL: http://codereview.chromium.org/6204 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3042 0039d316-1c4b-4281-b951-d872f2087c98
* Use Skia on Linux alsoerg@google.com2008-10-082-4/+4
| | | | | | | | Review URL: http://codereview.chromium.org/6410 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3039 0039d316-1c4b-4281-b951-d872f2087c98
* Update strings.tc@google.com2008-10-081-1/+1
| | | | | | | TBR=mal Review URL: http://codereview.chromium.org/6586 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3019 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for a memory leak.jcampan@chromium.org2008-10-081-3/+3
| | | | | | | | BUG=None TEST=Run with Purify. Review URL: http://codereview.chromium.org/6055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3011 0039d316-1c4b-4281-b951-d872f2087c98
* Merge in InspectorController changes. Get rid of all theojan@google.com2008-10-071-1/+1
| | | | | | | | | | crazy ifdef'ing in port/.../InspectorController.cpp. Change jsc build back to useing the InspectorController in third_party/WebKit. Review URL: http://codereview.chromium.org/6519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2961 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ResourceHandle leak.erg@google.com2008-10-061-3/+3
| | | | | | Review URL: http://codereview.chromium.org/6505 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2904 0039d316-1c4b-4281-b951-d872f2087c98
* Update localized_strings.cc post-mergejeremy@chromium.org2008-10-061-1/+3
| | | | | | Review URL: http://codereview.chromium.org/6497 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2890 0039d316-1c4b-4281-b951-d872f2087c98
* Fix LayoutTests/fast/loader/xmlhttprequest-missing-file-exception.htmldarin@chromium.org2008-10-051-3/+5
| | | | | | | | | | | We need to initialize the ResourceResponse out parameter even if the load failed. BUG=3149 R=tony Review URL: http://codereview.chromium.org/6484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2870 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a DocumentLoader leak by switching from using new to atc@google.com2008-10-034-8/+17
| | | | | | | | | | | | | create method that returns a PassRefPtr. This matches what happens in the Apple windows port. I also changed the RefCounted.h deref() to be more like upstream, but it doesn't actually change how RefCounted works. Also bring the JSC RefCounted to be just like upstream. Review URL: http://codereview.chromium.org/6461 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2855 0039d316-1c4b-4281-b951-d872f2087c98