Index: content/renderer/render_frame_impl.h |
=================================================================== |
--- content/renderer/render_frame_impl.h (revision 254898) |
+++ content/renderer/render_frame_impl.h (working copy) |
@@ -349,6 +349,10 @@ |
void UpdateURL(blink::WebFrame* frame); |
+ // Gets the focused element. If no such element exists then the element will |
+ // be Null. |
nasko
2014/03/05 21:50:47
nit: null or NULL
jam
2014/03/06 00:59:37
Done.
|
+ blink::WebElement GetFocusedElement(); |
+ |
// IPC message handlers ------------------------------------------------------ |
// |
// The documentation for these functions should be in |
@@ -361,6 +365,10 @@ |
void OnContextMenuClosed(const CustomContextMenuContext& custom_context); |
void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, |
unsigned action); |
+ void OnCut(); |
+ void OnCopy(); |
+ void OnPaste(); |
+ |
// Virtual since overridden by WebTestProxy for layout tests. |
virtual blink::WebNavigationPolicy DecidePolicyForNavigation( |
RenderFrame* render_frame, |