Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4237)

Unified Diff: Source/web/WebFrameImpl.h

Issue 19861006: Allow binding a getter+setter for window object property. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Allow binding a getter+setter for window object property. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/WebFrameImpl.h
diff --git a/Source/web/WebFrameImpl.h b/Source/web/WebFrameImpl.h
index d67fc22e083711b09cce27956a46d75589b3b711..06ad18a13ac282c30d06442efa76dc82d6641afb 100644
--- a/Source/web/WebFrameImpl.h
+++ b/Source/web/WebFrameImpl.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
@@ -108,6 +109,7 @@ public:
virtual NPObject* windowObject() const;
virtual void bindToWindowObject(const WebString& name, NPObject*);
virtual void bindToWindowObject(const WebString& name, NPObject*, void*);
+ virtual void bindToWindowObject(const WebString& name, WebWindowPropertyCallback*);
virtual void executeScript(const WebScriptSource&);
virtual void executeScriptInIsolatedWorld(
int worldID, const WebScriptSource* sources, unsigned numSources,

Powered by Google App Engine
This is Rietveld 408576698