widget/nsDragServiceProxy.h
author Chris H-C <chutten@mozilla.com>
Fri, 12 Aug 2016 14:51:48 -0400
changeset 314448 c97a5b2b086accd52fb5dd0b27eb6d5127fb6fc8
parent 268922 01e2ab74a7f8570b76b4d0f5305bf5d6a8bb27f1
child 318540 32b590e82c8ec5251e77451f91f1e3f8b9ccb92f
permissions -rw-r--r--
bug 1218576 - Aggregate child categorical histograms in the parent process. r=gfritzsche Rewrite the categorical histogram accumulation code to use the common path. This way it gets remote accumulation for cheap. MozReview-Commit-ID: 3q6gdSvBix

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef NSDRAGSERVICEPROXY_H
#define NSDRAGSERVICEPROXY_H

#include "nsBaseDragService.h"

class nsDragServiceProxy : public nsBaseDragService
{
public:
  nsDragServiceProxy();

  NS_DECL_ISUPPORTS_INHERITED

  // nsBaseDragService
  virtual nsresult InvokeDragSessionImpl(nsISupportsArray* anArrayTransferables,
                                         nsIScriptableRegion* aRegion,
                                         uint32_t aActionType) override;
private:
  virtual ~nsDragServiceProxy();
};

#endif // NSDRAGSERVICEPROXY_H