diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 19:47:21 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 19:47:21 +0000 |
commit | 319d9e6f29cc2d27c0f72ce701d905d2402c350a (patch) | |
tree | 5d637ba43b9aeed5c925e694e50aa251230c0b92 /webkit/glue/webplugin_delegate.h | |
parent | 22f21125f11953e1022f5e75e560c1af9484503e (diff) | |
download | chromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.zip chromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.tar.gz chromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.tar.bz2 |
Reduce the amount of included header files. Vast change like in "Oh God! This revision changes half of the source files!".
Review URL: http://codereview.chromium.org/20378
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_delegate.h')
-rw-r--r-- | webkit/glue/webplugin_delegate.h | 33 |
1 files changed, 10 insertions, 23 deletions
diff --git a/webkit/glue/webplugin_delegate.h b/webkit/glue/webplugin_delegate.h index 254d94f..a7bf9e1 100644 --- a/webkit/glue/webplugin_delegate.h +++ b/webkit/glue/webplugin_delegate.h @@ -5,25 +5,25 @@ #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ -#include <string> #include <vector> -#include "base/basictypes.h" -#include "base/file_path.h" #include "base/gfx/native_widget_types.h" -#include "base/gfx/rect.h" -#include "build/build_config.h" #include "third_party/npapi/bindings/npapi.h" // TODO(port): put in OS_WIN check. typedef struct HDC__* HDC; struct NPObject; +class FilePath; class GURL; class WebCursor; class WebPlugin; class WebPluginResourceClient; +namespace gfx { +class Rect; +} + // This is the interface that a plugin implementation needs to provide. class WebPluginDelegate { public: @@ -139,32 +139,19 @@ class WebPluginDelegate { virtual void URLRequestRouted(const std::string&url, bool notify_needed, void* notify_data) = 0; - virtual bool IsWindowless() const { - NOTREACHED(); - return false; - } + virtual bool IsWindowless() const; - virtual const gfx::Rect& GetRect() const { - NOTREACHED(); - static gfx::Rect dummy; - return dummy; - } + virtual const gfx::Rect& GetRect() const; - virtual const gfx::Rect& GetClipRect() const { - NOTREACHED(); - return GetRect(); - } + virtual const gfx::Rect& GetClipRect() const; #if defined(OS_WIN) // Returns a combinaison of PluginQuirks. - virtual int GetQuirks() const { - NOTREACHED(); - return 0; - } + virtual int GetQuirks() const; #endif private: - DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegate); + DISALLOW_COPY_AND_ASSIGN(WebPluginDelegate); }; #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ |