| Index: content/browser/renderer_host/render_view_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
|
| index dcdbbaff5592fc738cefd2776dc08146dcb4624f..202a95f03d014470bc5d903c8d0b5011b1672e54 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -52,6 +52,7 @@
|
| #include "content/public/common/content_constants.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/context_menu_params.h"
|
| +#include "content/public/common/draggable_region.h"
|
| #include "content/public/common/result_codes.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "net/base/net_util.h"
|
| @@ -951,6 +952,8 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) {
|
| OnDomOperationResponse)
|
| IPC_MESSAGE_HANDLER(AccessibilityHostMsg_Notifications,
|
| OnAccessibilityNotifications)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateDraggableRegions,
|
| + OnUpdateDraggableRegions)
|
| // Have the super handle all other messages.
|
| IPC_MESSAGE_UNHANDLED(
|
| handled = RenderWidgetHostImpl::OnMessageReceived(msg))
|
| @@ -1877,6 +1880,11 @@ void RenderViewHostImpl::OnDomOperationResponse(
|
| content::Details<DomOperationNotificationDetails>(&details));
|
| }
|
|
|
| +void RenderViewHostImpl::OnUpdateDraggableRegions(
|
| + const std::vector<content::DraggableRegion>& regions) {
|
| + delegate_->UpdateDraggableRegions(regions);
|
| +}
|
| +
|
| void RenderViewHostImpl::SetSwappedOut(bool is_swapped_out) {
|
| is_swapped_out_ = is_swapped_out;
|
|
|
|
|