summaryrefslogtreecommitdiffstats
path: root/webkit/glue/chromium_bridge_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove grit hack and inline a 30x30 red square for atc@google.com2009-01-131-4/+18
| | | | | | | | | data resource that we were loading from disk. This should get compiled out in chrome. Rebaseline one test. Review URL: http://codereview.chromium.org/18008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7966 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkit_resources.rc to webkit_resources.grd. Addtc@google.com2009-01-131-1/+3
| | | | | | | | | | | | | | | | | webkit_resources.vcproj which creates the .rc files and have webkit glue depend on it. I had to add a flag to grit that allows a resource to be in the header, but not in the .rc file. We do this for a test_shell only resource that is not compiled in. SCons build also works on windows. I still need to update the other .sln files and mac build. Review URL: http://codereview.chromium.org/17466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7910 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of lowercasing plugin filenames in order to determine if two paths ↵jam@chromium.org2009-01-121-2/+2
| | | | | | | | point to the same plugin. Check plugin versions and load the latest version if multiple versions are found.I've also refactored and cleaned PluginList so that it doesn't depend on PluginLib, which only made sense a long time ago when plugins were loaded in process. Now PluginLib will only be loaded in the plugin process (and not in the browser process as well). Review URL: http://codereview.chromium.org/17451 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7888 0039d316-1c4b-4281-b951-d872f2087c98
* Move plugins to FilePaths, some cleanupavi@google.com2009-01-061-2/+6
| | | | | | Review URL: http://codereview.chromium.org/16456 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7588 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the render widget unittest so it can be reused to create a render viewbrettw@chromium.org2009-01-051-6/+0
| | | | | | | | | | | | | | | | | unit test. Change the mock render thread to save all IPC messages it is asked to send so that tests can verify that the correct ones were sent. There are some new functions that support this checking. Plumb the form state change notification through the render view so that we will correctly update the form state to the browser. Write two RenderView unit tests. One arbitrarily tests OnLoadAlternateHTMLText which I used as a testcase for my testing framework. The other tests the above form state change notification. I had to expose the timeout of this message through the RenderView API so that the test can change it. Review URL: http://codereview.chromium.org/16482 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7549 0039d316-1c4b-4281-b951-d872f2087c98
* Fix line endings to be LF, and set svn:eol-style to keep it that way.darin@chromium.org2008-12-201-2/+2
| | | | | | | | TBR=eseidel Review URL: http://codereview.chromium.org/16403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7349 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of another base/ include by inlining the NSView/HWND/GtkWidget typdefs.eseidel@chromium.org2008-12-201-4/+10
| | | | | | Review URL: http://codereview.chromium.org/13770 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7348 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependencies from port on base/gfx/native_theme and base/win_util. ↵darin@chromium.org2008-12-201-1/+103
| | | | | | | | | | Introduce plaform/chromium/ChromiumUtilsWin and extend ChromiumBridge to access wrappers for uxtheme calls. R=dglazkov Review URL: http://codereview.chromium.org/15101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7346 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of unforking. I need to pull WebKit with the change that unforks ↵brettw@google.com2008-12-181-2/+22
| | | | | | | | | | | | KURL.h This makes us defile USE(GOOGLEURL) and use that instead of USE_GOOGLE_URL_LIBRARY. I also fixed some places to be able to compile without it if possible (I think I will be wanting that capability in the future to test changes they may make upstream). Review URL: http://codereview.chromium.org/14494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7231 0039d316-1c4b-4281-b951-d872f2087c98
* Add a reference I forgot to add. I didn't mean to copy this string.brettw@google.com2008-12-161-1/+1
| | | | | | Review URL: http://codereview.chromium.org/14171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7110 0039d316-1c4b-4281-b951-d872f2087c98
* Implement visited link coloring.brettw@google.com2008-12-131-8/+36
| | | | | | Review URL: http://codereview.chromium.org/12928 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6970 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit merge 39050:39100 (CL 5 of 5).ericroman@google.com2008-12-111-0/+8
| | | | | | Review URL: http://codereview.chromium.org/13740 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6810 0039d316-1c4b-4281-b951-d872f2087c98
* Add HTML for the image to the clipboard when the user selectstc@google.com2008-12-081-6/+0
| | | | | | | | | | | | | | | | | | | | | | "Copy Image" from the context menu. IE7 does this, while firefox only copies the image data. This causes a paste into MS Word to do the same thing for Chrome and IE7 (e.g., it gets the alt text added to the image). This is different from Firefox which only copies the image data directly. This is also necessary to pass a layout test, but this particular layout test is skipped on Safari Win upstream because they only copy the image data w/o the HTML. In summary, it seems like both behaviors is ok, but more formats seems better than less formats. BUG=1176 Review URL: http://codereview.chromium.org/13640 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6547 0039d316-1c4b-4281-b951-d872f2087c98
* Only copy image data to the clipboard when users selecttc@google.com2008-12-081-1/+5
| | | | | | | | | | "Copy Image" from the context menu. BUG=1176 Review URL: http://codereview.chromium.org/13253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6531 0039d316-1c4b-4281-b951-d872f2087c98
* Update to latest trunk version of V8.ager@google.com2008-12-041-4/+1
| | | | | | | | | | | | | This includes Evan's change to use char instead of wchar_t for counter names. Also, because of changes to the regexp parser, we need to rebaseline a couple of tests mainly because of error message changes. Most of the tests were already rebaselined because of differences in error messages. Review URL: http://codereview.chromium.org/12902 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6349 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependencies on base/ from MIMETypeRegistry.cppdarin@chromium.org2008-11-261-0/+12
| | | | | | | | | | | Patch by phajdan.jr@gmail.com R=darin Review URL: http://codereview.chromium.org/12004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6049 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependencies on base/glue from these 2 port files.jam@chromium.org2008-11-261-0/+12
| | | | | | Review URL: http://codereview.chromium.org/12460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6046 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 6043.ojan@google.com2008-11-261-12/+0
| | | | | | Review URL: http://codereview.chromium.org/12689 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6044 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependencies on base/ from MIMETypeRegistry.cppdarin@chromium.org2008-11-261-0/+12
| | | | | | | | | | | Patch by phajdan.jr@gmail.com R=darin Review URL: http://codereview.chromium.org/12004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6043 0039d316-1c4b-4281-b951-d872f2087c98
* Bridge calls to get the root NPObject from a WebPluginContainer.darin@chromium.org2008-11-241-7/+17
| | | | | | | | | | | | | | | | I also did a little cleanup in getPlugins. I found that there was a WebPluginInfo struct declared within the WebCore namespace that was causing us to need '::' in front of WebPluginInfo. I killed the erroneous declaration so that the rest could be cleaned up. I also renamed getPlugins to plugins since I think that is more consistent with how Apple names these kinds of methods. There was some old, unused USE(JSC) code in ScriptController.cpp that I deleted. R=erikkay Review URL: http://codereview.chromium.org/12601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5928 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of wide characters in stats table identifiers.evanm@google.com2008-11-221-3/+8
| | | | | | | Review URL: http://codereview.chromium.org/11544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5880 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback "Remove use of wide characters in stats table identifiers."evanm@google.com2008-11-211-8/+3
| | | | | | | This reverts commit r5847. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5850 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of wide characters in stats table identifiers.evanm@google.com2008-11-211-3/+8
| | | | | | | Review URL: http://codereview.chromium.org/11544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5847 0039d316-1c4b-4281-b951-d872f2087c98
* Make the editor deletion UI work in layout test mode andtc@google.com2008-11-201-4/+7
| | | | | | | | | | rebase 2 tests that use it. The only difference is font size. BUG=http://b/1124435 Review URL: http://codereview.chromium.org/11536 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5790 0039d316-1c4b-4281-b951-d872f2087c98
* Revert to using Apple's provided text area resizetc@google.com2008-11-201-37/+3
| | | | | | | | | corner graphic. This makes the resize corner look less janky when in classic mode. Review URL: http://codereview.chromium.org/11523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5777 0039d316-1c4b-4281-b951-d872f2087c98
* fix pan scrollingtc@google.com2008-11-201-0/+2
| | | | | | | | | | The ScrollView tries to load an image before setting the cursor to a pan scroll cursor. Not sure why this is needed, but add the image so it works. Review URL: http://codereview.chromium.org/11302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5769 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/11434michaeln@google.com2008-11-181-0/+70
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5640 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most base dependencies from ImageSkia. Poke through the resource ↵brettw@google.com2008-11-181-0/+74
| | | | | | | | getting to the ChromiumBridge. Review URL: http://codereview.chromium.org/11450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5635 0039d316-1c4b-4281-b951-d872f2087c98
* Minor whitespace cleanup.darin@chromium.org2008-11-181-4/+3
| | | | | | | | R=erikkay Review URL: http://codereview.chromium.org/11435 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5613 0039d316-1c4b-4281-b951-d872f2087c98
* Backout my image change which broke mac.brettw@google.com2008-11-181-72/+0
| | | | | | Review URL: http://codereview.chromium.org/11446 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5611 0039d316-1c4b-4281-b951-d872f2087c98
* * remove glue dependency from PluginsChromium* renamed some of the MIME API ↵erikkay@google.com2008-11-181-2/+48
| | | | | | | | to be more consistent with WebKit Review URL: http://codereview.chromium.org/11212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5610 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most base dependencies from ImageSkia.brettw@google.com2008-11-181-0/+74
| | | | | | Review URL: http://codereview.chromium.org/11411 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5609 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the WebSmartPaste pasteboard type on Mac, stub it out on Linux, ↵pinkerton@google.com2008-11-171-9/+4
| | | | | | | | remove the platform ifdefs in common code. Review URL: http://codereview.chromium.org/10955 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5559 0039d316-1c4b-4281-b951-d872f2087c98
* fix the JSC builderikkay@google.com2008-11-141-0/+4
| | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/10417 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5508 0039d316-1c4b-4281-b951-d872f2087c98
* Added stats counters and trace event to ChromiumBridge.erikkay@google.com2008-11-141-1/+31
| | | | | | Review URL: http://codereview.chromium.org/10752 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5491 0039d316-1c4b-4281-b951-d872f2087c98
* removed a bunch of minor glue dependencies from porterikkay@google.com2008-11-141-0/+17
| | | | | | Review URL: http://codereview.chromium.org/10919 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5485 0039d316-1c4b-4281-b951-d872f2087c98
* * Copy webkit_glue font functions into ChromiumBridge.erikkay@google.com2008-11-131-0/+9
| | | | | | | | | * removed a few unneeded headers from MIMETypeRegistry * removed all uses of IMLangFontLang2 Review URL: http://codereview.chromium.org/10661 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5369 0039d316-1c4b-4281-b951-d872f2087c98
* * add MIME type functions to ChromiumBridgeerikkay@google.com2008-11-121-0/+38
| | | | | | | | * add resource protocol to ChromiumBridge Review URL: http://codereview.chromium.org/10836 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5297 0039d316-1c4b-4281-b951-d872f2087c98
* Add ChromiumBridge::isLayoutTestMode() and change references to ↵erikkay@google.com2008-11-121-0/+6
| | | | | | | | webkit::IsLayoutTest() to use that instead. Review URL: http://codereview.chromium.org/10804 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5242 0039d316-1c4b-4281-b951-d872f2087c98
* * Remove windows-ism from pasteboard code and move to usingtc@google.com2008-11-111-7/+136
| | | | | | | | | ChromiumBridge for clipboard methods. Also did some cleanup of lingering webkit_glue code in ClipboardChromium. Review URL: http://codereview.chromium.org/10285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5213 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate another dependency of port on glue.darin@chromium.org2008-11-111-0/+6
| | | | | | | | R=eseidel Review URL: http://codereview.chromium.org/10288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5163 0039d316-1c4b-4281-b951-d872f2087c98
* More ChromiumBridge action to eliminate glue dependencies from port.darin@chromium.org2008-11-101-0/+22
| | | | | | | | | | I also cleaned up Resource{Request,Response} a tad. R=eseidel Review URL: http://codereview.chromium.org/10248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5135 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate CursorChromium's dependency on webkit/glue.darin@chromium.org2008-11-061-0/+40
| | | | | | | | | | | Also modified WidgetChromium to use ChromiumBridge instead of talking to ChromeClientChromium. I want to eliminate that fake interface in favor of just having our code talk directly to ChromeClientImpl, but that means a dependency on webkit/glue, so I needed to use ChromiumBridge. Long-term, I'd like to propose changes upstream to HostWindow and ChromeClient to avoid this usage of ChromiumBridge. The most impactful part of this CL is the change to move the enumeration of cursor types from WebCursor to PlatformCursor. This means that WebCursor consumers no longer have access to the type enumeration. I replaced that with helper functions on WebCursor. I think the result not only achieves the goal of breaking CursorChromium's dependency on webkit/glue but is also much cleaner. R=iyengar,eseidel Review URL: http://codereview.chromium.org/9072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4846 0039d316-1c4b-4281-b951-d872f2087c98
* Takes steps to make our PlatformScreen implementation more portable.darin@chromium.org2008-10-311-0/+46
Introduces ChromiumBridge as a means for our WebCore port to depend on the embedder indirectly. This will be extended to support the rest of our port. WebWidgetImpl and ChromeClientImpl both needed to have their platformWindow getter implemented. This fixes a regression related to the most recent merge. Removes the orphaned Language.cpp (see the real one in the platform/chromium directory. Changed webkit_glue::GetMonitorInfoForWindow to webkit_glue::GetScreenInfo. This resulted in a varied amount of plumbing changes. It also pushes the platform specific bits up into the browser where they belong. ScreenInfo is a struct that is part of the webkit/glue API. R=dglazkov,eseidel Review URL: http://codereview.chromium.org/8761 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4335 0039d316-1c4b-4281-b951-d872f2087c98