Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2317)

Unified Diff: chrome/browser/tab_contents/web_drag_source_win.h

Issue 3822007: Move BaseDropTarget and BaseDragSource from base to app/win. Remove the "Base... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/tab_contents/web_drag_source_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_drag_source_win.h
===================================================================
--- chrome/browser/tab_contents/web_drag_source_win.h (revision 62888)
+++ chrome/browser/tab_contents/web_drag_source_win.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_SOURCE_WIN_H_
#pragma once
-#include "base/base_drag_source.h"
+#include "app/win/drag_source.h"
#include "base/basictypes.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
@@ -16,21 +16,16 @@
class RenderViewHost;
class TabContents;
-///////////////////////////////////////////////////////////////////////////////
-//
-// WebDragSource
-//
-// An IDropSource implementation for a TabContents. 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,
+// An IDropSource implementation for a TabContents. 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 app::win::DragSource,
public NotificationObserver {
public:
// Create a new DragSource for a given HWND and TabContents.
WebDragSource(gfx::NativeWindow source_wnd, TabContents* tab_contents);
- virtual ~WebDragSource() { }
+ virtual ~WebDragSource();
// NotificationObserver implementation.
virtual void Observe(NotificationType type,
@@ -40,7 +35,7 @@
void set_effect(DWORD effect) { effect_ = effect; }
protected:
- // BaseDragSource
+ // app::win::DragSource
virtual void OnDragSourceCancel();
virtual void OnDragSourceDrop();
virtual void OnDragSourceMove();
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/tab_contents/web_drag_source_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698