Chromium Code Reviews| 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_ |