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..70c6930d8a40bf9460043fa6ab387370e1cc7b13 100644 |
--- a/third_party/WebKit/public/web/WebWidget.h |
+++ b/third_party/WebKit/public/web/WebWidget.h |
@@ -31,6 +31,10 @@ |
#ifndef WebWidget_h |
#define WebWidget_h |
+#include "WebCompositionUnderline.h" |
+#include "WebMenuSourceType.h" |
+#include "WebRange.h" |
+#include "WebTextDirection.h" |
dcheng
2017/05/26 17:18:45
Btw since clang-format is changing these anyway, d
|
#include "public/platform/WebBrowserControlsState.h" |
#include "public/platform/WebCanvas.h" |
#include "public/platform/WebCommon.h" |
@@ -40,9 +44,6 @@ |
#include "public/platform/WebRect.h" |
#include "public/platform/WebSize.h" |
#include "public/platform/WebTextInputInfo.h" |
-#include "WebCompositionUnderline.h" |
-#include "WebRange.h" |
-#include "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() {} |
}; |