• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  /*
2   * Copyright (C) 2008 Kevin Ollivier <kevino@theolliviers.com> All Rights Reserved.
3   *
4   * Redistribution and use in source and binary forms, with or without
5   * modification, are permitted provided that the following conditions
6   * are met:
7   * 1. Redistributions of source code must retain the above copyright
8   *    notice, this list of conditions and the following disclaimer.
9   * 2. Redistributions in binary form must reproduce the above copyright
10   *    notice, this list of conditions and the following disclaimer in the
11   *    documentation and/or other materials provided with the distribution.
12   *
13   * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
14   * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16   * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
17   * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18   * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19   * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20   * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21   * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24   */
25  
26  #include "config.h"
27  #include "PluginView.h"
28  
29  #include "NotImplemented.h"
30  #include "PluginPackage.h"
31  
32  using namespace WTF;
33  
34  namespace WebCore {
35  
setFocus()36  void PluginView::setFocus()
37  {
38      notImplemented();
39  }
40  
show()41  void PluginView::show()
42  {
43      notImplemented();
44  }
45  
hide()46  void PluginView::hide()
47  {
48      notImplemented();
49  }
50  
paint(GraphicsContext *,const IntRect &)51  void PluginView::paint(GraphicsContext*, const IntRect&)
52  {
53      notImplemented();
54  }
55  
handleKeyboardEvent(KeyboardEvent *)56  void PluginView::handleKeyboardEvent(KeyboardEvent*)
57  {
58      notImplemented();
59  }
60  
handleMouseEvent(MouseEvent *)61  void PluginView::handleMouseEvent(MouseEvent*)
62  {
63      notImplemented();
64  }
65  
setParent(ScrollView *)66  void PluginView::setParent(ScrollView*)
67  {
68      notImplemented();
69  }
70  
setNPWindowRect(const IntRect &)71  void PluginView::setNPWindowRect(const IntRect&)
72  {
73      notImplemented();
74  }
75  
handlePostReadFile(Vector<char> &,uint32,const char *)76  NPError PluginView::handlePostReadFile(Vector<char>&, uint32, const char*)
77  {
78      notImplemented();
79  
80      return 0;
81  }
82  
getValue(NPNVariable,void *)83  NPError PluginView::getValue(NPNVariable, void*)
84  {
85      notImplemented();
86      return 0;
87  }
88  
89  #if ENABLE(NETSCAPE_PLUGIN_API)
getValueStatic(NPNVariable variable,void * value)90  NPError PluginView::getValueStatic(NPNVariable variable, void* value)
91  {
92      notImplemented();
93      return 0;
94  }
95  #endif
96  
invalidateRect(NPRect *)97  void PluginView::invalidateRect(NPRect*)
98  {
99      notImplemented();
100  }
101  
invalidateRect(const IntRect &)102  void PluginView::invalidateRect(const IntRect&)
103  {
104      notImplemented();
105  }
106  
invalidateRegion(NPRegion)107  void PluginView::invalidateRegion(NPRegion)
108  {
109      notImplemented();
110  }
111  
forceRedraw()112  void PluginView::forceRedraw()
113  {
114      notImplemented();
115  }
116  
~PluginView()117  PluginView::~PluginView()
118  {
119      notImplemented();
120  }
121  
init()122  void PluginView::init()
123  {
124      notImplemented();
125  }
126  
setParentVisible(bool)127  void PluginView::setParentVisible(bool)
128  {
129      notImplemented();
130  }
131  
updatePluginWidget()132  void PluginView::updatePluginWidget()
133  {
134      notImplemented();
135  }
136  
platformStart()137  void PluginView::platformStart()
138  {
139      notImplemented();
140  }
141  
142  } // namespace WebCore
143