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

Unified Diff: third_party/WebKit/Source/web/ContextMenuClientImpl.h

Issue 2881013003: Move FrameSelection::CurrentForm() to ContextMenuClientImpl (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/web/ContextMenuClientImpl.h
diff --git a/third_party/WebKit/Source/web/ContextMenuClientImpl.h b/third_party/WebKit/Source/web/ContextMenuClientImpl.h
index c54d53209fe9a44f455061fb9570e8020df9344d..3d259e17847d0705ba9e2a4de88d1bb0256a902f 100644
--- a/third_party/WebKit/Source/web/ContextMenuClientImpl.h
+++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.h
@@ -37,6 +37,8 @@ namespace blink {
class Document;
class Editor;
+class HTMLFormElement;
+class FrameSelection;
Shanmuga Pandi 2017/05/15 13:54:05 Keep it in alphabetical order.
class WebViewBase;
struct WebContextMenuData;
@@ -48,6 +50,7 @@ class ContextMenuClientImpl final : public ContextMenuClient {
void ClearContextMenu() override;
private:
+ HTMLFormElement* CurrentForm(const FrameSelection&) const;
void PopulateCustomMenuItems(const ContextMenu*, WebContextMenuData*);
static int ComputeEditFlags(Document&, Editor&);
bool ShouldShowContextMenuFromTouch(const blink::WebContextMenuData&);

Powered by Google App Engine
This is Rietveld 408576698