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

Unified Diff: content/renderer/render_frame_impl.h

Issue 183923030: Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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: 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,

Powered by Google App Engine
This is Rietveld 408576698