summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_drag_source.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 00:59:16 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 00:59:16 +0000
commitf3ec774a2c177d3c6845553d3bf9735a7b8a5907 (patch)
treeed09ccf69300383bd4b2e8ac7c8b9d1bdeead07b /chrome/browser/web_drag_source.h
parentbb515eda39129537a089a062c3db3152e63f24d9 (diff)
downloadchromium_src-f3ec774a2c177d3c6845553d3bf9735a7b8a5907.zip
chromium_src-f3ec774a2c177d3c6845553d3bf9735a7b8a5907.tar.gz
chromium_src-f3ec774a2c177d3c6845553d3bf9735a7b8a5907.tar.bz2
Move a bunch of TabContents related files into a tab_contents subdir
Review URL: http://codereview.chromium.org/18250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8058 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_drag_source.h')
-rw-r--r--chrome/browser/web_drag_source.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/chrome/browser/web_drag_source.h b/chrome/browser/web_drag_source.h
deleted file mode 100644
index f8aa628..0000000
--- a/chrome/browser/web_drag_source.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2006-2008 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 CHROME_BROWSER_WEB_DRAG_SOURCE_H__
-#define CHROME_BROWSER_WEB_DRAG_SOURCE_H__
-
-#include "base/base_drag_source.h"
-#include "base/basictypes.h"
-
-class RenderViewHost;
-
-///////////////////////////////////////////////////////////////////////////////
-//
-// WebDragSource
-//
-// An IDropSource implementation for a WebContents. Handles notifications sent
-// by an active drag-drop operation as the user mouses over other drop targets
-// on their system. This object tells Windows whether or not the drag should
-// continue, and supplies the appropriate cursors.
-//
-class WebDragSource : public BaseDragSource {
- public:
- // Create a new DragSource for a given HWND and RenderViewHost.
- WebDragSource(HWND source_hwnd, RenderViewHost* render_view_host);
- virtual ~WebDragSource() { }
-
- protected:
- // BaseDragSource
- virtual void OnDragSourceDrop();
- virtual void OnDragSourceMove();
-
- private:
- // Cannot construct thusly.
- WebDragSource();
-
- // Keep a reference to the HWND so we can translate the cursor position.
- HWND source_hwnd_;
-
- // We use this as a channel to the renderer to tell it about various drag
- // drop events that it needs to know about (such as when a drag operation it
- // initiated terminates).
- RenderViewHost* render_view_host_;
-
- DISALLOW_EVIL_CONSTRUCTORS(WebDragSource);
-};
-
-#endif // #ifndef CHROME_BROWSER_WEB_DRAG_SOURCE_H__
-