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

Unified Diff: chrome/renderer/extensions/guest_view_internal_custom_bindings.h

Issue 444813002: Remove BrowserPlugin's -internal-attach method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 6 years, 4 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: chrome/renderer/extensions/guest_view_internal_custom_bindings.h
diff --git a/chrome/renderer/extensions/guest_view_internal_custom_bindings.h b/chrome/renderer/extensions/guest_view_internal_custom_bindings.h
new file mode 100644
index 0000000000000000000000000000000000000000..e53562bd07b96bf4d22aa75682f82a1bd557bb73
--- /dev/null
+++ b/chrome/renderer/extensions/guest_view_internal_custom_bindings.h
@@ -0,0 +1,24 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_RENDERER_EXTENSIONS_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_
+#define CHROME_RENDERER_EXTENSIONS_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_
+
+#include "extensions/renderer/object_backed_native_handler.h"
+
+namespace extensions {
+class Dispatcher;
+
+// Implements custom bindings for the pageActions API.
not at google - send to devlin 2014/08/13 23:40:16 s/pageActions/guestViewInternal/
Fady Samuel 2014/08/14 19:41:18 Done.
+class GuestViewInternalCustomBindings : public ObjectBackedNativeHandler {
+ public:
+ explicit GuestViewInternalCustomBindings(ScriptContext* context);
+
+ private:
+ void AttachGuest(const v8::FunctionCallbackInfo<v8::Value>& args);
not at google - send to devlin 2014/08/13 23:40:16 Document AttachGuest and its arguments.
Fady Samuel 2014/08/14 19:41:18 Done.
+};
+
+} // namespace extensions
+
+#endif // CHROME_RENDERER_EXTENSIONS_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_

Powered by Google App Engine
This is Rietveld 408576698