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

Unified Diff: third_party/WebKit/public/web/WebWidget.h

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Don't fall back to mainframe, formatting. 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/public/web/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index 4dae362cddce6a367577b5c35ed1a5c488d30abc..19857223db847bf1c5c87f2400ed8f9a60629214 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -40,9 +40,10 @@
#include "public/platform/WebRect.h"
#include "public/platform/WebSize.h"
#include "public/platform/WebTextInputInfo.h"
-#include "WebCompositionUnderline.h"
-#include "WebRange.h"
-#include "WebTextDirection.h"
+#include "public/web/WebCompositionUnderline.h"
+#include "public/web/WebMenuSourceType.h"
+#include "public/web/WebRange.h"
+#include "public/web/WebTextDirection.h"
namespace blink {
@@ -224,6 +225,9 @@ class WebWidget {
return false;
}
+ // Called by client to request showing the context menu.
+ virtual void ShowContextMenu(WebMenuSourceType) {}
+
protected:
~WebWidget() {}
};
« third_party/WebKit/Source/web/WebViewImpl.cpp ('K') | « third_party/WebKit/public/web/WebView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698