Index: extensions/renderer/app_window_custom_bindings.h |
diff --git a/extensions/renderer/app_window_custom_bindings.h b/extensions/renderer/app_window_custom_bindings.h |
index 04f7194aa75e0224f875271007d157d19dee7b70..68786a055428b95ff96d9674e3f72054b66dc9ec 100644 |
--- a/extensions/renderer/app_window_custom_bindings.h |
+++ b/extensions/renderer/app_window_custom_bindings.h |
@@ -8,23 +8,24 @@ |
#include "extensions/renderer/object_backed_native_handler.h" |
namespace extensions { |
-class Dispatcher; |
+class ScriptContextSet; |
// Implements custom bindings for the app.window API. |
class AppWindowCustomBindings : public ObjectBackedNativeHandler { |
public: |
- AppWindowCustomBindings(Dispatcher* dispatcher, ScriptContext* context); |
+ AppWindowCustomBindings(const ScriptContextSet* script_context_set, |
+ ScriptContext* context); |
private: |
- void GetView(const v8::FunctionCallbackInfo<v8::Value>& args); |
+ void GetFrame(const v8::FunctionCallbackInfo<v8::Value>& args); |
// Return string containing the HTML <template> for the <window-controls> |
// custom element. |
void GetWindowControlsHtmlTemplate( |
const v8::FunctionCallbackInfo<v8::Value>& args); |
- // Dispatcher handle. Not owned. |
- Dispatcher* dispatcher_; |
+ // ScriptContextSet handle. Not owned. |
+ const ScriptContextSet* script_context_set_; |
DISALLOW_COPY_AND_ASSIGN(AppWindowCustomBindings); |
}; |