Index: public/web/WebFrame.h |
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h |
index 68b7440a22d8cc2725a52265b9c9e1d91e3c746d..60832a67391b6140773c0d8d08577d3588689033 100644 |
--- a/public/web/WebFrame.h |
+++ b/public/web/WebFrame.h |
@@ -1,5 +1,6 @@ |
/* |
* Copyright (C) 2009 Google Inc. All rights reserved. |
+ * Copyright (C) 2013 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 are |
@@ -69,6 +70,7 @@ class WebURL; |
class WebURLLoader; |
class WebURLRequest; |
class WebView; |
+class WebWindowPropertyCallback; |
struct WebConsoleMessage; |
struct WebFindOptions; |
struct WebFloatPoint; |
@@ -220,6 +222,10 @@ public: |
virtual void bindToWindowObject( |
const WebString& name, NPObject*, void*) = 0; |
+ // Binds the given object providing a getter and setter as a property |
+ // of this frame's DOMWindow. |
+ virtual void bindToWindowObject(const WebString& name, WebWindowPropertyCallback*) = 0; |
+ |
// Executes script in the context of the current page. |
virtual void executeScript(const WebScriptSource&) = 0; |