blob: 191ebb7117d95f6b00a20cbebb96ca90cb90c621 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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;
}
|