Index: Source/core/plugins/PluginView.h |
diff --git a/Source/core/plugins/PluginView.h b/Source/core/plugins/PluginView.h |
index c1cdc2f61f392b5e8d1f2b48c5997dac77e07ee0..dc18073af38585b3232410befb8ced49560042d5 100644 |
--- a/Source/core/plugins/PluginView.h |
+++ b/Source/core/plugins/PluginView.h |
@@ -1,6 +1,7 @@ |
/* |
* Copyright (C) 2010 Apple Inc. All rights reserved. |
* Copyright (C) 2013 Google Inc. All rights reserved. |
+ * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -33,6 +34,11 @@ |
struct NPObject; |
namespace blink { class WebLayer; } |
+namespace v8 { |
+template <typename T> class Local; |
+class Isolate; |
+class Object; |
+} |
namespace blink { |
@@ -45,7 +51,7 @@ public: |
virtual bool isPluginView() const OVERRIDE FINAL { return true; } |
virtual blink::WebLayer* platformLayer() const { return 0; } |
- virtual NPObject* scriptableObject() { return 0; } |
+ virtual void getScriptableObject(v8::Isolate*, v8::Local<v8::Object>*) { } |
virtual bool getFormValue(String&) { return false; } |
virtual bool wantsWheelEvents() { return false; } |
virtual bool supportsKeyboardFocus() const { return false; } |