| Index: ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h
|
| ===================================================================
|
| --- ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h (revision 0)
|
| +++ ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h (revision 0)
|
| @@ -0,0 +1,53 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
|
| +#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "ui/aura/client/drag_drop_client.h"
|
| +#include "ui/views/views_export.h"
|
| +
|
| +namespace ui {
|
| +class DragSource;
|
| +}
|
| +
|
| +namespace views {
|
| +class DesktopDragDragSourceWin;
|
| +
|
| +class VIEWS_EXPORT DesktopDragDropClientWin
|
| + : public aura::client::DragDropClient {
|
| + public:
|
| + DesktopDragDropClientWin();
|
| + virtual ~DesktopDragDropClientWin();
|
| +
|
| + // Overridden from aura::client::DragDropClient:
|
| + virtual int StartDragAndDrop(
|
| + const ui::OSExchangeData& data,
|
| + aura::RootWindow* root_window,
|
| + aura::Window* source_window,
|
| + const gfx::Point& root_location,
|
| + int operation,
|
| + ui::DragDropTypes::DragEventSource source) OVERRIDE;
|
| + virtual void DragUpdate(aura::Window* target,
|
| + const ui::LocatedEvent& event) OVERRIDE;
|
| + virtual void Drop(aura::Window* target,
|
| + const ui::LocatedEvent& event) OVERRIDE;
|
| + virtual void DragCancel() OVERRIDE;
|
| + virtual bool IsDragDropInProgress() OVERRIDE;
|
| +
|
| + private:
|
| + bool drag_drop_in_progress_;
|
| +
|
| + int drag_operation_;
|
| +
|
| + scoped_refptr<ui::DragSource> drag_source_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin);
|
| +};
|
| +
|
| +} // namespace views
|
| +
|
| +#endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
|
|
|
| Property changes on: ui\views\widget\desktop_aura\desktop_drag_drop_client_win.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|