forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stub out webplugin_impl to make more progress on testshell
Review URL: http://codereview.chromium.org/1701 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1987 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
pinkerton@google.com
committed
Sep 10, 2008
1 parent
ec20c02
commit 1703234
Showing
2 changed files
with
58 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// 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 "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) { | ||
// TODO(pinkerton): delete delegate when stubbing out? | ||
NSLog(@"WebPluginImpl::Create"); | ||
return NULL; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters