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

Unified Diff: extensions/renderer/app_window_custom_bindings.h

Issue 1211003006: [Extensions OOPI] Update app window bindings for OOPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « extensions/extensions.gypi ('k') | extensions/renderer/app_window_custom_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « extensions/extensions.gypi ('k') | extensions/renderer/app_window_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698