a possible fix for dragging
This commit is contained in:
parent
439ad94afe
commit
36918250ec
2 changed files with 4 additions and 1 deletions
|
@ -593,7 +593,8 @@ void OffScreenRenderWidgetHostView::ClearCompositorFrame() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void OffScreenRenderWidgetHostView::InitAsPopup(
|
void OffScreenRenderWidgetHostView::InitAsPopup(
|
||||||
content::RenderWidgetHostView *, const gfx::Rect &) {
|
content::RenderWidgetHostView* parent_host_view, const gfx::Rect& pos) {
|
||||||
|
printf("popup, parent: %p\n", parent_host_view);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OffScreenRenderWidgetHostView::InitAsFullscreen(
|
void OffScreenRenderWidgetHostView::InitAsFullscreen(
|
||||||
|
|
|
@ -116,6 +116,8 @@ void OffScreenWebContentsView::StartDragging(
|
||||||
const gfx::ImageSkia& image,
|
const gfx::ImageSkia& image,
|
||||||
const gfx::Vector2d& image_offset,
|
const gfx::Vector2d& image_offset,
|
||||||
const content::DragEventSourceInfo& event_info) {
|
const content::DragEventSourceInfo& event_info) {
|
||||||
|
if (web_contents_)
|
||||||
|
web_contents_->SystemDragEnded();
|
||||||
}
|
}
|
||||||
|
|
||||||
void OffScreenWebContentsView::UpdateDragCursor(
|
void OffScreenWebContentsView::UpdateDragCursor(
|
||||||
|
|
Loading…
Reference in a new issue