| Index: content/public/test/browser_test_utils.h
|
| diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h
|
| index b4908997a25f3e6506b2f5f0565b50febfa9b730..927ee15e1e3c7721d75bdb2a788a0c274df25cdf 100644
|
| --- a/content/public/test/browser_test_utils.h
|
| +++ b/content/public/test/browser_test_utils.h
|
| @@ -27,6 +27,7 @@
|
| #include "content/public/common/page_type.h"
|
| #include "ipc/message_filter.h"
|
| #include "storage/common/fileapi/file_system_types.h"
|
| +#include "third_party/WebKit/public/platform/WebDragOperation.h"
|
| #include "third_party/WebKit/public/platform/WebInputEvent.h"
|
| #include "third_party/WebKit/public/platform/WebMouseEvent.h"
|
| #include "ui/accessibility/ax_node_data.h"
|
| @@ -760,6 +761,15 @@ class PwnMessageHelper {
|
| DISALLOW_COPY_AND_ASSIGN(PwnMessageHelper);
|
| };
|
|
|
| +// DragStartCallback should return |true| if the callback handled the drag start
|
| +// request and wants to suppress passing the drag start request to the OS layer.
|
| +// Otherwise (to continue handling the drag start request as usual), return
|
| +// false.
|
| +using DragStartCallback =
|
| + base::Callback<bool(const DropData& drop_data,
|
| + blink::WebDragOperationsMask drag_operations_mask)>;
|
| +void RegisterDragStartCallback(DragStartCallback callback);
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_
|
|
|