| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_ | 5 #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_ |
| 6 #define EXTENSIONS_RENDERER_GUEST_VIEW_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_ | 6 #define EXTENSIONS_RENDERER_GUEST_VIEW_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_ |
| 7 | 7 |
| 8 #include "extensions/renderer/object_backed_native_handler.h" | 8 #include "extensions/renderer/object_backed_native_handler.h" |
| 9 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // called when the guestview's container is destroyed. | 44 // called when the guestview's container is destroyed. |
| 45 // RegisterDestructionCallback takes in a single paramater, |callback|. | 45 // RegisterDestructionCallback takes in a single paramater, |callback|. |
| 46 void RegisterDestructionCallback( | 46 void RegisterDestructionCallback( |
| 47 const v8::FunctionCallbackInfo<v8::Value>& args); | 47 const v8::FunctionCallbackInfo<v8::Value>& args); |
| 48 | 48 |
| 49 // RegisterElementResizeCallback registers a JavaScript callback function to | 49 // RegisterElementResizeCallback registers a JavaScript callback function to |
| 50 // be called when the element is resized. RegisterElementResizeCallback takes | 50 // be called when the element is resized. RegisterElementResizeCallback takes |
| 51 // a single parameter, |callback|. | 51 // a single parameter, |callback|. |
| 52 void RegisterElementResizeCallback( | 52 void RegisterElementResizeCallback( |
| 53 const v8::FunctionCallbackInfo<v8::Value>& args); | 53 const v8::FunctionCallbackInfo<v8::Value>& args); |
| 54 |
| 55 void RunWithGesture( |
| 56 const v8::FunctionCallbackInfo<v8::Value>& args); |
| 54 }; | 57 }; |
| 55 | 58 |
| 56 } // namespace extensions | 59 } // namespace extensions |
| 57 | 60 |
| 58 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_ | 61 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_GUEST_VIEW_INTERNAL_CUSTOM_BINDINGS_H_ |
| OLD | NEW |