summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Wire up windowless plugins. Mostly Mac related, some crossamanda@chromium.org2009-07-113-167/+236
| | | | | | | | | | platform aspects. BUG=10809 TEST=none Review URL: http://codereview.chromium.org/113637 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20453 0039d316-1c4b-4281-b951-d872f2087c98
* Unreverting "Implemented injected message loops for PipelineImpl"scherkus@chromium.org2009-07-112-26/+34
| | | | | | | | | | Guess it was a flaky layout test. TBR=hclam Review URL: http://codereview.chromium.org/155400 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20444 0039d316-1c4b-4281-b951-d872f2087c98
* 1) Roll WebKit DEPS to 45685michaeln@google.com2009-07-104-16/+20
| | | | | | | | | | | This roll picks up changes to WebCore::Widget which make that a RefCounted class. 2) Mods to plugin handling in our "glue" needed to recover from the above Review URL: http://codereview.chromium.org/149443 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20440 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Implemented injected message loops for PipelineImpl."scherkus@chromium.org2009-07-102-34/+26
| | | | | | | | | | | | I cannot repro the layout test failures, seeing if this helps. TBR=hclam BUG=none TEST=none Review URL: http://codereview.chromium.org/155396 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20439 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented injected message loops for PipelineImpl.scherkus@chromium.org2009-07-102-26/+34
| | | | | | | | | | | For now both the player and WebMediaPlayerImpl create a thread and inject its message loop into the pipeline. The end result is more-or-less the same as what we have today, but we could end up moving the pipeline onto the render thread. BUG=16008 TEST=layout tests, media_unittests should pass Review URL: http://codereview.chromium.org/155338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20417 0039d316-1c4b-4281-b951-d872f2087c98
* Enables find in page match counts on Mac.rohitrao@chromium.org2009-07-101-9/+0
| | | | | | | | BUG=http://crbug.com/16148 TEST=Find in page should report match counts correctly. Review URL: http://codereview.chromium.org/155353 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20377 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: postpone after-compile event propagation to the UI until scripts ↵pfeldman@chromium.org2009-07-102-9/+24
| | | | | | | | panel is shown. Review URL: http://codereview.chromium.org/155352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20374 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Show exception message in a resource message bubble while stopped ↵pfeldman@chromium.org2009-07-101-0/+69
| | | | | | | | on exception. Review URL: http://codereview.chromium.org/155349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20373 0039d316-1c4b-4281-b951-d872f2087c98
* Made MediaFilter::host_ and MediaFilter::message_loop_ private.scherkus@chromium.org2009-07-091-5/+5
| | | | | | | | | | | More cleanup relating to pipeline cleanup. BUG=16008 TEST=no real code chage, nothing should change Review URL: http://codereview.chromium.org/155230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20338 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Made MediaFilter::host_ and MediaFilter::message_loop_ private."scherkus@chromium.org2009-07-091-5/+5
| | | | | | | | | | TEST=none BUG=none TBR=evmar Review URL: http://codereview.chromium.org/155333 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20336 0039d316-1c4b-4281-b951-d872f2087c98
* Made MediaFilter::host_ and MediaFilter::message_loop_ private.scherkus@chromium.org2009-07-091-5/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20335 0039d316-1c4b-4281-b951-d872f2087c98
* Fix custom cursors on Mac. Null and 0 turn out not to be opposites.darin@chromium.org2009-07-091-0/+4
| | | | | | | | | | | | | | I also added an assertion to webcursor_mac.mm that is probably a bit redundant with the one in AppKit, but this way the assertion is more visible to someone reading this file. BUG=16346 TEST=load a page that uses a custom css cursor. R=pinkerton Review URL: http://codereview.chromium.org/155320 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20327 0039d316-1c4b-4281-b951-d872f2087c98
* Remove reference counting from WebWidgetDelegate.darin@chromium.org2009-07-093-8/+2
| | | | | | | | | | | | | | | | | This was added as a speculative crash fix by eseidel back in June of 2008. See http://b/1211911 for details. It didn't appear to resolve the crash then (as another patch was required to fix the bug), and it doesn't seem to be necessary since the RenderView, which is the delegate and owns the WebView, is the one in charge of allocating the WebView and destroying the WebView. So, it is not possible for the WebView to outlive the RenderView. BUG=16234 TEST=none R=brettw Review URL: http://codereview.chromium.org/155292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20294 0039d316-1c4b-4281-b951-d872f2087c98
* Revert unintentional change.abarth@chromium.org2009-07-091-5/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20263 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPSabarth@chromium.org2009-07-095-11/+15
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/155278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20254 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: show property type names in Elements panel and Console.yurys@google.com2009-07-092-28/+49
| | | | | | | BUG=15988 Review URL: http://codereview.chromium.org/149341 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20253 0039d316-1c4b-4281-b951-d872f2087c98
* GtkPluginContainerManager::UnrealizeCallback should be void.craig.schlenter@chromium.org2009-07-092-3/+3
| | | | | | Review URL: http://codereview.chromium.org/149347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20245 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add images for disabled checkboxes and radio buttons.agl@chromium.org2009-07-096-0/+8
| | | | | | | | | | (WebKit side still to land, however this side can be safely landed without it.) BUG=16170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20224 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebWidgetDelegate::GetContainingView since it is not needed.darin@chromium.org2009-07-094-12/+2
| | | | | | | | | | TEST=none BUG=16234 R=jam Review URL: http://codereview.chromium.org/155243 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20213 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit to r45634 and fix buildhclam@chromium.org2009-07-081-2/+2
| | | | | | Review URL: http://codereview.chromium.org/155241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20196 0039d316-1c4b-4281-b951-d872f2087c98
* Start using WebCursorInfo from the WebKit API. WebCursorInfo is adarin@google.com2009-07-0818-277/+352
| | | | | | | | | | | | | | | | lightweight struct containing a description of a cursor that the embedder should render. WebCursor still exists. Instead of WebCursor initializing from a PlatformCursor, it now initializes from a WebCursorInfo. TEST=none BUG=10039 R=jam Review URL: http://codereview.chromium.org/155172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20194 0039d316-1c4b-4281-b951-d872f2087c98
* Land Anton's patch to avoid throwing away type information on theager@chromium.org2009-07-081-1/+1
| | | | | | | | | | | window wrapper in the debugger agent. Review URL: http://codereview.chromium.org/155179 TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20187 0039d316-1c4b-4281-b951-d872f2087c98
* Load extension plugins before looking for plugins in other places, e.g.abarth@chromium.org2009-07-081-5/+5
| | | | | | | | | | | | | | | | | Firefox's plugins directory. This allows extensions to override the user's default plugin for a particular mime type. BUG=15943 TEST=none R=mpcomplete Patch by Collin Jackson Review URL: http://codereview.chromium.org/149346 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20185 0039d316-1c4b-4281-b951-d872f2087c98
* Adds tab pinning to TabStripModel. This is just the model side ofsky@chromium.org2009-07-081-0/+1
| | | | | | | | | | | | | | | | | | | things (and tests), no UI yet. The model enforces that all pinned tabs occur at the beginning of the model. For example, if there are no pinned tabs and you pin the 10th tab, it is moved to the front of the tab strip. Similarly inserting a tab before the last pinned tab implicitly pins it. Moving a pinned tab beyond the set of pinned tabs implicitly unpins it. I'll file a bug on this when the site allows me to. BUG=none TEST=none Review URL: http://codereview.chromium.org/155228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20181 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a warning about LOG being re-defined.darin@chromium.org2009-07-082-5/+5
| | | | | | | | | | | | | | | | temporary_glue.cc includes webview_impl.h, which brings in headers that include wtf/Assertions.h. However, it also brings in logging.h. The workaround is to include wtf/Assertions.h in temporary_glue.cc and then #undef LOG. This effectively mimics what we do elsewhere in glue. TEST=none BUG=none R=brettw Review URL: http://codereview.chromium.org/149339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20172 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: handle call frames with unresolved script sources upon exception ↵pfeldman@chromium.org2009-07-081-7/+22
| | | | | | | | break. Review URL: http://codereview.chromium.org/149329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20147 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Push context id to the client on 'window object cleared' event.pfeldman@chromium.org2009-07-085-25/+19
| | | | | | Review URL: http://codereview.chromium.org/155217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20146 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: added test for setting breakpoit.yurys@google.com2009-07-081-117/+210
| | | | | | Review URL: http://codereview.chromium.org/149256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20135 0039d316-1c4b-4281-b951-d872f2087c98
* Make the cancelling of drag and drop match Safari for Windows. This isarv@google.com2009-07-083-1/+19
| | | | | | | | | | | | | | | | | | a follow up CL to http://codereview.chromium.org/149038 as well as to https://bugs.webkit.org/show_bug.cgi?id=26699 With this change we use DragOperationNone (instead of DragOperationCopy) and NoButton (instead of LeftButton) when the user presses Escape. BUG=12018 TEST=On the new new tab page drag one of the thumbnails out of the window and press escape. The thumbnail should move back to its starting position. Review URL: http://codereview.chromium.org/149296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20125 0039d316-1c4b-4281-b951-d872f2087c98
* Don't forget to free the callbacks!darin@chromium.org2009-07-074-4/+9
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/149295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20100 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NPAPIIncognitoTester.PrivateEnabledjam@chromium.org2009-07-071-3/+0
| | | | | | | BUG=16149 Review URL: http://codereview.chromium.org/155182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20099 0039d316-1c4b-4281-b951-d872f2087c98
* Disable NPAPIIncognitoTester.PrivateEnabled test because it's flaky.jhawkins@chromium.org2009-07-071-0/+3
| | | | | | | TBR=jam Review URL: http://codereview.chromium.org/149289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20098 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for an initial set of WAI-ARIA roles, needed to support screen ↵klink@chromium.org2009-07-072-74/+100
| | | | | | | | | | | readers in AJAX web applications (e.g. Gmail). BUG=None TEST=None Review URL: http://codereview.chromium.org/149265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20094 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding r20046.jhawkins@chromium.org2009-07-071-1/+1
| | | | | | | | | | | Fix a typo. CID=2001 BUG=none TEST=none Review URL: http://codereview.chromium.org/149270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20092 0039d316-1c4b-4281-b951-d872f2087c98
* The WebURLResponse will be null if the network request fails. So, a null checkdarin@chromium.org2009-07-072-3/+5
| | | | | | | | | | | | | | | | | here is warranted. I failed to translate this over when adapting this code to the new interfaces. The tight coupling with WebView, WebFrame and WebViewDelegate makes this code non-trivial to test. My next patch was anyways to remove those dependencies. I'll circle around at that point with some unit tests for these classes. R=brettw TEST=none BUG=16144 Review URL: http://codereview.chromium.org/155166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20082 0039d316-1c4b-4281-b951-d872f2087c98
* Identical to http://codereview.chromium.org/155030 except for the WebKit ↵japhet@chromium.org2009-07-071-1/+1
| | | | | | | | revision number in DEPS. Review URL: http://codereview.chromium.org/149210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20075 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r20046.jhawkins@chromium.org2009-07-071-1/+1
| | | | | | Review URL: http://codereview.chromium.org/149264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20047 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typo.jhawkins@chromium.org2009-07-071-1/+1
| | | | | | | | | CID=2001 BUG=none TEST=none Review URL: http://codereview.chromium.org/155153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20046 0039d316-1c4b-4281-b951-d872f2087c98
* linux: OOP windowed pluginsevan@chromium.org2009-07-074-21/+193
| | | | | | | | | | | | | | There are still a few issues, but that's a start. - only windowed plugins - we can't currently create the gtksocket in background tabs, because their gtkwidgets are not yet in the hierarchy, so they can't be realized (that's what gives the XID). - the plugin process talks to the browser process through the renderer process to create/destroy the gtksockets, because the plugin doesn't know which renderer it's talking to. We need a bit more plumbing to be able to have direct IPC. - some code is duplicated between chrome and test_shell. We should probably refactor it, but I'm not sure where the common part should live. Patch from Antoine Labour <piman@google.com>, with some touchups by me. Review URL: http://codereview.chromium.org/146078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20041 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring to introduce refcount to WebMediaPlayerImplhclam@chromium.org2009-07-074-232/+342
| | | | | | | | | | WebMediaPlayerImpl interacts with multiple threads that it becomes necessary to make it refcounted so we can post task on different threads' message loop. Review URL: http://codereview.chromium.org/147225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20038 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the GC of workers. When Worker object is GC'ed in the renderer, we need ↵dimich@google.com2009-07-072-1/+12
| | | | | | | | | | to terminate the worker process. BUG=15647, 15759 TEST=new ui_test is part of this CL Review URL: http://codereview.chromium.org/151125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20034 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: merge TestSuite.Controller into TestSuiteyurys@google.com2009-07-071-58/+66
| | | | | | Review URL: http://codereview.chromium.org/155142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20033 0039d316-1c4b-4281-b951-d872f2087c98
* Modify ResourceFetcher to use WebURLLoader instead of ResourceHandle.darin@chromium.org2009-07-0716-237/+267
| | | | | | | | | | | | | | | | | | This is step 1 of moving ResourceFetcher usage out of WebFrame. This CL adds a new method to WebFrame, named DispatchWillSendRequest, which may be used to associate a WebURLRequest with the WebFrame. This triggers the WebViewDelegate's WillSendRequest method among other things. ResourceFetcher and friends have been modified to use callbacks instead of delegates. I just find this approach a bit cleaner and easier to work with. BUG=15648 TEST=none R=brettw Review URL: http://codereview.chromium.org/149172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20031 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Issue 'scripts' command on attach only, work based on ↵pfeldman@chromium.org2009-07-071-6/+0
| | | | | | | | | | after_compile events in the rest of the cases (such as refresh). BUG=15825 Review URL: http://codereview.chromium.org/155138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20021 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: clear breakpoints when devtools window is closing. This change ↵yurys@google.com2009-07-072-3/+20
| | | | | | | | | depends on v8 change: http://codereview.chromium.org/149197 BUG=15993 Review URL: http://codereview.chromium.org/155090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20020 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add global eval sanity test.pfeldman@chromium.org2009-07-071-11/+10
| | | | | | Review URL: http://codereview.chromium.org/155134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20018 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add more sanity tests.pfeldman@chromium.org2009-07-072-33/+128
| | | | | | Review URL: http://codereview.chromium.org/149246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20017 0039d316-1c4b-4281-b951-d872f2087c98
* The webkit java applet creation code passes in the baseURL which is ↵ananta@chromium.org2009-07-072-3/+3
| | | | | | | | | | | | | | | | | typically the url of the containing document to create the plugin widget. This URL should not be treated as the plugin SRC url. This mimics the webkit plugin implementation specifically the upstream WebFrame::createJavaAppletWidget implementation. This fixes http://code.google.com/p/chromium/issues/detail?id=991, which manifested itself due to our plugin implementation issuing a spurious GET request for the baseURL which is incorrect as per above. Bug=991 Review URL: http://codereview.chromium.org/155069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20005 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "linux: OOP windowed plugins"evan@chromium.org2009-07-063-191/+0
| | | | | | This reverts r19983. Test failures on Mac and Windows. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19988 0039d316-1c4b-4281-b951-d872f2087c98
* linux: OOP windowed pluginsevan@chromium.org2009-07-063-0/+191
| | | | | | | | | | | | There are still a few issues, but that's a start. - only windowed plugins - we can't currently create the gtksocket in background tabs, because their gtkwidgets are not yet in the hierarchy, so they can't be realized (that's what gives the XID). - the plugin process talks to the browser process through the renderer process to create/destroy the gtksockets, because the plugin doesn't know which renderer it's talking to. We need a bit more plumbing to be able to have direct IPC. - some code is duplicated between chrome and test_shell. We should probably factor it, but I'm not sure where the common part should live. Review URL: http://codereview.chromium.org/146078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19983 0039d316-1c4b-4281-b951-d872f2087c98