diff options
author | amanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-03 01:10:13 +0000 |
---|---|---|
committer | amanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-03 01:10:13 +0000 |
commit | daa1732e6c87bcaf854ca3a30c7c5b47599a8d7a (patch) | |
tree | 149ac25bc62f5503c9d7f705b8d176d394a6e3f8 /webkit/glue | |
parent | e94980027dc5cd1fb34950cddc18c629328a7e5b (diff) | |
download | chromium_src-daa1732e6c87bcaf854ca3a30c7c5b47599a8d7a.zip chromium_src-daa1732e6c87bcaf854ca3a30c7c5b47599a8d7a.tar.gz chromium_src-daa1732e6c87bcaf854ca3a30c7c5b47599a8d7a.tar.bz2 |
Remove webplugin_impl_mac.mm (a stub) and replace with the real thing and its
unit tests. Add stacking_order.* (needed for linking).
Review URL: http://codereview.chromium.org/19769
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/webplugin_impl_mac.mm | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/webkit/glue/webplugin_impl_mac.mm b/webkit/glue/webplugin_impl_mac.mm deleted file mode 100644 index b88dbb6..0000000 --- a/webkit/glue/webplugin_impl_mac.mm +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "config.h" - -#include "wtf/ASCIICType.h" - -#undef LOG -#include "webkit/glue/webplugin_impl.h" - -// TODO(pinkerton): all of this needs to be filled in. webplugin_impl.cc has -// a lot of win32-specific code in it that needs to be re-factored. - -//WebPluginContainer::WebPluginContainer(WebPluginImpl* impl); -//WebPluginContainer::~WebPluginContainer(); -//WebCore::IntRect WebPluginContainer::windowClipRect() const; -//void WebPluginContainer::geometryChanged() const; -//void WebPluginContainer::setFrameGeometry(const WebCore::IntRect& rect); -//void WebPluginContainer::paint(WebCore::GraphicsContext*, const WebCore::IntRect& rect); -//void WebPluginContainer::setFocus(); -//void WebPluginContainer::show(); -//void WebPluginContainer::hide(); -//void WebPluginContainer::handleEvent(WebCore::Event* event); - -void WebPluginContainer::didReceiveResponse(const WebCore::ResourceResponse& response) { - NSLog(@"WebPluginContainer::didReceiveResponse"); -} - -void WebPluginContainer::didReceiveData(const char *buffer, int length) { - NSLog(@"WebPluginContainer::didReceiveData"); -} - -void WebPluginContainer::didFinishLoading() { - NSLog(@"WebPluginContainer::didFinishLoading"); -} - -void WebPluginContainer::didFail(const WebCore::ResourceError&) { - NSLog(@"WebPluginContainer::didFail"); -} - -NPObject* WebPluginContainer::GetPluginScriptableObject() { - NSLog(@"WebPluginContainer::GetPluginScriptableObject"); -} - -WebCore::Widget* WebPluginImpl::Create(const GURL& url, - char** argn, - char** argv, - int argc, - WebCore::Element* element, - WebFrameImpl* frame, - WebPluginDelegate* delegate, - bool load_manually, - const std::string& mime_type) { - // TODO(pinkerton): delete delegate when stubbing out? - NSLog(@"WebPluginImpl::Create"); - return NULL; -} |