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

Unified Diff: Source/bindings/v8/ScriptController.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
« no previous file with comments | « no previous file | Source/bindings/v8/ScriptController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptController.h
diff --git a/Source/bindings/v8/ScriptController.h b/Source/bindings/v8/ScriptController.h
index a2bd844826954e64bf0590397d050138c2836cfa..af2334b43ea97fa99e1faca97a776122d49f9ddc 100644
--- a/Source/bindings/v8/ScriptController.h
+++ b/Source/bindings/v8/ScriptController.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2008, 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
@@ -109,6 +110,8 @@ public:
// Creates a property of the global object of a frame.
void bindToWindowObject(Frame*, const String& key, NPObject*);
+ void bindToWindowObject(Frame*, const String &key, v8::AccessorGetter, v8::AccessorSetter, v8::Handle<v8::Value>);
abarth-chromium 2013/07/24 18:26:04 "const String &" -> "const String& "
+
PassScriptInstance createScriptInstanceForWidget(Widget*);
« no previous file with comments | « no previous file | Source/bindings/v8/ScriptController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698